Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

catkin_make for pcl exits with make -j8 -l8 failed

I install this package: https://github.com/Benzarti-Ilyess/pcl_manipulation and tested in another computer with ros noetic. The program worked. But when I tried run on my computer appear this error:

/usr/bin/ld: CMakeFiles/pcl_sample_visualizer_voxel.dir/src/pcl_sample_visualizer2.cpp.o: in function bool pcl::visualization::PCLVisualizer::addPointCloud<pcl::PointXYZ>(pcl::PointCloud<pcl::PointXYZ>::ConstPtr const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)': pcl_sample_visualizer2.cpp:(.text._ZN3pcl13visualization13PCLVisualizer13addPointCloudINS_8PointXYZEEEbRKNS_10PointCloudIT_E8ConstPtrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi[_ZN3pcl13visualization13PCLVisualizer13addPointCloudINS_8PointXYZEEEbRKNS_10PointCloudIT_E8ConstPtrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi]+0x3a): undefined reference to pcl::visualization::PointCloudGeometryHandlerXYZ<pcl::pointxyz>::PointCloudGeometryHandlerXYZ(boost::shared_ptr<pcl::pointcloud<pcl::pointxyz> const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_visualizer_voxel.dir/src/pcl_sample_visualizer2.cpp.o: in function bool pcl::visualization::PCLVisualizer::fromHandlersToScreen<pcl::PointXYZ>(pcl::visualization::PointCloudGeometryHandler<pcl::PointXYZ> const&, pcl::visualization::PointCloudColorHandler<pcl::PointXYZ> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, Eigen::Matrix<float, 4, 1, 0, 4, 1> const&, Eigen::Quaternion<float, 0> const&)': pcl_sample_visualizer2.cpp:(.text._ZN3pcl13visualization13PCLVisualizer20fromHandlersToScreenINS_8PointXYZEEEbRKNS0_25PointCloudGeometryHandlerIT_EERKNS0_22PointCloudColorHandlerIS5_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKN5Eigen6MatrixIfLi4ELi1ELi0ELi4ELi1EEERKNSL_10QuaternionIfLi0EEE[_ZN3pcl13visualization13PCLVisualizer20fromHandlersToScreenINS_8PointXYZEEEbRKNS0_25PointCloudGeometryHandlerIT_EERKNS0_22PointCloudColorHandlerIS5_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKN5Eigen6MatrixIfLi4ELi1ELi0ELi4ELi1EEERKNSL_10QuaternionIfLi0EEE]+0x257): undefined reference to pcl::visualization::PCLVisualizer::createActorFromVTKDataSet(vtkSmartPointer<vtkdataset> const&, vtkSmartPointer<vtklodactor>&, bool)' collect2: error: ld returned 1 exit status make[2]: * [pcl_manipulation/CMakeFiles/pcl_sample_visualizer_voxel.dir/build.make:409: /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_visualizer_voxel] Error 1 make[1]: [CMakeFiles/Makefile2:5814: pcl_manipulation/CMakeFiles/pcl_sample_visualizer_voxel.dir/all] Error 2 make[1]: ** Waiting for unfinished jobs.... /usr/bin/ld: CMakeFiles/pcl_sample_visual.dir/src/pcl_sample_visual.cpp.o: in function `cloudHandler::cloud_sub(sensor_msgs::PointCloud2_<std::allocator<void>

