Livox-SDK / livox_camera_lidar_calibration

Calibrate the extrinsic parameters between Livox LiDAR and camera
Other
479 stars 135 forks source link

ROS noetic support under Ubuntu 20.04 LTS #42

Closed AdriveLivingLab closed 2 years ago

AdriveLivingLab commented 2 years ago

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.

AdriveLivingLab commented 2 years ago

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")