• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Compiling]MSVC - Compiling TFS under Windows - EASY WAY!

and now this is sticky ;)
 
MSVC is useless to some people with large maps lol I've been trying to figure out how to compile it under 64 bit but every time I remove one error message, another one appears. I updated the boost libs and that fixed the first issues, but now I get an error saying it can't find the libboost_regex libraries.
 
@Maverick,
I'm searching some ways to do it udner x64 , when its ready
i'll update post :)
@CyberM,
Thanks for sticky ' *--*
@MartyX,
I'm using the same DLLS as DEV ,
only changed Libs.
 
@Maverick,
I'm searching some ways to do it udner x64 , when its ready
i'll update post :)
@CyberM,
Thanks for sticky ' *--*
@MartyX,
I'm using the same DLLS as DEV ,
only changed Libs.

Cool :) Thanks mate.
 
Code:
1>LINK : fatal error LNK1181: cannot open input file 'lua5.1.lib'
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
;oo?

://
 
@Elf,
Sorry , I didn't understand what @MatyX means ...
@YugiNao,
Try to copy and paste lua5.1.lib again and rename as lua51.lib
 
Yes , and its much better as I see... Its compile engine with arround 3.500KB
and Stian with 6.800KB , I see other points , when compilated with it
see that server loads more fast
jFZyF.png


you were doing something wrong, missing -O2 maybe?
 
sure , but , whats -O2 ? what its do ?
explain me please ' :p
and: In MSVC project , don't come with parameter -O2
thats why i don't use it :p
 
VS 2010 Ultimate, you have to do the hard work and find it yourself.

tpblogo_sm_ny.gif
Code:
[CENTER]5494777[/CENTER]

Code:
[CENTER][COLOR="red"]WARNING[/COLOR]
[SIZE="1"]OTland does not endorse any kind of piracy, any post with a direct link to a pirated software will be removed.
Always be careful with what you search and download, some will/may have viruses, download with commonsense.[/SIZE][/CENTER]
Those who know `How 2 Internet` will find it fast, those who don't may have problems. Also do not PM me for links.

Once I'm done Installing I will try to compile following this tutorial and a few I found on the net, if successful I'll update this post so OP can add it.

@Vittyn
Keep searching for any other solutions. :D

Ummh, why are you linking toward Microsoft Visual Studio 2010 Ultimate x86? x86 is 32bit thus can not be used to compile 64bit. I believe this is your problem.
 
@Elf,
Sorry , I didn't understand what @MatyX means ...
@YugiNao,
Try to copy and paste lua5.1.lib again and rename as lua51.lib

Code:
fatal error LNK1104: cannot open file 'libboost_regex-vc100-mt-s-1_44.lib'

omg one error disapeared another one emerged T_T
 
nvm fixed it, used another server version and this error doesnt occur anymore T_T imjust saying for anyone who might have same problem ^_^
 
Ummh, why are you linking toward Microsoft Visual Studio 2010 Ultimate x86? x86 is 32bit thus can not be used to compile 64bit. I believe this is your problem.

I checked the difference between express and the others, yes that compiler is for x86, but if your computer is an x64 architecture you download some x64 Runtime and it will install and enable the x64 Compiler then you go to the project settings and have it compile to x64 target, I think that the problem is that I have x86 compiled Libs when I need x64 ones to compile successfully, then again I can be wrong, that's why I need someone that can assist me with compiling for x64 on MSVS.
 
can anyone tell me how to add additional sources like _war_enable or something like that? ^__^ with this program ;o kinda confused lol
 
I'll update tutorial now , with how to add , edit or remove any parameter for compilation!
 
sure , but , whats -O2 ? what its do ?
explain me please ' :p
and: In MSVC project , don't come with parameter -O2
thats why i don't use it :p
forget about it, it's a g++ parameter which can't be used with VC10
 
Can someone here compile an 8.6 distro for me.. just a basic one.. maybe we can trade off? for something...

I have been looking for a long time now!

none of the distros work for me... is it because i use windows xp? ><
 
Fle , try to follow tihs tutorial , and you will have a full distro working on your machine :)
 
downloading microsoft visual studio 2010 ultimate edition, hope i can make it 64x then :)

p.s i run windows 7 ultimate 64x
 
Last edited:
well i only get 1 error.. might be great if someone can help me out with this :)

Code:
1>------ Build started: Project: The Forgotten Server, Configuration: Release x64 ------
1>Build started 19-4-2011 17:46:39.
1>InitializeBuildStatus:
1>  Creating "x64\Release\The Forgotten Server.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1>  otpch.cpp
1>  actions.cpp
1>  admin.cpp
1>  allocator.cpp
1>  baseevents.cpp
1>  beds.cpp
1>  chat.cpp
1>  combat.cpp
1>  condition.cpp
1>  configmanager.cpp
1>  connection.cpp
1>  container.cpp
1>  creature.cpp
1>  creatureevent.cpp
1>  cylinder.cpp
1>  database.cpp
1>  databasemanager.cpp
1>  databasemysql.cpp
1>  databasesqlite.cpp
1>  depot.cpp
1>  dispatcher.cpp
1>  exception.cpp
1>  fileloader.cpp
1>  game.cpp
1>  gameservers.cpp
1>  globalevent.cpp
1>  group.cpp
1>  house.cpp
1>  housetile.cpp
1>  ioban.cpp
1>  ioguild.cpp
1>  iologindata.cpp
1>  iomap.cpp
1>  iomapserialize.cpp
1>  item.cpp
1>  itemattributes.cpp
1>  items.cpp
1>  luascript.cpp
1>  mailbox.cpp
1>  manager.cpp
1>  map.cpp
1>  monster.cpp
1>  monsters.cpp
1>  mounts.cpp
1>  movement.cpp
1>  networkmessage.cpp
1>  npc.cpp
1>  otserv.cpp
1>  outfit.cpp
1>  outputmessage.cpp
1>  party.cpp
1>  player.cpp
1>  position.cpp
1>  protocol.cpp
1>  protocolgame.cpp
1>  protocolhttp.cpp
1>  protocollogin.cpp
1>  protocolold.cpp
1>  quests.cpp
1>  raids.cpp
1>  scheduler.cpp
1>  scriptmanager.cpp
1>  server.cpp
1>  spawn.cpp
1>  spells.cpp
1>  status.cpp
1>  talkaction.cpp
1>  teleport.cpp
1>  textlogger.cpp
1>  thing.cpp
1>  tile.cpp
1>  tools.cpp
1>  trashholder.cpp
1>  vocation.cpp
1>  waitlist.cpp
1>  weapons.cpp
1>libboost_filesystem-vc100-mt-s-1_44.lib(v2_operations.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
1>
1>Build FAILED.
1>
1>Time Elapsed 00:01:59.28
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
 
Back
Top