const&)': pcl_sample_visual.cpp:(.text._ZN12cloudHandler9cloud_subERKN11sensor_msgs12PointCloud2_ISaIvEEE[_ZN12cloudHandler9cloud_subERKN11sensor_msgs12PointCloud2_ISaIvEEE]+0xd6): undefined reference to pcl::visualization::CloudViewer::showCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' collect2: error: ld returned 1 exit status make[2]: *** [pcl_manipulation/CMakeFiles/pcl_sample_visual.dir/build.make:409: /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_visual] Error 1 make[1]: *** [CMakeFiles/Makefile2:5868: pcl_manipulation/CMakeFiles/pcl_sample_visual.dir/all] Error 2 /usr/bin/ld: CMakeFiles/pcl_sample_visualizer.dir/src/pcl_sample_visualizer.cpp.o: in functionbool pcl::visualization::PCLVisualizer::addPointCloud<pcl::pointxyz>(pcl::PointCloud<pcl::pointxyz>::ConstPtr const&, std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> > const&, int)': pcl_sample_visualizer.cpp:(.text._ZN3pcl13visualization13PCLVisualizer13addPointCloudINS_8PointXYZEEEbRKNS_10PointCloudIT_E8ConstPtrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi[_ZN3pcl13visualization13PCLVisualizer13addPointCloudINS_8PointXYZEEEbRKNS_10PointCloudIT_E8ConstPtrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi]+0x3a): undefined reference to pcl::visualization::PointCloudGeometryHandlerXYZ<pcl::PointXYZ>::PointCloudGeometryHandlerXYZ(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_visualizer.dir/src/pcl_sample_visualizer.cpp.o: in functionbool pcl::visualization::PCLVisualizer::fromHandlersToScreen<pcl::pointxyz>(pcl::visualization::PointCloudGeometryHandler<pcl::pointxyz> const&, pcl::visualization::PointCloudColorHandler<pcl::pointxyz> const&, std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> > const&, int, Eigen::Matrix<float, 4,="" 1,="" 0,="" 4,="" 1=""> const&, Eigen::Quaternion<float, 0=""> const&)': pcl_sample_visualizer.cpp:(.text._ZN3pcl13visualization13PCLVisualizer20fromHandlersToScreenINS_8PointXYZEEEbRKNS0_25PointCloudGeometryHandlerIT_EERKNS0_22PointCloudColorHandlerIS5_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKN5Eigen6MatrixIfLi4ELi1ELi0ELi4ELi1EEERKNSL_10QuaternionIfLi0EEE[_ZN3pcl13visualization13PCLVisualizer20fromHandlersToScreenINS_8PointXYZEEEbRKNS0_25PointCloudGeometryHandlerIT_EERKNS0_22PointCloudColorHandlerIS5_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKN5Eigen6MatrixIfLi4ELi1ELi0ELi4ELi1EEERKNSL_10QuaternionIfLi0EEE]+0x257): undefined reference to pcl::visualization::PCLVisualizer::createActorFromVTKDataSet(vtkSmartPointer<vtkDataSet> const&, vtkSmartPointer<vtkLODActor>&, bool)' collect2: error: ld returned 1 exit status make[2]: *** [pcl_manipulation/CMakeFiles/pcl_sample_visualizer.dir/build.make:409: /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_visualizer] Error 1 make[1]: *** [CMakeFiles/Makefile2:5895: pcl_manipulation/CMakeFiles/pcl_sample_visualizer.dir/all] Error 2 /usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o: in function cloud_voxel::voxel_handler(sensor_msgs::PointCloud2_<std::allocator<void> const&)': pcl_sample_voxel_grid.cpp:(.text+0x489): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x20): undefined reference to pcl::PCLBase<pcl::pointxyz>::setInputCloud(boost::shared_ptr<pcl::pointcloud<pcl::pointxyz> const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x28): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > > const&)' /usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x30): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int=""> > const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x38): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x20): undefined reference to pcl::PCLBase<pcl::pointxyz>::setInputCloud(boost::shared_ptr<pcl::pointcloud<pcl::pointxyz> const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x28): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > > const&)' /usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x30): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int=""> > const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x38): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x20): undefined reference to pcl::PCLBase<pcl::pointxyz>::setInputCloud(boost::shared_ptr<pcl::pointcloud<pcl::pointxyz> const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x28): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > > const&)' /usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x30): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int=""> > const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x38): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)' collect2: error: ld returned 1 exit status make[2]: *** [pcl_manipulation/CMakeFiles/pcl_sample_voxel_grid.dir/build.make:409: /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_voxel_grid] Error 1 make[1]: *** [CMakeFiles/Makefile2:5787: pcl_manipulation/CMakeFiles/pcl_sample_voxel_grid.dir/all] Error 2 /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o: in function cloud_filter::cloud_sub_pub(sensor_msgs::PointCloud2_<std::allocator<void> const&)': pcl_sample_filter.cpp:(.text+0x48e): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x20): undefined reference to pcl::PCLBase<pcl::pointxyz>::setInputCloud(boost::shared_ptr<pcl::pointcloud<pcl::pointxyz> const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x28): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > > const&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x30): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int=""> > const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x38): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x48): undefined reference to pcl::StatisticalOutlierRemoval<pcl::pointxyz>::applyFilter(pcl::PointCloud<pcl::pointxyz>&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x20): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x28): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int=""> > > const&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x30): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x38): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<pcl::pointindices const=""> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x20): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x28): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int=""> > > const&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x30): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x38): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<pcl::pointindices const=""> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x20): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x28): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int=""> > > const&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x30): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x38): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<pcl::pointindices const=""> const&)' collect2: error: ld returned 1 exit status make[2]: * [pcl_manipulation/CMakeFiles/pcl_sample_filter.dir/build.make:409: /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_filter] Error 1 make[1]: [CMakeFiles/Makefile2:5949: pcl_manipulation/CMakeFiles/pcl_sample_filter.dir/all] Error 2 make: ** [Makefile:160: all] Error 2 Invoking "make -j8 -l8" failed

What can I do?

catkin_make for pcl exits with make -j8 -l8 failed

I install this package: https://github.com/Benzarti-Ilyess/pcl_manipulation and tested in another computer with ros noetic. The program worked. But when I tried run on my computer appear this error:

/usr/bin/ld:

> /usr/bin/ld:
> CMakeFiles/pcl_sample_visualizer_voxel.dir/src/pcl_sample_visualizer2.cpp.o:
 > in function bool
`bool
> pcl::visualization::PCLVisualizer::addPointCloud<pcl::PointXYZ>(pcl::PointCloud<pcl::PointXYZ>::ConstPtr
> const&,
> std::__cxx11::basic_string<char,
> std::char_traits<char>,
> std::allocator<char> > const&, int)':
> pcl_sample_visualizer2.cpp:(.text._ZN3pcl13visualization13PCLVisualizer13addPointCloudINS_8PointXYZEEEbRKNS_10PointCloudIT_E8ConstPtrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi[_ZN3pcl13visualization13PCLVisualizer13addPointCloudINS_8PointXYZEEEbRKNS_10PointCloudIT_E8ConstPtrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi]+0x3a):
undefined reference to
pcl::visualization::PointCloudGeometryHandlerXYZ<pcl::pointxyz>::PointCloudGeometryHandlerXYZ(boost::shared_ptr<pcl::pointcloud<pcl::pointxyz>
  const> const&)' /usr/bin/ld:
  > undefined reference to
> `pcl::visualization::PointCloudGeometryHandlerXYZ<pcl::PointXYZ>::PointCloudGeometryHandlerXYZ(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ>
> const> const&)' /usr/bin/ld:
> CMakeFiles/pcl_sample_visualizer_voxel.dir/src/pcl_sample_visualizer2.cpp.o:
 > in function bool
`bool
> pcl::visualization::PCLVisualizer::fromHandlersToScreen<pcl::PointXYZ>(pcl::visualization::PointCloudGeometryHandler<pcl::PointXYZ>
> const&,
> pcl::visualization::PointCloudColorHandler<pcl::PointXYZ>
> const&,
> std::__cxx11::basic_string<char,
> std::char_traits<char>,
> std::allocator<char> > const&, int,
> Eigen::Matrix<float, 4, 1, 0, 4, 1>
> const&, Eigen::Quaternion<float, 0>
> const&)':
> pcl_sample_visualizer2.cpp:(.text._ZN3pcl13visualization13PCLVisualizer20fromHandlersToScreenINS_8PointXYZEEEbRKNS0_25PointCloudGeometryHandlerIT_EERKNS0_22PointCloudColorHandlerIS5_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKN5Eigen6MatrixIfLi4ELi1ELi0ELi4ELi1EEERKNSL_10QuaternionIfLi0EEE[_ZN3pcl13visualization13PCLVisualizer20fromHandlersToScreenINS_8PointXYZEEEbRKNS0_25PointCloudGeometryHandlerIT_EERKNS0_22PointCloudColorHandlerIS5_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKN5Eigen6MatrixIfLi4ELi1ELi0ELi4ELi1EEERKNSL_10QuaternionIfLi0EEE]+0x257):
undefined reference to
pcl::visualization::PCLVisualizer::createActorFromVTKDataSet(vtkSmartPointer<vtkdataset>
  > undefined reference to
> `pcl::visualization::PCLVisualizer::createActorFromVTKDataSet(vtkSmartPointer<vtkDataSet>
> const&, vtkSmartPointer<vtklodactor>&,
  vtkSmartPointer<vtkLODActor>&,
> bool)' collect2: error: ld returned 1
 > exit status make[2]: *
  ***
> [pcl_manipulation/CMakeFiles/pcl_sample_visualizer_voxel.dir/build.make:409:
 > /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_visualizer_voxel]
 > Error 1 make[1]:  ***
