interactive_slam icon indicating copy to clipboard operation
interactive_slam copied to clipboard

catkin_make error

Open yijing2050 opened this issue 2 years ago • 0 comments

/usr/local/include/pcl-1.12/pcl/common/io.h:64:77: required from here /usr/include/c++/7/bits/predefined_ops.h:283:11: error: no match for call to ‘(pcl::getFieldIndex(const pcl::PCLPointCloud2&, const string&)::<lambda(int)>) (const pcl::PCLPointField&)’ { return bool(_M_pred(*__it)); } collect2: error: ld returned 1 exit status ndt_omp/CMakeFiles/align.dir/build.make:598: recipe for target '/home/yijing/pakagegit/interactive_slam/devel/lib/ndt_omp/align' failed make[2]: *** [/home/yijing/pakagegit/interactive_slam/devel/lib/ndt_omp/align] Error 1 CMakeFiles/Makefile2:676: recipe for target 'ndt_omp/CMakeFiles/align.dir/all' failed make[1]: *** [ndt_omp/CMakeFiles/align.dir/all] Error 2 [ 67%] Linking CXX shared library /home/yijing/pakagegit/interactive_slam/devel/lib/libhdl_graph_slam_nodelet.so [ 67%] Built target hdl_graph_slam_nodelet Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j16 -l16" failed Should the version of pcl be 1.7? Mine is 1.12. I catkin_make many times.But there are still some errors most by PCL.

yijing2050 avatar Mar 19 '22 01:03 yijing2050