Livox-SDK/livox_camera_lidar_calibration

ROS noetic support under Ubuntu 20.04 LTS

AdriveLivingLab opened this issue · 1 comments

When using your package under ROS noetic, we repeatedly receive the following error:

[ 97%] Linking CXX executable /ROS_ws/devel/lib/camera_lidar_calibration/projectCloud
[ 97%] Built target projectCloud
make[2]: *** [livox_camera_lidar_calibration/CMakeFiles/colorLidar.dir/build.make:63: livox_camera_lidar_calibration/CMakeFiles/colorLidar.dir/src/color_lidar_display.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3554: livox_camera_lidar_calibration/CMakeFiles/colorLidar.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

We manually installed PCL, Eigen and Ceres solver without any issue. All tests were passed.

We managed to solve this issue by changing line 7 in CMakeLists.txt to use cmake version 17, so:
set(CMAKE_CXX_FLAGS "-std=c++17")