• 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!

Need help COMPILING TFS PLEASE!

devi

New Member
Joined
Jun 17, 2010
Messages
8
Reaction score
0
I need help... I download Stian's Repack Dev-Cpp and source tfs 0.3.6pl1 and ... it does not work I did everything step by step! here's a compilation error ..

Code:
Kompilator: Default compiler
Building Makefile: "D:\0.3.6pl1\dev-cpp\Makefile.win"
Wykonywanie  make...
make.exe -f "D:\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__ -D__CONSOLE__   -fexpensive-optimizations -O1

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: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 ../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: 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: In member function `void Task::unsetExpiration()':

../tasks.h:36: error: `m_expiration' undeclared (first use this function)
../tasks.h:36: error: (Each undeclared identifier is reported only once for each function it appears in.)
../tasks.h: In member function `bool Task::hasExpired() const':
../tasks.h:39: error: `m_expiration' 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::operator<(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

Wykonanie zakończone

i add
Code:
-D__CONSOLE__

Sorry for my bad english ;/ :(
 
##PL##
Stian's Repack Dev-Cpp używałem na początku .. Nie działało
ściągnąłem Forgotten devcpp co mi dałeś linka ten sam błąd.
;/
Męcze sie z tym 2 dni pomożesz?
 
Ściągnąłem orginalne i właśnie na początku zmieniałem.. błąd patrzyłem poradniki nic nie dało więc pomyślałem że ja coś zwaliłem. Od nowa source ściągnąłem NIC nie zmieniałem (oprócz dodania -D__CONSOLE__ ) i błąd..
 
Tak. I jeszcze coś może lepiej będzie na gadu poGGadać bo to troche taki spam robi ;/
Jeśli możesz to napisz na gg 15512704
 
Back
Top