> [CMakeFiles/Makefile2:5814:
 > pcl_manipulation/CMakeFiles/pcl_sample_visualizer_voxel.dir/all]
 > Error 2 make[1]: ** *** Waiting for
 > unfinished jobs.... /usr/bin/ld:
 > CMakeFiles/pcl_sample_visual.dir/src/pcl_sample_visual.cpp.o:
 > in function
  `cloudHandler::cloud_sub(sensor_msgs::PointCloud2_<std::allocator<void>

> `cloudHandler::cloud_sub(sensor_msgs::PointCloud2_<std::allocator<void> > > const&)': pcl_sample_visual.cpp:(.text._ZN12cloudHandler9cloud_subERKN11sensor_msgs12PointCloud2_ISaIvEEE[_ZN12cloudHandler9cloud_subERKN11sensor_msgs12PointCloud2_ISaIvEEE]+0xd6): undefined reference to pcl::visualization::CloudViewer::showCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> > undefined reference to > `pcl::visualization::CloudViewer::showCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> > const> const&, > std::__cxx11::basic_string<char, > std::char_traits<char>, > std::allocator<char> > const&)' > collect2: error: ld returned 1 exit > status make[2]: *** > [pcl_manipulation/CMakeFiles/pcl_sample_visual.dir/build.make:409: > /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_visual] > Error 1 make[1]: *** > [CMakeFiles/Makefile2:5868: > pcl_manipulation/CMakeFiles/pcl_sample_visual.dir/all] > Error 2 /usr/bin/ld: > CMakeFiles/pcl_sample_visualizer.dir/src/pcl_sample_visualizer.cpp.o: > in functionbool pcl::visualization::PCLVisualizer::addPointCloud<pcl::pointxyz>(pcl::PointCloud<pcl::pointxyz>::ConstPtr function `bool > pcl::visualization::PCLVisualizer::addPointCloud<pcl::PointXYZ>(pcl::PointCloud<pcl::PointXYZ>::ConstPtr > const&, std::__cxx11::basic_string<char, std::char_traits<char="">, > std::__cxx11::basic_string<char, > std::char_traits<char>, > std::allocator<char> > const&, int)': > pcl_sample_visualizer.cpp:(.text._ZN3pcl13visualization13PCLVisualizer13addPointCloudINS_8PointXYZEEEbRKNS_10PointCloudIT_E8ConstPtrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi[_ZN3pcl13visualization13PCLVisualizer13addPointCloudINS_8PointXYZEEEbRKNS_10PointCloudIT_E8ConstPtrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi]+0x3a): undefined reference to pcl::visualization::PointCloudGeometryHandlerXYZ<pcl::PointXYZ>::PointCloudGeometryHandlerXYZ(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)' /usr/bin/ld: > undefined reference to > `pcl::visualization::PointCloudGeometryHandlerXYZ<pcl::PointXYZ>::PointCloudGeometryHandlerXYZ(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> > const> const&)' /usr/bin/ld: > CMakeFiles/pcl_sample_visualizer.dir/src/pcl_sample_visualizer.cpp.o: > in functionbool pcl::visualization::PCLVisualizer::fromHandlersToScreen<pcl::pointxyz>(pcl::visualization::PointCloudGeometryHandler<pcl::pointxyz> function `bool > pcl::visualization::PCLVisualizer::fromHandlersToScreen<pcl::PointXYZ>(pcl::visualization::PointCloudGeometryHandler<pcl::PointXYZ> > const&, pcl::visualization::PointCloudColorHandler<pcl::pointxyz> > pcl::visualization::PointCloudColorHandler<pcl::PointXYZ> > const&, std::__cxx11::basic_string<char, std::char_traits<char="">, > std::__cxx11::basic_string<char, > std::char_traits<char>, > std::allocator<char> > const&, int, > Eigen::Matrix<float, 4,="" 1,="" 0,="" 4,="" 1=""> 4, 1, 0, 4, 1> > const&, Eigen::Quaternion<float, 0=""> 0> > const&)': > pcl_sample_visualizer.cpp:(.text._ZN3pcl13visualization13PCLVisualizer20fromHandlersToScreenINS_8PointXYZEEEbRKNS0_25PointCloudGeometryHandlerIT_EERKNS0_22PointCloudColorHandlerIS5_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKN5Eigen6MatrixIfLi4ELi1ELi0ELi4ELi1EEERKNSL_10QuaternionIfLi0EEE[_ZN3pcl13visualization13PCLVisualizer20fromHandlersToScreenINS_8PointXYZEEEbRKNS0_25PointCloudGeometryHandlerIT_EERKNS0_22PointCloudColorHandlerIS5_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKN5Eigen6MatrixIfLi4ELi1ELi0ELi4ELi1EEERKNSL_10QuaternionIfLi0EEE]+0x257): undefined reference to pcl::visualization::PCLVisualizer::createActorFromVTKDataSet(vtkSmartPointer<vtkDataSet> > undefined reference to > `pcl::visualization::PCLVisualizer::createActorFromVTKDataSet(vtkSmartPointer<vtkDataSet> > const&, vtkSmartPointer<vtkLODActor>&, > bool)' collect2: error: ld returned 1 > exit status make[2]: *** > [pcl_manipulation/CMakeFiles/pcl_sample_visualizer.dir/build.make:409: /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_visualizer] > Error 1 make[1]: *** > [CMakeFiles/Makefile2:5895: > pcl_manipulation/CMakeFiles/pcl_sample_visualizer.dir/all] > Error 2 /usr/bin/ld: > CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o: > in function cloud_voxel::voxel_handler(sensor_msgs::PointCloud2_<std::allocator<void> > `cloud_voxel::voxel_handler(sensor_msgs::PointCloud2_<std::allocator<void> > > const&)': pcl_sample_voxel_grid.cpp:(.text+0x489): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> > const> const&)' /usr/bin/ld: > CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x20): undefined reference to pcl::PCLBase<pcl::pointxyz>::setInputCloud(boost::shared_ptr<pcl::pointcloud<pcl::pointxyz> const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> > const> const&)' /usr/bin/ld: > CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x28): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > > const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, > std::allocator<int> > > const&)' > /usr/bin/ld: > CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x30): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int=""> > const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, > std::allocator<int> > const> const&)' > /usr/bin/ld: > CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x38): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices > const> const&)' /usr/bin/ld: > CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x20): undefined reference to pcl::PCLBase<pcl::pointxyz>::setInputCloud(boost::shared_ptr<pcl::pointcloud<pcl::pointxyz> const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> > const> const&)' /usr/bin/ld: > CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x28): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > > const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, > std::allocator<int> > > const&)' > /usr/bin/ld: > CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x30): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int=""> > const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, > std::allocator<int> > const> const&)' > /usr/bin/ld: > CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x38): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices > const> const&)' /usr/bin/ld: > CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x20): undefined reference to pcl::PCLBase<pcl::pointxyz>::setInputCloud(boost::shared_ptr<pcl::pointcloud<pcl::pointxyz> const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> > const> const&)' /usr/bin/ld: > CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x28): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > > const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, > std::allocator<int> > > const&)' > /usr/bin/ld: > CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x30): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int=""> > const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, > std::allocator<int> > const> const&)' > /usr/bin/ld: > CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x38): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices > const> const&)' collect2: error: ld > returned 1 exit status make[2]: *** > [pcl_manipulation/CMakeFiles/pcl_sample_voxel_grid.dir/build.make:409: /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_voxel_grid] > Error 1 make[1]: *** > [CMakeFiles/Makefile2:5787: > pcl_manipulation/CMakeFiles/pcl_sample_voxel_grid.dir/all] > Error 2 /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o: > in function cloud_filter::cloud_sub_pub(sensor_msgs::PointCloud2_<std::allocator<void> > `cloud_filter::cloud_sub_pub(sensor_msgs::PointCloud2_<std::allocator<void> > > const&)': pcl_sample_filter.cpp:(.text+0x48e): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> > const> const&)' /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x20): undefined reference to pcl::PCLBase<pcl::pointxyz>::setInputCloud(boost::shared_ptr<pcl::pointcloud<pcl::pointxyz> const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> > const> const&)' /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x28): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > > const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, > std::allocator<int> > > const&)' > /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x30): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int=""> > const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, > std::allocator<int> > const> const&)' > /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x38): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices > const> const&)' /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x48): undefined reference to pcl::StatisticalOutlierRemoval<pcl::pointxyz>::applyFilter(pcl::PointCloud<pcl::pointxyz>&)' /usr/bin/ld: > undefined reference to > `pcl::StatisticalOutlierRemoval<pcl::PointXYZ>::applyFilter(pcl::PointCloud<pcl::PointXYZ>&)' > /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x20): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> > const> const&)' /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x28): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int=""> > > const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, > std::allocator<int> > > const&)' > /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x30): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, > std::allocator<int> > const> const&)' > /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x38): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<pcl::pointindices const=""> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices > const> const&)' /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x20): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> > const> const&)' /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x28): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int=""> > > const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, > std::allocator<int> > > const&)' > /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x30): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, > std::allocator<int> > const> const&)' > /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x38): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<pcl::pointindices const=""> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices > const> const&)' /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x20): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> > const> const&)' /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x28): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int=""> > > const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, > std::allocator<int> > > const&)' > /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x30): undefined reference to pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > const> const&)' /usr/bin/ld: > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, > std::allocator<int> > const> const&)' > /usr/bin/ld: > CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x38): undefined reference to pcl::PCLBase<pcl::pointxyz>::setIndices(boost::shared_ptr<pcl::pointindices const=""> > undefined reference to > `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices > const> const&)' collect2: error: ld > returned 1 exit status make[2]: * *** > [pcl_manipulation/CMakeFiles/pcl_sample_filter.dir/build.make:409: > /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_filter] > Error 1 make[1]: *** > [CMakeFiles/Makefile2:5949: > pcl_manipulation/CMakeFiles/pcl_sample_filter.dir/all] > Error 2 make: ** *** [Makefile:160: all] > Error 2 Invoking "make -j8 -l8" failed

