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

Error compiling on Debian [ Tags Rev 1038 ]

kofel

Quietly
Joined
Aug 19, 2007
Messages
74
Reaction score
1
Code:
tasks.h:75: error: 'condition_variable' in namespace 'boost' does not name a type
scheduler.h:42: error: 'system_time' in namespace 'boost' does not name a type
scheduler.h:56: error: 'system_time' in namespace 'boost' does not name a type
scheduler.h: In member function 'bool SchedulerTask::operator<(const SchedulerTask&) const':
scheduler.h:46: error: 'getCycle' was not declared in this scope
scheduler.h:46: error: 'const class SchedulerTask' has no member named 'getCycle'
scheduler.h: In constructor 'SchedulerTask::SchedulerTask(uint32_t, boost::function<void ()(), std::allocator<void> >)':
scheduler.h:52: error: 'm_cycle' was not declared in this scope
scheduler.h:52: error: 'get_system_time' is not a member of 'boost'
scheduler.h:52: error: 'boost::posix_time' has not been declared
scheduler.h: At global scope:
scheduler.h:101: error: 'condition_variable' in namespace 'boost' does not name a type

I think some libaries in missing, Talaturen can you update a README file with new libaries?

Yours,
Kofel
 
Which OS? It worked fine for me using Debian Lenny, and for Windows use The Forgotten Dev-Cpp.
 
Show me the output of those commands:
dpkg -l | grep libboost-thread
apt-cache search libboost-thread
 
dpkg -l | grep libboost-thread
Code:
ii  libboost-thread-dev               1.33.1-10                       portable C                  ++ multi-threading
ii  libboost-thread1.33.1             1.33.1-10                       portable C                  ++ multi-threading
apt-cache search libboost-thread
Code:
libboost-thread-dev - portable C++ multi-threading
libboost-thread1.33.1 - portable C++ multi-threading
 
Looks like Etch doesn't have boost 1.35.0 which is required now, can't find any backport on backports.org either. You can choose to update to Debian Lenny (testing, 5.0) or download boost from boost.org and compile libboost_thread (you might have to upload all new includes too, put them in /usr/include/boost/).
 
Back
Top