ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I add the same problem and I solved like this:
FIND_LIBRARY(EXT_LIBRARY extName library_full_path)
target_link_libraries(
my_node
${catkin_LIBRARIES} ${EXT_LIBRARY }
)
In my case I needed to add the library for a DepthSense camera:
FIND_LIBRARY(DEPTHSENSE_LIBRARY DepthSense /opt/softkinetic/DepthSenseSDK/lib/)
target_link_libraries(
depthsense_camera_node
${catkin_LIBRARIES} ${DEPTHSENSE_LIBRARY}
)