Open pugna111 opened 4 years ago
编译整个项目的时候出现: [ 86%] Built target ORB_SLAM2 [ 93%] Built target bin_vocabulary [ 96%] Linking CXX executable ../bin/rgbd_tum ../lib/libORB_SLAM2.so: undefined reference to pcl::SupervoxelClustering<pcl::PointXYZRGBA>::SupervoxelClustering(float, float)' ../lib/libORB_SLAM2.so: undefined reference topcl::SupervoxelClustering::setUseSingleCameraTransform(bool)' collect2: error: ld returned 1 exit status CMakeFiles/rgbd_tum.dir/build.make:341: recipe for target '../bin/rgbd_tum' failed make[2]: [../bin/rgbd_tum] Error 1 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/rgbd_tum.dir/all' failed make[1]: [CMakeFiles/rgbd_tum.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 不知该怎么办。。
pcl::SupervoxelClustering<pcl::PointXYZRGBA>::SupervoxelClustering(float, float)' ../lib/libORB_SLAM2.so: undefined reference to
编译整个项目的时候出现: [ 86%] Built target ORB_SLAM2 [ 93%] Built target bin_vocabulary [ 96%] Linking CXX executable ../bin/rgbd_tum ../lib/libORB_SLAM2.so: undefined reference to::setUseSingleCameraTransform(bool)'
collect2: error: ld returned 1 exit status
CMakeFiles/rgbd_tum.dir/build.make:341: recipe for target '../bin/rgbd_tum' failed
make[2]: [../bin/rgbd_tum] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/rgbd_tum.dir/all' failed
make[1]: [CMakeFiles/rgbd_tum.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
不知该怎么办。。
pcl::SupervoxelClustering<pcl::PointXYZRGBA>::SupervoxelClustering(float, float)' ../lib/libORB_SLAM2.so: undefined reference to
pcl::SupervoxelClustering