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

就差一点就能编译了。。。 #169

Open
chan-yuu opened this issue Feb 24, 2024 · 0 comments
Open

就差一点就能编译了。。。 #169

chan-yuu opened this issue Feb 24, 2024 · 0 comments

Comments

@chan-yuu
Copy link

/usr/bin/ld: CMakeFiles/random_forest.dir/src/random_forest_sensing.cpp.o: in function RandomMapGenerate()': /home/cyun/fast_ws/src/Fast-Planner/uav_simulator/map_generator/src/random_forest_sensing.cpp:169: undefined reference to 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&)'
/usr/bin/ld: CMakeFiles/random_forest.dir/src/random_forest_sensing.cpp.o:(.data.rel.ro._ZTVN3pcl11KdTreeFLANNINS_8PointXYZEN5flann9L2_SimpleIfEEEE[_ZTVN3pcl11KdTreeFLANNINS_8PointXYZEN5flann9L2_SimpleIfEEEE]+0x10): undefined reference to pcl::KdTreeFLANN<pcl::PointXYZ, flann::L2_Simple<float> >::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&, boost::shared_ptr<std::vector<int, std::allocator<int> > const> const&)' /usr/bin/ld: CMakeFiles/random_forest.dir/src/random_forest_sensing.cpp.o:(.data.rel.ro._ZTVN3pcl11KdTreeFLANNINS_8PointXYZEN5flann9L2_SimpleIfEEEE[_ZTVN3pcl11KdTreeFLANNINS_8PointXYZEN5flann9L2_SimpleIfEEEE]+0x28): undefined reference to pcl::KdTreeFLANN<pcl::PointXYZ, flann::L2_Simple >::nearestKSearch(pcl::PointXYZ const&, int, std::vector<int, std::allocator >&, std::vector<float, std::allocator >&) const'
collect2: error: ld returned 1 exit status
make[2]: *** [Fast-Planner/uav_simulator/map_generator/CMakeFiles/random_forest.dir/build.make:288:/home/cyun/fast_ws/devel/lib/map_generator/random_forest] 错误 1
make[1]: *** [CMakeFiles/Makefile2:2690:Fast-Planner/uav_simulator/map_generator/CMakeFiles/random_forest.dir/all] 错误 2
make: *** [Makefile:146:all] 错误 2
Invoking "make -j32 -l32" 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