Whenever i try to compile TFS i always get a similar error, that looks like this:
I'm a total newb at compiling, so if anyone could please help me, I would be very thankful
And by the way, I did not change or edit any files in my rev and the version i use is 4382 (the latest one)
Compiler: Default compiler
Building Makefile: "C:\Users\Piotrek\Desktop\trunk.r4382\dev-cpp\Makefile.win"
Executing make clean
rm -f obj//actions.o obj//admin.o obj//allocator.o obj//baseevents.o obj//beds.o obj//chat.o obj//combat.o obj//condition.o obj//configmanager.o obj//connection.o obj//container.o obj//creature.o obj//creatureevent.o obj//cylinder.o obj//database.o obj//databasemanager.o obj//databasemysql.o obj//databasesqlite.o obj//depot.o obj//dispatcher.o obj//exception.o obj//fileloader.o obj//game.o obj//gameservers.o obj//globalevent.o obj//group.o obj//house.o obj//housetile.o obj//ioban.o obj//ioguild.o obj//iologindata.o obj//iomap.o obj//iomapserialize.o obj//item.o obj//itemattributes.o obj//items.o obj//luascript.o obj//mailbox.o obj//manager.o obj//map.o obj//monster.o obj//monsters.o obj//movement.o obj//networkmessage.o obj//npc.o obj//otserv.o obj//outfit.o obj//outputmessage.o obj//party.o obj//player.o obj//position.o obj//protocol.o obj//protocolgame.o obj//protocolhttp.o obj//protocollogin.o obj//protocolold.o obj//quests.o obj//raids.o obj//scheduler.o obj//scriptmanager.o obj//server.o obj//spawn.o obj//spells.o obj//status.o obj//talkaction.o obj//teleport.o obj//textlogger.o obj//thing.o obj//tile.o obj//tools.o obj//trashholder.o obj//vocation.o obj//waitlist.o obj//weapons.o obj//mounts.o obj//TheForgottenServer_private.res TheForgottenServer.exe
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__ -O2 -fexpensive-optimizations -O1
In file included from ../luascript.h:39,
from ../baseevents.h:22,
from ../actions.h:20,
from ../actions.cpp:20:
../database.h: In constructor `DBQuery:BQuery()':
../database.h:248: error: 'class boost::recursive_mutex' has no member named 'lock'
../database.h: In destructor `virtual DBQuery::~DBQuery()':
../database.h:249: error: 'class boost::recursive_mutex' has no member named 'unlock'
In file included from ../scheduler.h:22,
from ../game.h:25,
from ../actions.cpp:30:
../dispatcher.h: At global scope:
../dispatcher.h:46: error: using-declaration for non-member at class scope
../dispatcher.h:46: error: expected `;' before "m_expiration"
../dispatcher.h: In constructor `Task::Task(const boost::function<void ()(), std::allocator<void> >&)':
../dispatcher.h:28: error: class `Task' does not have any field named `m_expiration'
../dispatcher.h: In constructor `Task::Task(uint32_t, const boost::function<void ()(), std::allocator<void> >&)':
../dispatcher.h:30: error: class `Task' does not have any field named `m_expiration'
../dispatcher.h:31: error: `get_system_time' is not a member of `boost'
../dispatcher.h: In member function `void Task::unsetExpiration()':
../dispatcher.h:36: error: `m_expiration' undeclared (first use this function)
../dispatcher.h:36: error: (Each undeclared identifier is reported only once for each function it appears in.)
../dispatcher.h: In member function `bool Task::hasExpired() const':
../dispatcher.h:39: error: `m_expiration' undeclared (first use this function)
../dispatcher.h:42: error: `get_system_time' is not a member of `boost'
../dispatcher.h: At global scope:
../dispatcher.h:88: error: using-declaration for non-member at class scope
../dispatcher.h:88: error: expected `;' before "m_taskSignal"
In file included from ../game.h:25,
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: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:90: error: using-declaration for non-member at class scope
../scheduler.h:90: error: expected `;' before "m_eventSignal"
In file included from ../actions.cpp:36:
../house.h:26:39: boost/tr1/unordered_set.hpp: No such file or directory
In file included from ../actions.cpp:36:
../house.h:80: error: `std::tr1' has not been declared
../house.h:80: error: ISO C++ forbids declaration of `unordered_set' with no type
../house.h:80: error: expected `;' before '<' token
../house.h:86: error: `PlayerList' does not name a type
make.exe: *** [obj//actions.o] Error 1
Execution terminated
I'm a total newb at compiling, so if anyone could please help me, I would be very thankful
And by the way, I did not change or edit any files in my rev and the version i use is 4382 (the latest one)
Last edited: