Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Gazebo: undefined reference to `clock_gettime'

Linking CXX executable gazebo-non-ros undefined reference to clock_gettime' collect2: ld returned 1 exit status make[4]: *** [server/gazebo-non-ros] Error 1 make[4]: Leaving directory/home/klapfer/ros/stacks/simulator_gazebo/gazebo/build/gazebo/build' make[3]: * [server/CMakeFiles/gazebo-exec.dir/all] Error 2 make[3]: Leaving directory /home/klapfer/ros/stacks/simulator_gazebo/gazebo/build/gazebo/build' make[2]: *** [all] Error 2 make[2]: Leaving directory/home/klapfer/ros/stacks/simulator_gazebo/gazebo/build/gazebo/build' make[1]: * [installed] Error 2 make[1]: Leaving directory `/home/klapfer/ros/stacks/simulator_gazebo/gazebo' CMake Error at CMakeLists.txt:32 (message): Build of Gazebo failed

I just changed computer this morning and when trying to compile the gazebo_simulator I get this error. It is computer depended, but I have no clue where the error comes from.

I hope I can find some help here. Thank you all in advance.