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

PCL and ROS Hydro Symbol Lookup Error

asked 2014-03-25 07:03:18 -0500

atp gravatar image

updated 2022-03-20 10:18:25 -0500

lucasw gravatar image

I have a ROS package that depends on PCL. The package compiles without problems. However, when running the code, the following error appears:

symbol lookup error: /home/andreas/baxter_ws/devel/lib/libaffordances_lib.so: undefined symbol: _ZN3pcl6search6KdTreeINS_8PointXYZEEC1Eb

I assume that this is related to the KDTree class and wrong linking(?). The CMakeLists.txt and package.xml contain what is described here, http://wiki.ros.org/hydro/Migration#PCL , at the end of the section.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-03-25 21:25:34 -0500

Wolf gravatar image

Did you check 'sudo apt-get install -f" and clean and rebuild your workspace like http://answers.ros.org/question/121266/undefined-symbol/#121291

edit flag offensive delete link more
1

answered 2014-03-26 06:03:45 -0500

atp gravatar image

updated 2014-03-26 06:03:55 -0500

The rebuilding solved it. Thanks!

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-03-25 07:03:18 -0500

Seen: 811 times

Last updated: Apr 03 '14