-
Notifications
You must be signed in to change notification settings - Fork 131
Description
[ 98%] Linking CXX executable /home/ysz/tare/devel/lib/tare_planner/tare_planner_node
/home/ysz/tare/devel/lib/libplanning_env.a(planning_env.cpp.o):(.data.rel.ro._ZTVN3pcl6search6SearchINS_9PointXYZIEEE[_ZTVN3pcl6search6SearchINS_9PointXYZIEEE]+0x20): undefined reference to pcl::search::Search<pcl::PointXYZI>::getName() const' /home/ysz/tare/devel/lib/libplanning_env.a(planning_env.cpp.o):(.data.rel.ro._ZTVN3pcl6search6KdTreeINS_9PointXYZIENS_11KdTreeFLANNIS2_N5flann9L2_SimpleIfEEEEEE[_ZTVN3pcl6search6KdTreeINS_9PointXYZIENS_11KdTreeFLANNIS2_N5flann9L2_SimpleIfEEEEEE]+0x20): undefined reference to pcl::search::Search<pcl::PointXYZI>::getName() const'
collect2: error: ld returned 1 exit status
tare_planner/src/tare_planner/CMakeFiles/tare_planner_node.dir/build.make:713: recipe for target '/home/ysz/tare/devel/lib/tare_planner/tare_planner_node' failed
make[2]: *** [/home/ysz/tare/devel/lib/tare_planner/tare_planner_node] Error 1
CMakeFiles/Makefile2:4273: recipe for target 'tare_planner/src/tare_planner/CMakeFiles/tare_planner_node.dir/all' failed
make[1]: *** [tare_planner/src/tare_planner/CMakeFiles/tare_planner_node.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed
The above error occurred when I compiled TARE in vmware. Strangely, this did not happen on another computer (and vmware), where the PCL library is the default version 1.8.