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

Revision history [back]

click to hide/show revision 1
initial version

I believe you need to first add

rosbuild_add_boost_directories()

And then link against the library you want to use with

rosbuild_link_boost(target lib1 lib2 lib3 ...)

You were probably able to use shared pointers because the boost lib that includes those is header only and there's no need to link with anything.