ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

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.