【发布时间】: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