PCL之使用过程中遇到的坑

(1)报错:对‘pcl::search::Search<pcl::PointXYZ>::getName[abi:cxx11]() const’未定义的引用.....


这类问题是由于pcl的版本导致,解决方案:安装更新的pcl;或者添加下面的代码

#include <pcl/search/impl/search.hpp>

#ifndef PCL_NO_PRECOMPILE
#include <pcl/impl/instantiate.hpp>
#include <pcl/point_types.h>
PCL_INSTANTIATE(Search, PCL_POINT_TYPES)
#endif // PCL_NO_PRECOMPILE

(2)待更新..

猜你喜欢

转载自blog.csdn.net/hehehetanchaow/article/details/82745262