failed

What can I do?

catkin_make for pcl exits with make -j8 -l8 failed

I install this package: https://github.com/Benzarti-Ilyess/pcl_manipulation and tested in another computer with ros noetic. The program worked. But when I tried run on my computer appear this error:

> /usr/bin/ld:
> CMakeFiles/pcl_sample_visualizer_voxel.dir/src/pcl_sample_visualizer2.cpp.o:
> in function `bool
> pcl::visualization::PCLVisualizer::addPointCloud<pcl::PointXYZ>(pcl::PointCloud<pcl::PointXYZ>::ConstPtr
> const&,
> std::__cxx11::basic_string<char,
> std::char_traits<char>,
> /usr/bin/ld: CMakeFiles/pcl_sample_visualizer_voxel.dir/src/pcl_sample_visualizer2.cpp.o: in function `bool pcl::visualization::PCLVisualizer::addPointCloud<pcl::PointXYZ>(pcl::PointCloud<pcl::PointXYZ>::ConstPtr const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)':
> pcl_sample_visualizer2.cpp:(.text._ZN3pcl13visualization13PCLVisualizer13addPointCloudINS_8PointXYZEEEbRKNS_10PointCloudIT_E8ConstPtrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi[_ZN3pcl13visualization13PCLVisualizer13addPointCloudINS_8PointXYZEEEbRKNS_10PointCloudIT_E8ConstPtrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi]+0x3a):
> undefined reference to
> `pcl::visualization::PointCloudGeometryHandlerXYZ<pcl::PointXYZ>::PointCloudGeometryHandlerXYZ(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ>
> const> const&)' /usr/bin/ld:
> CMakeFiles/pcl_sample_visualizer_voxel.dir/src/pcl_sample_visualizer2.cpp.o:
> in function `bool
> pcl::visualization::PCLVisualizer::fromHandlersToScreen<pcl::PointXYZ>(pcl::visualization::PointCloudGeometryHandler<pcl::PointXYZ>
> const&,
> pcl::visualization::PointCloudColorHandler<pcl::PointXYZ>
> const&,
> std::__cxx11::basic_string<char,
> std::char_traits<char>,
> pcl_sample_visualizer2.cpp:(.text._ZN3pcl13visualization13PCLVisualizer13addPointCloudINS_8PointXYZEEEbRKNS_10PointCloudIT_E8ConstPtrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi[_ZN3pcl13visualization13PCLVisualizer13addPointCloudINS_8PointXYZEEEbRKNS_10PointCloudIT_E8ConstPtrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi]+0x3a): undefined reference to `pcl::visualization::PointCloudGeometryHandlerXYZ<pcl::PointXYZ>::PointCloudGeometryHandlerXYZ(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_visualizer_voxel.dir/src/pcl_sample_visualizer2.cpp.o: in function `bool pcl::visualization::PCLVisualizer::fromHandlersToScreen<pcl::PointXYZ>(pcl::visualization::PointCloudGeometryHandler<pcl::PointXYZ> const&, pcl::visualization::PointCloudColorHandler<pcl::PointXYZ> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int,
> int, Eigen::Matrix<float, 4, 1, 0, 4, 1>
> 1> const&, Eigen::Quaternion<float, 0>
> 0> const&)':
> pcl_sample_visualizer2.cpp:(.text._ZN3pcl13visualization13PCLVisualizer20fromHandlersToScreenINS_8PointXYZEEEbRKNS0_25PointCloudGeometryHandlerIT_EERKNS0_22PointCloudColorHandlerIS5_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKN5Eigen6MatrixIfLi4ELi1ELi0ELi4ELi1EEERKNSL_10QuaternionIfLi0EEE[_ZN3pcl13visualization13PCLVisualizer20fromHandlersToScreenINS_8PointXYZEEEbRKNS0_25PointCloudGeometryHandlerIT_EERKNS0_22PointCloudColorHandlerIS5_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKN5Eigen6MatrixIfLi4ELi1ELi0ELi4ELi1EEERKNSL_10QuaternionIfLi0EEE]+0x257):
> undefined reference to
> `pcl::visualization::PCLVisualizer::createActorFromVTKDataSet(vtkSmartPointer<vtkDataSet>
> const&, vtkSmartPointer<vtkLODActor>&,
> bool)' collect2: error: ld returned 1
> exit status make[2]: ***
> [pcl_manipulation/CMakeFiles/pcl_sample_visualizer_voxel.dir/build.make:409:
> /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_visualizer_voxel]
> Error 1 make[1]: ***
> [CMakeFiles/Makefile2:5814:
> pcl_manipulation/CMakeFiles/pcl_sample_visualizer_voxel.dir/all]
> Error 2 make[1]: *** Waiting for
> unfinished jobs.... /usr/bin/ld:
> CMakeFiles/pcl_sample_visual.dir/src/pcl_sample_visual.cpp.o:
> in function
> `cloudHandler::cloud_sub(sensor_msgs::PointCloud2_<std::allocator<void>
> > const&)': pcl_sample_visual.cpp:(.text._ZN12cloudHandler9cloud_subERKN11sensor_msgs12PointCloud2_ISaIvEEE[_ZN12cloudHandler9cloud_subERKN11sensor_msgs12PointCloud2_ISaIvEEE]+0xd6):
> undefined reference to
> `pcl::visualization::CloudViewer::showCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ>
> const> const&,
> std::__cxx11::basic_string<char,
> std::char_traits<char>,
> std::allocator<char> > const&)'
> pcl_sample_visualizer2.cpp:(.text._ZN3pcl13visualization13PCLVisualizer20fromHandlersToScreenINS_8PointXYZEEEbRKNS0_25PointCloudGeometryHandlerIT_EERKNS0_22PointCloudColorHandlerIS5_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKN5Eigen6MatrixIfLi4ELi1ELi0ELi4ELi1EEERKNSL_10QuaternionIfLi0EEE[_ZN3pcl13visualization13PCLVisualizer20fromHandlersToScreenINS_8PointXYZEEEbRKNS0_25PointCloudGeometryHandlerIT_EERKNS0_22PointCloudColorHandlerIS5_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKN5Eigen6MatrixIfLi4ELi1ELi0ELi4ELi1EEERKNSL_10QuaternionIfLi0EEE]+0x257): undefined reference to `pcl::visualization::PCLVisualizer::createActorFromVTKDataSet(vtkSmartPointer<vtkDataSet> const&, vtkSmartPointer<vtkLODActor>&, bool)'
collect2: error: ld returned 1 exit
> status exit status
make[2]: ***
> [pcl_manipulation/CMakeFiles/pcl_sample_visual.dir/build.make:409:
> /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_visual]
> Error *** [pcl_manipulation/CMakeFiles/pcl_sample_visualizer_voxel.dir/build.make:409: /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_visualizer_voxel] Error 1
make[1]: *** [CMakeFiles/Makefile2:5814: pcl_manipulation/CMakeFiles/pcl_sample_visualizer_voxel.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: CMakeFiles/pcl_sample_visual.dir/src/pcl_sample_visual.cpp.o: in function `cloudHandler::cloud_sub(sensor_msgs::PointCloud2_<std::allocator<void> > const&)':
pcl_sample_visual.cpp:(.text._ZN12cloudHandler9cloud_subERKN11sensor_msgs12PointCloud2_ISaIvEEE[_ZN12cloudHandler9cloud_subERKN11sensor_msgs12PointCloud2_ISaIvEEE]+0xd6): undefined reference to `pcl::visualization::CloudViewer::showCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [pcl_manipulation/CMakeFiles/pcl_sample_visual.dir/build.make:409: /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_visual] Error 1
make[1]: ***
> [CMakeFiles/Makefile2:5868:
> pcl_manipulation/CMakeFiles/pcl_sample_visual.dir/all]
> Error 2 /usr/bin/ld:
> CMakeFiles/pcl_sample_visualizer.dir/src/pcl_sample_visualizer.cpp.o:
> in function `bool
> pcl::visualization::PCLVisualizer::addPointCloud<pcl::PointXYZ>(pcl::PointCloud<pcl::PointXYZ>::ConstPtr
> const&,
> std::__cxx11::basic_string<char,
> std::char_traits<char>,
> *** [CMakeFiles/Makefile2:5868: pcl_manipulation/CMakeFiles/pcl_sample_visual.dir/all] Error 2
/usr/bin/ld: CMakeFiles/pcl_sample_visualizer.dir/src/pcl_sample_visualizer.cpp.o: in function `bool pcl::visualization::PCLVisualizer::addPointCloud<pcl::PointXYZ>(pcl::PointCloud<pcl::PointXYZ>::ConstPtr const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)':
> pcl_sample_visualizer.cpp:(.text._ZN3pcl13visualization13PCLVisualizer13addPointCloudINS_8PointXYZEEEbRKNS_10PointCloudIT_E8ConstPtrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi[_ZN3pcl13visualization13PCLVisualizer13addPointCloudINS_8PointXYZEEEbRKNS_10PointCloudIT_E8ConstPtrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi]+0x3a):
> undefined reference to
> `pcl::visualization::PointCloudGeometryHandlerXYZ<pcl::PointXYZ>::PointCloudGeometryHandlerXYZ(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ>
> const> const&)' /usr/bin/ld:
> CMakeFiles/pcl_sample_visualizer.dir/src/pcl_sample_visualizer.cpp.o:
> in function `bool
> pcl::visualization::PCLVisualizer::fromHandlersToScreen<pcl::PointXYZ>(pcl::visualization::PointCloudGeometryHandler<pcl::PointXYZ>
> const&,
> pcl::visualization::PointCloudColorHandler<pcl::PointXYZ>
> const&,
> std::__cxx11::basic_string<char,
> std::char_traits<char>,
> pcl_sample_visualizer.cpp:(.text._ZN3pcl13visualization13PCLVisualizer13addPointCloudINS_8PointXYZEEEbRKNS_10PointCloudIT_E8ConstPtrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi[_ZN3pcl13visualization13PCLVisualizer13addPointCloudINS_8PointXYZEEEbRKNS_10PointCloudIT_E8ConstPtrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi]+0x3a): undefined reference to `pcl::visualization::PointCloudGeometryHandlerXYZ<pcl::PointXYZ>::PointCloudGeometryHandlerXYZ(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_visualizer.dir/src/pcl_sample_visualizer.cpp.o: in function `bool pcl::visualization::PCLVisualizer::fromHandlersToScreen<pcl::PointXYZ>(pcl::visualization::PointCloudGeometryHandler<pcl::PointXYZ> const&, pcl::visualization::PointCloudColorHandler<pcl::PointXYZ> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int,
> int, Eigen::Matrix<float, 4, 1, 0, 4, 1>
> 1> const&, Eigen::Quaternion<float, 0>
> 0> const&)':
> pcl_sample_visualizer.cpp:(.text._ZN3pcl13visualization13PCLVisualizer20fromHandlersToScreenINS_8PointXYZEEEbRKNS0_25PointCloudGeometryHandlerIT_EERKNS0_22PointCloudColorHandlerIS5_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKN5Eigen6MatrixIfLi4ELi1ELi0ELi4ELi1EEERKNSL_10QuaternionIfLi0EEE[_ZN3pcl13visualization13PCLVisualizer20fromHandlersToScreenINS_8PointXYZEEEbRKNS0_25PointCloudGeometryHandlerIT_EERKNS0_22PointCloudColorHandlerIS5_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKN5Eigen6MatrixIfLi4ELi1ELi0ELi4ELi1EEERKNSL_10QuaternionIfLi0EEE]+0x257):
> undefined reference to
> `pcl::visualization::PCLVisualizer::createActorFromVTKDataSet(vtkSmartPointer<vtkDataSet>
> const&, vtkSmartPointer<vtkLODActor>&,
> bool)' pcl_sample_visualizer.cpp:(.text._ZN3pcl13visualization13PCLVisualizer20fromHandlersToScreenINS_8PointXYZEEEbRKNS0_25PointCloudGeometryHandlerIT_EERKNS0_22PointCloudColorHandlerIS5_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKN5Eigen6MatrixIfLi4ELi1ELi0ELi4ELi1EEERKNSL_10QuaternionIfLi0EEE[_ZN3pcl13visualization13PCLVisualizer20fromHandlersToScreenINS_8PointXYZEEEbRKNS0_25PointCloudGeometryHandlerIT_EERKNS0_22PointCloudColorHandlerIS5_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRKN5Eigen6MatrixIfLi4ELi1ELi0ELi4ELi1EEERKNSL_10QuaternionIfLi0EEE]+0x257): undefined reference to `pcl::visualization::PCLVisualizer::createActorFromVTKDataSet(vtkSmartPointer<vtkDataSet> const&, vtkSmartPointer<vtkLODActor>&, bool)'
collect2: error: ld returned 1 exit status
make[2]: *** [pcl_manipulation/CMakeFiles/pcl_sample_visualizer.dir/build.make:409: /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_visualizer] Error 1
> exit status make[2]: ***
> [pcl_manipulation/CMakeFiles/pcl_sample_visualizer.dir/build.make:409: /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_visualizer]
> Error 1 make[1]: ***
> [CMakeFiles/Makefile2:5895:
> pcl_manipulation/CMakeFiles/pcl_sample_visualizer.dir/all]
> Error 2 /usr/bin/ld:
> CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:
> in function
> `cloud_voxel::voxel_handler(sensor_msgs::PointCloud2_<std::allocator<void>
> > const&)': pcl_sample_voxel_grid.cpp:(.text+0x489):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ>
> const> const&)' /usr/bin/ld:
> CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x20):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ>
> const> const&)' /usr/bin/ld:
> CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x28):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int,
> std::allocator<int> > > const&)'
> /usr/bin/ld:
> CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x30):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int,
> std::allocator<int> > const> const&)'
> /usr/bin/ld:
> CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x38):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices
> const> const&)' /usr/bin/ld:
> CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x20):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ>
> const> const&)' /usr/bin/ld:
> CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x28):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int,
> std::allocator<int> > > const&)'
> /usr/bin/ld:
> CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x30):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int,
> std::allocator<int> > const> const&)'
> /usr/bin/ld:
> CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x38):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices
> const> const&)' /usr/bin/ld:
> CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x20):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ>
> const> const&)' /usr/bin/ld:
> CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x28):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int,
> std::allocator<int> > > const&)'
> /usr/bin/ld:
> CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x30):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int,
> std::allocator<int> > const> const&)'
> /usr/bin/ld:
> CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x38):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices
> const> const&)' *** [CMakeFiles/Makefile2:5895: pcl_manipulation/CMakeFiles/pcl_sample_visualizer.dir/all] Error 2
/usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o: in function `cloud_voxel::voxel_handler(sensor_msgs::PointCloud2_<std::allocator<void> > const&)':
pcl_sample_voxel_grid.cpp:(.text+0x489): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x20): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x28): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > > const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x30): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl9VoxelGridINS_8PointXYZEEE[_ZTVN3pcl9VoxelGridINS_8PointXYZEEE]+0x38): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x20): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x28): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > > const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x30): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x38): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x20): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x28): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > > const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x30): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_voxel_grid.dir/src/pcl_sample_voxel_grid.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x38): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)'
collect2: error: ld
> ld returned 1 exit status status
make[2]: ***
> *** [pcl_manipulation/CMakeFiles/pcl_sample_voxel_grid.dir/build.make:409: /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_voxel_grid]
> Error 1 /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_voxel_grid] Error 1
make[1]: ***
> [CMakeFiles/Makefile2:5787:
> pcl_manipulation/CMakeFiles/pcl_sample_voxel_grid.dir/all]
> Error 2 /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:
> in function
> `cloud_filter::cloud_sub_pub(sensor_msgs::PointCloud2_<std::allocator<void>
> > const&)': pcl_sample_filter.cpp:(.text+0x48e):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ>
> const> const&)' /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x20):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ>
> const> const&)' /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x28):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int,
> std::allocator<int> > > const&)'
> /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x30):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int,
> std::allocator<int> > const> const&)'
> /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x38):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices
> const> const&)' /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x48):
> undefined reference to
> *** [CMakeFiles/Makefile2:5787: pcl_manipulation/CMakeFiles/pcl_sample_voxel_grid.dir/all] Error 2
/usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o: in function `cloud_filter::cloud_sub_pub(sensor_msgs::PointCloud2_<std::allocator<void> > const&)':
pcl_sample_filter.cpp:(.text+0x48e): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x20): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x28): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > > const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x30): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x38): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE[_ZTVN3pcl25StatisticalOutlierRemovalINS_8PointXYZEEE]+0x48): undefined reference to `pcl::StatisticalOutlierRemoval<pcl::PointXYZ>::applyFilter(pcl::PointCloud<pcl::PointXYZ>&)'
> /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x20):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ>
> const> const&)' /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x28):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int,
> std::allocator<int> > > const&)'
> /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x30):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int,
> std::allocator<int> > const> const&)'
> /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x38):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices
> const> const&)' /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x20):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ>
> const> const&)' /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x28):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int,
> std::allocator<int> > > const&)'
> /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x30):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int,
> std::allocator<int> > const> const&)'
> /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x38):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices
> const> const&)' /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x20):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ>
> const> const&)' /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x28):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int,
> std::allocator<int> > > const&)'
> /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x30):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int,
> std::allocator<int> > const> const&)'
> /usr/bin/ld:
> CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x38):
> undefined reference to
> `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices
> const> const&)' /usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x20): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x28): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > > const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x30): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8PointXYZEEE[_ZTVN3pcl13FilterIndicesINS_8PointXYZEEE]+0x38): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x20): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x28): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > > const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x30): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl6FilterINS_8PointXYZEEE[_ZTVN3pcl6FilterINS_8PointXYZEEE]+0x38): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x20): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setInputCloud(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x28): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > > const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x30): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<std::vector<int, std::allocator<int> > const> const&)'
/usr/bin/ld: CMakeFiles/pcl_sample_filter.dir/src/pcl_sample_filter.cpp.o:(.data.rel.ro._ZTVN3pcl7PCLBaseINS_8PointXYZEEE[_ZTVN3pcl7PCLBaseINS_8PointXYZEEE]+0x38): undefined reference to `pcl::PCLBase<pcl::PointXYZ>::setIndices(boost::shared_ptr<pcl::PointIndices const> const&)'
collect2: error: ld
> ld returned 1 exit status status
make[2]: ***
> [pcl_manipulation/CMakeFiles/pcl_sample_filter.dir/build.make:409:
> /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_filter]
> Error 1 *** [pcl_manipulation/CMakeFiles/pcl_sample_filter.dir/build.make:409: /home/lidiaxp/workspace/devel/lib/pcl_manipulation/pcl_sample_filter] Error 1
make[1]: ***
> [CMakeFiles/Makefile2:5949:
> pcl_manipulation/CMakeFiles/pcl_sample_filter.dir/all]
> Error 2 *** [CMakeFiles/Makefile2:5949: pcl_manipulation/CMakeFiles/pcl_sample_filter.dir/all] Error 2
make: *** [Makefile:160: all]
> Error 2 all] Error 2
Invoking "make -j8 -l8" failed

What can I do?