Skip to content

catkin build fails -  #278

@AutomationMartin

Description

@AutomationMartin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions