- Dołączył
- Czerwiec 15, 2009
- Posty
- 98
- Liczba reakcji
- 11
witam, z dziedziny kompilacji jestem niezapoznany nawet z podstawami, wi?c je?li zrobi? gdzie? b??d, wybaczcie mi...
Z tego co wiem, ?eby z kompilowa? silnik trzeba source, pobra?em te z otlandu (tfs 0.3.6pl1) i wchodz? w folder dev-cpp, otwieram plik "TheForgottenServer.dev" i Naciskam "Uruchom -> Kompiluj" i oczywi?cie jest b??d..
Log kompilacji: (27 b??d?w)
log:
I pliku .exe nigdzie nie ma (podejrzewam ?e nie zrobi?o xd)
W czym jest problem? Co? ?le zrobi?em? Czego? nie uwzgl?dni?em? Prosz? o pomoc
Z tego co wiem, ?eby z kompilowa? silnik trzeba source, pobra?em te z otlandu (tfs 0.3.6pl1) i wchodz? w folder dev-cpp, otwieram plik "TheForgottenServer.dev" i Naciskam "Uruchom -> Kompiluj" i oczywi?cie jest b??d..
Log kompilacji: (27 b??d?w)
log:
Kod:
Kompilator: Default compiler
Building Makefile: "C:\Documents and Settings\Neil\Pulpit\TheForgottenServer-Source\dev-cpp\Makefile.win"
Wykonywanie make...
make.exe -f "C:\Documents and Settings\Neil\Pulpit\TheForgottenServer-Source\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 ../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 ../scheduler.h:22,
from ../game.h:24,
from ../actions.cpp:30:
../tasks.h: At global scope:
../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
W czym jest problem? Co? ?le zrobi?em? Czego? nie uwzgl?dni?em? Prosz? o pomoc
