• 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 Compiling on Windows with Dev cpp

wesoly136

Member
Joined
Jul 30, 2009
Messages
562
Reaction score
8
Hi!
I returned to make a server again and my first problem is:
I have sources to TFS 0.3.6pl1 and tried to compile it with Dev Cpp. At first i had about 100+ errors, i solved most of them and now I have a few errors that I don't have idea how to solve.

The compiling errors:
fAwH4Zg.jpg


Can you help me with that?
 
EvulMastah helped me a lot and after a few new problems(which we solved) there is another one:

Code:
cannot find -lxml2
 ld returned 1 exit status 
 *** [TheForgottenServer.exe] Error 1

- - - Updated - - -

Okay, problem with compiling solved.

The solution of it was: 1. to find devpaks with the name which was in the error and 2:
EvulMastah said:
otsystem.h -> top:
Code:
#include <boost/version.hpp>
bottom:[/code]#if BOOST_VERSION < 104400
#define BOOST_DIR_ITER_FILENAME(iterator) (iterator)->path().filename()
#else
#define BOOST_DIR_ITER_FILENAME(iterator) (iterator)->path().filename().string()
#endif[/code]
luascript.cpp: std::string s = it->leaf(); replace with std::string s = BOOST_DIR_ITER_FILENAME(it);
 
Last edited:
Back
Top