I am performing calibration using link "https://github.com/lixiny/handeye-calibration-ros".
When I run catkin_make
under src/ Handeye-Calibration-ROS
, it is giving me following error:
/usr/include/pcl-1.10/pcl/common/impl/io.hpp:272:33: error: use of ‘auto’ in lambda parameter declaration only available with ‘-std=c++14’ or ‘-std=gnu++14’
and command catkin_make
end with PCL error:
make[2]: *** [camera_driver/CMakeFiles/realsense2_driver.dir/build.make:76: camera_driver/CMakeFiles/realsense2_driver.dir/src/realsense2_driver.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2053: camera_driver/CMakeFiles/realsense2_driver.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Invoking "make -j24 -l24" failed
I tried CXXFLAGS=--std=gnu++14
, still same error.
In which file I need to change the value of C++?