Jump to content
  • 0

Problem during compile



3 answers to this question

Recommended Posts

[  2%] Building CXX object dep/src/g3dlite/CMakeFiles/g3dlite.dir/AABox.cpp.o
In file included from /root/mangos/server/dep/include/g3dlite/G3D/Random.h:17:0,
                from /root/mangos/server/dep/include/g3dlite/G3D/Vector3.h:19,
                from /root/mangos/server/dep/include/g3dlite/G3D/AABox.h:19,
                from /root/mangos/server/dep/src/g3dlite/AABox.cpp:11:
/root/mangos/server/dep/include/g3dlite/G3D/GMutex.h: In member function ‘bool G3D::Spinlock::lock()’:
/root/mangos/server/dep/include/g3dlite/G3D/GMutex.h:51:25: error: ‘usleep’ was not declared in this scope
make[2]: *** [dep/src/g3dlite/CMakeFiles/g3dlite.dir/AABox.cpp.o] Error 1
make[1]: *** [dep/src/g3dlite/CMakeFiles/g3dlite.dir/all] Error 2
make: *** [all] Error 2

using just make instead of -j 16

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use