Re: Compiling in ROS-Indigo with PCL-1.7.2: Undefined reference to...
Posted by
matlabbe on
URL: http://official-rtab-map-forum.206.s1.nabble.com/Compiling-in-ROS-Indigo-with-PCL-1-7-2-Undefined-reference-to-tp386p397.html
I tried your setup and I reproduced the "pcl::search::KdTree" error. The easier solution I've found is to uninstall libpcl-1.7-all and all ros packages depending on it like ros-indigo-perception-pcl, ros-indigo-pcl-ros, ros-indigo-pcl-conversions.
Now get
pcl_conversions and
perception_pcl, and put them in your catkin workspace to build with catkin_make. They should build while linking to PCL 1.7.2 installed in your /usr/local. After that, building RTAB-Map is done as usual.
cheers