Robotics StackExchange | Archived questions

Problem with boost library when building packages

Hi, am following this tutorial (http://wiki.ros.org/navigation/Tutorials/SendingSimpleGoals) from the official documentation.

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

/usr/bin/ld: CMakeFiles/simplenavigationgoals.dir/src/simplenavigationgoals.cpp.o: undefined reference to simbol 'ZN5boost6system15systemcategoryEv' /usr/lib/x8664-linux-gnu/libboostsystem.so: error adding symbols: DSO missing from command line

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

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.

Thanks.

Asked by nmatt95 on 2018-01-10 17:08:52 UTC

Comments

Answers