Problem with boost library when building packages

asked 2018-01-10 16:08:52 -0500

nmatt95 gravatar image

Hi, am following this tutorial ( ) from the official documentation.

But, when i make the package (with rosbuild, not caskin), its fails with this error:

/usr/bin/ld: CMakeFiles/simple_navigation_goals.dir/src/simple_navigation_goals.cpp.o: undefined reference to simbol '_ZN5boost6system15system_categoryEv' /usr/lib/x86_64-linux-gnu/ error adding symbols: DSO missing from command line

Then, I added this two suggested lines in the CMakeList.txt, and the same error appears:

  • rosbuild_add_boost_directories()
  • rosbuild_link_boost(${PROJECT_NAME} thread)

How i can fix this? I have to add the reference to the boost library? How?

Please keep in mind that i am not using catkin. My OS is Ubuntu 16, and i am working with ROS Kinectic.


edit retag flag offensive close merge delete