RobustFieldAutonomyLab / LeGO-LOAM

LeGO-LOAM: Lightweight and Ground-Optimized Lidar Odometry and Mapping on Variable Terrain
BSD 3-Clause "New" or "Revised" License
2.32k stars 1.11k forks source link

catkin build fails - #278

Open AutomationMartin opened 6 months ago

AutomationMartin commented 6 months ago

Dear LeGO-LOAM Team,

unfortunately my catkin build fails.

My System Ubuntu 20.04.6 LTS ROS Noetic Time of cloning your repository: today (30th Dec. 2023)

The Problem When building the package using the following code catkin build lego_loam -j1 --cmake-args -DCMAKE_CXX_FLAGS=-std=c++14 or catkin build lego_loam -j1 --cmake-args -DCMAKE_CXX_FLAGS=-std=c++11

the following error appears: In file included from /usr/include/pcl-1.10/pcl/pcl_macros.h:77, from /usr/include/pcl-1.10/pcl/PCLHeader.h:10, from /usr/include/pcl-1.10/pcl/point_cloud.h:47, from /home/martin/catkin_ws/src/LeGO-LOAM/LeGO-LOAM/include/utility.h:15, from /home/martin/catkin_ws/src/LeGO-LOAM/LeGO-LOAM/src/mapOptmization.cpp:34: /usr/include/pcl-1.10/pcl/pcl_config.h:7:4: error: #error PCL requires C++14 or above 7 | #error PCL requires C++14 or above

Additional Information catkin config: Screenshot from 2023-12-30 16-38-23

PCL information: Screenshot from 2023-12-30 16-39-25

build Log: build.make.007.log

If you need any more information please tell me, I will try to provide it as soon as possible.