【问题标题】:PCL: Plane segmentationPCL:平面分割
【发布时间】:2013-04-18 18:10:10
【问题描述】:

当尝试按照here 中的圆柱分段示例进行操作时:

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

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

【问题讨论】:

  • 那是链接器错误,不是编译错误。
  • @PlasmaHH 谢谢,我找到了我没有链接的库

标签: c++ computer-vision point-cloud-library


【解决方案1】:

也需要链接pcl_filters

【讨论】:

    猜你喜欢
    • 2020-08-18
    • 1970-01-01
    • 2016-01-29
    • 2021-05-11
    • 1970-01-01
    • 1970-01-01
    • 2015-12-02
    • 1970-01-01
    • 2019-02-15
    相关资源
    最近更新 更多