0

当尝试从这里按照圆柱分段的示例进行操作时:

我已经复制了代码,但它不会在线编译:

extract.setIndices (inliers_plane); 

我得到的错误是:

function pcl::ExtractIndices<pcl::PointXYZ>::applyFilter(std::vector<int, std::allocator<int> >&): error: undefined reference to 'pcl::ExtractIndices<pcl::PointXYZ>::applyFilterIndices(std::vector<int, std::allocator<int> >&)' 

有什么想法有什么问题吗?

这些是我要链接的库:

-lpcl_io 
-lpcl_visualization 
-lpcl_tracking 
-lpcl_common 
-lpcl_surface 
-lpcl_kdtree 
-lpcl_keypoints 
-lpcl_octree 
-lpcl_registration 
-lpcl_sample_consensus 
-lpcl_search 
-lpcl_segmentation 
-lpcl_geometry 
-lpcl_surface 
-lpcl_features
4

1 回答 1

0

pcl_filters也需要链接反对

于 2013-03-05T14:14:59.053 回答