• 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 Help with TFS 0.3b3 rev39

Navok

New Member
Joined
Sep 5, 2009
Messages
5
Reaction score
0
I'm try to compiling a OT server but i dont have good results

I use Dev-C++ 4.9.9.2

This Linkers in Parameters
Code:
-O1
-lboost_system
-lgmp
-llua5.1
-lmysql
-lboost_regex
-lsqlite3
-lwsock32
-lmysql
-lxml2
-lws2_32
-s

This C++ compiler parameters
Code:
-D__USE_MYSQL__
-D__USE_SQLITE__
-D__ENABLE_SERVER_DIAGNOSTIC__
-D__CONSOLE__


And this Devpaks
Code:
binutils [v2.15.91]
boost [v1.46.0]
gcc-core [v3.4.2]
gcc-g++ [v3.4.2]
GMP [v4.3.1]
libiconv [v1.9.1]
libmysql [v5.0.5]
libxml2 [v2.6.23]
lua [v5.1.4]
GNU Maker [v3.80.0]
MinGW runtime [v3.7]
sqlite3 [v3.7.4]
Windows32 API [v3.2]
zlib [v1.2.3]


Well, when i try to compile the server i have the next error
Code:
  cannot find -llua5.1 
  ld returned 1 exit status 
 C:\...\Makefile.win [Build Error]  [TheForgottenServer-console.exe] Error 1

i fix this changing the parameter linker
Code:
-llua5.1 to -llua

but when i try again to compile the server i haver other error verry similar
Code:
  cannot find -lxml2 
  ld returned 1 exit status 
 C:\...\Makefile.win [Build Error]  [TheForgottenServer-console.exe] Error 1

i change the parameter linker
Code:
-lxml2 to ../Dev-Cpp/lib/libxml2.lib

But again other error
Code:
  [Linker error] undefined reference to `__strtod' 
  ld returned 1 exit status 
 C:\...\Makefile.win [Build Error]  [TheForgottenServer-console.exe] Error 1

This error i don't know how fix it :S

Any idea :D
 
Back
Top Bottom