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
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
orcatkin 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](https://github.com/RobustFieldAutonomyLab/LeGO-LOAM/assets/22526815/193706e1-306a-464d-b20c-b9095679c4da)
PCL information:![Screenshot from 2023-12-30 16-39-25](https://github.com/RobustFieldAutonomyLab/LeGO-LOAM/assets/22526815/ac3fc7b3-9f63-4e8e-8bbd-7010a6ad866d)
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.