Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catkin_make error: no such file or directory & undefined reference #10

Open
YouShaoze opened this issue Dec 14, 2020 · 0 comments
Open

Comments

@YouShaoze
Copy link

fatal error: pcl_filters/GetFilteredPC.h: no such file or directory
indires_navigation/pcl_filters/CMakeFiles/pcl_filters_node.dir/build.make:62: recipe for target 'indires_navigation/pcl_filters/CMakeFiles/pcl_filters_node.dir/src/pcl_filters.cpp.o' failed
make[2]: *** [indires_navigation/pcl_filters/CMakeFiles/pcl_filters_node.dir/src/pcl_filters.cpp.o] Error 1
CMakeFiles/Makefile2:3574: recipe for target 'indires_navigation/pcl_filters/CMakeFiles/pcl_filters_node.dir/all' failed
make[1]: *** [indires_navigation/pcl_filters/CMakeFiles/pcl_filters_node.dir/all] Error 2
make[1]: *** 正在等待未完成的任务....
Scanning dependencies of target _indires_macro_actions_generate_messages_check_deps_NavigateWaypointActionFeedback
[ 5%] Built target _indires_macro_actions_generate_messages_check_deps_TeleoperationActionResult
[ 5%] Built target _indires_macro_actions_generate_messages_check_deps_NavigateHomeActionGoal
[ 5%] Built target _indires_macro_actions_generate_messages_check_deps_NavigateWaypointActionFeedback
[ 5%] Built target _indires_macro_actions_generate_messages_check_deps_ExplorationGoal
[ 5%] Linking CXX executable /home/ysz/ttr_three/devel/lib/pcl_filters/alternate_pc_node
[ 5%] Built target alternate_pc_node
[ 5%] Linking CXX executable /home/ysz/ttr_three/devel/lib/pcl_filters/pc2_to_ply
[ 6%] Linking CXX executable /home/ysz/ttr_three/devel/lib/pcl_filters/pcl_costmap_node
[ 6%] Built target pc2_to_ply
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:在函数‘removeWallsAndCeiling(boost::shared_ptr<pcl::PointCloudpcl::PointXYZ >)’中:
pcl_costmap.cpp:(.text+0x1a3c):对‘pcl::PCLBasepcl::PointXYZ::setInputCloud(boost::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&)’未定义的引用
pcl_costmap.cpp:(.text+0x1a64):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > > const&)’未定义的引用
pcl_costmap.cpp:(.text+0x1a7d):对‘pcl::ExtractIndicespcl::PointXYZ::filterDirectly(boost::shared_ptr<pcl::PointCloudpcl::PointXYZ >&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:在函数‘pcl::VoxelGridCovariancepcl::PointXYZ::filter(pcl::PointCloudpcl::PointXYZ&, bool)’中:
pcl_costmap.cpp:(.text._ZN3pcl19VoxelGridCovarianceINS_8PointXYZEE6filterERNS_10PointCloudIS1_EEb[_ZN3pcl19VoxelGridCovarianceINS_8PointXYZEE6filterERNS_10PointCloudIS1_EEb]+0x130):对‘pcl::KdTreeFLANN<pcl::PointXYZ, flann::L2_Simple >::setInputCloud(boost::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&, boost::shared_ptr<std::vector<int, std::allocator > const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x20):对‘pcl::PCLBasepcl::PointXYZ::setInputCloud(boost::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x28):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > > const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x30):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x38):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x48):对‘pcl::StatisticalOutlierRemovalpcl::PointXYZ::applyFilter(pcl::PointCloudpcl::PointXYZ&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl7CropBoxINS_8PointXYZEEE[_ZTVN3pcl7CropBoxINS_8PointXYZEEE]+0x20):对‘pcl::PCLBasepcl::PointXYZ::setInputCloud(boost::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl7CropBoxINS_8PointXYZEEE[_ZTVN3pcl7CropBoxINS_8PointXYZEEE]+0x28):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > > const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl7CropBoxINS_8PointXYZEEE[_ZTVN3pcl7CropBoxINS_8PointXYZEEE]+0x30):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl7CropBoxINS_8PointXYZEEE[_ZTVN3pcl7CropBoxINS_8PointXYZEEE]+0x38):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl7CropBoxINS_8PointXYZEEE[_ZTVN3pcl7CropBoxINS_8PointXYZEEE]+0x48):对‘pcl::CropBoxpcl::PointXYZ::applyFilter(pcl::PointCloudpcl::PointXYZ&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl11PassThroughINS_8PointXYZEEE[_ZTVN3pcl11PassThroughINS_8PointXYZEEE]+0x20):对‘pcl::PCLBasepcl::PointXYZ::setInputCloud(boost::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl11PassThroughINS_8PointXYZEEE[_ZTVN3pcl11PassThroughINS_8PointXYZEEE]+0x28):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > > const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl11PassThroughINS_8PointXYZEEE[_ZTVN3pcl11PassThroughINS_8PointXYZEEE]+0x30):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl11PassThroughINS_8PointXYZEEE[_ZTVN3pcl11PassThroughINS_8PointXYZEEE]+0x38):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl11PassThroughINS_8PointXYZEEE[_ZTVN3pcl11PassThroughINS_8PointXYZEEE]+0x48):对‘pcl::PassThroughpcl::PointXYZ::applyFilter(pcl::PointCloudpcl::PointXYZ&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl14ExtractIndicesINS_8PointXYZEEE[_ZTVN3pcl14ExtractIndicesINS_8PointXYZEEE]+0x20):对‘pcl::PCLBasepcl::PointXYZ::setInputCloud(boost::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl14ExtractIndicesINS_8PointXYZEEE[_ZTVN3pcl14ExtractIndicesINS_8PointXYZEEE]+0x28):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > > const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl14ExtractIndicesINS_8PointXYZEEE[_ZTVN3pcl14ExtractIndicesINS_8PointXYZEEE]+0x30):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl14ExtractIndicesINS_8PointXYZEEE[_ZTVN3pcl14ExtractIndicesINS_8PointXYZEEE]+0x38):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x20):对‘pcl::PCLBasepcl::PointXYZ::setInputCloud(boost::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x28):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > > const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x30):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x38):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl19VoxelGridCovarianceINS_8PointXYZEEE[_ZTVN3pcl19VoxelGridCovarianceINS_8PointXYZEEE]+0x20):对‘pcl::PCLBasepcl::PointXYZ::setInputCloud(boost::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl19VoxelGridCovarianceINS_8PointXYZEEE[_ZTVN3pcl19VoxelGridCovarianceINS_8PointXYZEEE]+0x28):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > > const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl19VoxelGridCovarianceINS_8PointXYZEEE[_ZTVN3pcl19VoxelGridCovarianceINS_8PointXYZEEE]+0x30):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl19VoxelGridCovarianceINS_8PointXYZEEE[_ZTVN3pcl19VoxelGridCovarianceINS_8PointXYZEEE]+0x38):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl11KdTreeFLANNINS_8PointXYZEN5flann9L2_SimpleIfEEEE[_ZTVN3pcl11KdTreeFLANNINS_8PointXYZEN5flann9L2_SimpleIfEEEE]+0x10):对‘pcl::KdTreeFLANN<pcl::PointXYZ, flann::L2_Simple >::setInputCloud(boost::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&, boost::shared_ptr<std::vector<int, std::allocator > const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x20):对‘pcl::PCLBasepcl::PointXYZ::setInputCloud(boost::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x28):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > > const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x30):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x38):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x20):对‘pcl::PCLBasepcl::PointXYZ::setInputCloud(boost::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x28):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > > const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x30):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x38):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x20):对‘pcl::PCLBasepcl::PointXYZ::setInputCloud(boost::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x28):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > > const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x30):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<std::vector<int, std::allocator > const> const&)’未定义的引用
CMakeFiles/pcl_costmap_node.dir/src/pcl_costmap.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x38):对‘pcl::PCLBasepcl::PointXYZ::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)’未定义的引用
collect2: error: ld returned 1 exit status
indires_navigation/pcl_filters/CMakeFiles/pcl_costmap_node.dir/build.make:624: recipe for target '/home/ysz/ttr_three/devel/lib/pcl_filters/pcl_costmap_node' failed
make[2]: *** [/home/ysz/ttr_three/devel/lib/pcl_filters/pcl_costmap_node] Error 1
CMakeFiles/Makefile2:3611: recipe for target 'indires_navigation/pcl_filters/CMakeFiles/pcl_costmap_node.dir/all' failed
make[1]: *** [indires_navigation/pcl_filters/CMakeFiles/pcl_costmap_node.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant