ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Depending on your setup, clock_gettime
may be in libc, or it may be in librt.
Try adding -lrt
as a link flag and see if that clears things up.