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

PCL undefined reference to boost

asked 2011-11-28 17:16:30 -0600

WW gravatar image

Hi guys, I'm currently using Ubuntu 11.04 and install ROS via the source code method. I'm new and tried to play around with the erratic_robot example. When trying to do a rosmake, I came across a perception_pcl problem when compiling, the pcl folder in particular. Heres a snippet of the build_output.log:

/home/walter/ros/perception_pcl/pcl/build/pcl/build/io: ../libpcl_io.so.1.1.1: undefined reference to boost::system::system_category()' ../libpcl_io.so.1.1.1: undefined reference toboost::filesystem3::detail::status(boost::filesystem3::path const&, boost::system::error_code)' ../libpcl_io.so.1.1.1: undefined reference to boost::system::generic_category()' collect2: ld returned 1 exit status make[3]: *** [io/tools/convert_pcd_ascii_binary] Error 1 make[3]: Leaving directory/home/walter/ros/perception_pcl/pcl/build/pcl/build' make[2]: [io/tools/CMakeFiles/convert_pcd_ascii_binary.dir/all] Error 2 make[2]: Leaving directory /home/walter/ros/perception_pcl/pcl/build/pcl/build' make[1]: *** [all] Error 2 make[1]: Leaving directory/home/walter/ros/perception_pcl/pcl/build/pcl/build' make: * [installed] Error 2

Any ideas? Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2011-11-28 20:36:40 -0600

karthik gravatar image

Hi, Pls check the version of the boost library in your system. It has to be >= 1.46.1.

Hope this helps, Karthik

edit flag offensive delete link more

Comments

Thanks for the response. ROS electric is set to use boost 1.42 (part of rosdep.yaml). I've installed boost 1.48 manually, however I don't know how to set ROS to use 1.48. It seems I should modify the rosdep.yaml file however I can't figure out how to do it correctly in the proper format. Thanks, WW
WW gravatar image WW  ( 2011-11-29 17:13:10 -0600 )edit

You just have to compile everything from source after upgrading boost.

tfoote gravatar image tfoote  ( 2012-04-01 09:57:53 -0600 )edit

Question Tools

Stats

Asked: 2011-11-28 17:16:30 -0600

Seen: 1,202 times

Last updated: Nov 28 '11