• 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 The easiest way to compile The Forgotten Server

anyone can help me to compile TFS on windows for unix/Debian please?
 
i know this might sound stupid (im newb) but after compiling i dont have any .exe fule just 78 files with .o format and TheForgottenServer_private.res

what should i do with it?
 
for me its missing alot of other files. :(

Working now :D But it says i have to Update.:p ´cant load config.lua ;/
 
Last edited by a moderator:
thanks rep++ :p

EDIT: Why now the loot of monsters don't appear on my screen?
 
Last edited:
But i wanted to update a 8.4 server to 8.5 and i managed to compile what u just told me bow how do i do it for my 8.4 server to be a 8.5 server?
 
compile the 0.3.5pl1 source code and update your data folder
(sorry for late reply)
 
What wrong ? :(
I though it was that -lboost_regex error so I followed the part to fix that but I'm still getting the same errors

Code:
  [Linker error] undefined reference to `boost::system::get_generic_category()'
  [Linker error] undefined reference to `boost::filesystem::detail::status_api(std::string const&, boost::system::error_code&)' 
  [Linker error] undefined reference to `boost::filesystem::detail::not_found_error()' 
  more undefined references to `boost::system::get_generic_category()' follow 
  [Linker error] undefined reference to `boost::this_thread::interruptible_wait(void*, boost::detail::timeout)' 
  [Linker error] undefined reference to `boost::thread::start_thread()' 
  more undefined references to `boost::system::get_generic_category()' follow 
  [Linker error] undefined reference to `boost::filesystem::detail::status_api(std::string const&, boost::system::error_code&)' 
  more undefined references to `boost::system::get_generic_category()' follow

This is what's in my parameters

Code:
-O1
-lboost_system
-lgmp
-llua5.1
-lmysql
-lsqlite3
-lwsock32
-lxml2
-lmysql
-lws2_32
-s
-lboost_filesystem
-lboost_thread
"../../The Forgotten Dev-Cpp/lib/libboost_regex.a"
 
Erro Help Me !

at the end of this compilation giving this error:

obj/account.o:account.cpp: (.text+0x175): undefined reference to `__Unwind_Resume'
obj/account.o:account.cpp: (.text+0x1c5): undefined reference to `__Unwind_Resume'
obj/account.o:account.cpp: (.text+0x2e7): undefined reference to `__Unwind_Resume'
obj/account.o:account.cpp: (.text+0x337): undefined reference to `__Unwind_Resume'
obj/account.o:account.cpp: (.text+0x451): undefined reference to `__Unwind_Resume'
obj/account.o:account.cpp: (.text+0x4a1): more undefined references to `__Unwind_Resume' follow
obj/account.o:account.cpp: (.eh_frame+0x12): undefined reference to `___gxx_personality_v0'

HELP ME PLEASE !
 
This appear at the end of mine compilation :

Compilador: Default compiler
Building Makefile: "C:\Users\Diego\Desktop\0.3.6pl1\dev-cpp\Makefile.win"
Executando make...
make.exe -f "C:\Users\Diego\Desktop\0.3.6pl1\dev-cpp\Makefile.win" all
g++.exe -c ../actions.cpp -o obj//actions.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -fexpensive-optimizations -O1

In file included from ../baseevents.h:20,
from ../actions.h:20,
from ../actions.cpp:20:
../otsystem.h:33:26: boost/asio.hpp: No such file or directory
../otsystem.h:35:29: boost/foreach.hpp: No such file or directory

In file included from ../luascript.h:29,
from ../baseevents.h:22,
from ../actions.h:20,
from ../actions.cpp:20:
../database.h: In constructor `DBQuery::DBQuery()':
../database.h:255: error: 'class boost::recursive_mutex' has no member named 'lock'

../database.h: In destructor `virtual DBQuery::~DBQuery()':
../database.h:256: error: 'class boost::recursive_mutex' has no member named 'unlock'

In file included from ../baseevents.h:22,
from ../actions.h:20,
from ../actions.cpp:20:
../luascript.h: At global scope:
../luascript.h:87: error: expected `,' or `...' before "struct"

../luascript.h:91: error: expected `,' or `...' before "struct"
../luascript.h:140: error: expected `,' or `...' before "struct"

../luascript.h: In member function `void ScriptEnviroment::setScriptId(int32_t, LuaScriptInterface*)':
../luascript.h:88: error: expected primary-expression before "struct"
../luascript.h:88: error: expected `;' before "struct"

../luascript.h: At global scope:
../luascript.h:641: error: `luaL_Reg' does not name a type
../luascript.h:650: error: `luaL_Reg' does not name a type
../luascript.h:658: error: `luaL_Reg' does not name a type
../luascript.h:672: error: `luaL_Reg' does not name a type

In file included from ../protocol.h:21,
from ../protocolgame.h:24,
from ../player.h:34,
from ../actions.cpp:23:
../rsa.h:22:17: gmp.h: No such file or directory
In file included from ../protocol.h:21,
from ../protocolgame.h:24,
from ../player.h:34,
from ../actions.cpp:23:

../rsa.h:43: error: `mpz_t' does not name a type

In file included from ../scheduler.h:22,
from ../game.h:24,
from ../actions.cpp:30:
../tasks.h:46: error: using-declaration for non-member at class scope

../tasks.h:46: error: expected `;' before "m_expiration"
../tasks.h: In constructor `Task::Task(const boost::function<void ()(), std::allocator<void> >&)':
../tasks.h:28: error: class `Task' does not have any field named `m_expiration'
../tasks.h:29: error: `boost::date_time' has not been declared
../tasks.h:29: error: `not_a_date_time' undeclared (first use this function)
../tasks.h:29: error: (Each undeclared identifier is reported only once for each function it appears in.)

../tasks.h: In constructor `Task::Task(uint32_t, const boost::function<void ()(), std::allocator<void> >&)':
../tasks.h:30: error: class `Task' does not have any field named `m_expiration'
../tasks.h:31: error: `get_system_time' is not a member of `boost'
../tasks.h:31: error: `boost::posix_time' has not been declared
../tasks.h:31: error: `milliseconds' undeclared (first use this function)

../tasks.h: In member function `void Task::unsetExpiration()':

../tasks.h:36: error: `m_expiration' undeclared (first use this function)
../tasks.h:36: error: `boost::date_time' has not been declared
../tasks.h:36: error: `not_a_date_time' undeclared (first use this function)
../tasks.h: In member function `bool Task::hasExpired() const':
../tasks.h:39: error: `m_expiration' undeclared (first use this function)
../tasks.h:39: error: `boost::date_time' has not been declared
../tasks.h:39: error: `not_a_date_time' undeclared (first use this function)
../tasks.h:42: error: `get_system_time' is not a member of `boost'
../tasks.h: At global scope:
../tasks.h:88: error: using-declaration for non-member at class scope
../tasks.h:88: error: expected `;' before "m_taskSignal"

In file included from ../game.h:24,
from ../actions.cpp:30:
../scheduler.h:33: error: using-declaration for non-member at class scope

../scheduler.h:33: error: expected `;' before "getCycle"

../scheduler.h:34: error: expected `;' before "bool"

../scheduler.h: In member function `bool SchedulerTask::eek:perator<(const SchedulerTask&) const':
../scheduler.h:34: error: `getCycle' undeclared (first use this function)
../scheduler.h:34: error: 'const class SchedulerTask' has no member named 'getCycle'

../scheduler.h: At global scope:
../scheduler.h:91: error: using-declaration for non-member at class scope
../scheduler.h:91: error: expected `;' before "m_eventSignal"

In file included from ../actions.cpp:36:
../house.h:23:39: boost/tr1/unordered_set.hpp: No such file or directory
In file included from ../actions.cpp:36:
../house.h:76: error: `std::tr1' has not been declared
../house.h:76: error: ISO C++ forbids declaration of `unordered_set' with no type
../house.h:76: error: expected `;' before '<' token

make.exe: *** [obj//actions.o] Error 1


My windows is seven 64x
So..what's solutions? >.<
 
Back
Top