• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Błąd przy kompilacji silnika

Cykotitam

Banned User
Joined
Mar 24, 2011
Messages
121
Reaction score
7
:)
Nie moge skompilować 0.3.4pl2 na Windows XP Pro x64
Używam Stian's Repack Dev-Cpp 0.2, 64bit i mam taki błąd przy tworzeniu sie exe
[Linker error] undefined reference to `_imp__xmlFree'
[Linker error] undefined reference to `_imp__xmlFree'
[Linker error] undefined reference to `_imp__xmlFree'
[Linker error] undefined reference to `_imp__xmlFree'
[Linker error] undefined reference to `_imp__xmlFree'
more undefined references to `_imp__xmlFree' follow
ld returned 1 exit status
*** [TheForgottenServer.exe] Error 1
 
I suggest using Visual Studio with TFS SDK released by Kornholijo to compile. Compiling with MinGW in Windows is currently not recommended (someone needs to update the libraries, especially the SQLite one).
 
I suggest using Visual Studio with TFS SDK released by Kornholijo to compile. Compiling with MinGW in Windows is currently not recommended (someone needs to update the libraries, especially the SQLite one).

So you're saying that compiling with MinGW isn't recommended because people are too lazy to get libraries together? :| Also, why would one care about SQLite if that's something that barely anyone uses for high-scale servers.
 
Dobra problem rozwiązany powiedział mi Cykotitan

w definitions.h zaraz z początku trzeba usunąć linijke:
#ifdef XML_GCC_FREE
i to: zaraz pod tym^
#else
#define xmlFreeOTSERV(s) xmlFree(s)
#endif
 
Last edited:
Back
Top