ros / geometry2

A set of ROS packages for keeping track of coordinate transforms.
189 stars 273 forks source link

add missing link to librt #547

Closed lianghongzhuo closed 1 year ago

lianghongzhuo commented 1 year ago

compile tf2_ros get link error

undefined reference to 'clock_gettime'

solution is add rt in the link reference: https://stackoverflow.com/questions/2418157/c-error-undefined-reference-to-clock-gettime-and-clock-settime

lianghongzhuo commented 1 year ago

strange, this error not exist anymore, so close this pr.