Skip to content

CMake Error at CMakeLists.txt:44 (rosidl_get_typesupport_target): #570

@wenleiwang

Description

@wenleiwang

I am trying to compile LIO-SAM on Ubuntu 20.04 with foxy. Below is the error I got after the command

~/ros2_ws$ colcon build
Starting >>> lio_sam
--- stderr: lio_sam
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled
CMake Error at CMakeLists.txt:44 (rosidl_get_typesupport_target):
Unknown CMake command "rosidl_get_typesupport_target".


Failed <<< lio_sam [3.55s, exited with code 1]

Summary: 0 packages finished [3.79s]
1 package failed: lio_sam
1 package had stderr output: lio_sam

cd ~/ros2_ws/src
git clone https://github.com/TixiaoShan/LIO-SAM.git
cd LIO-SAM
git checkout ros2
cd ..
cd ..
colcon build

Anyone knows what are the issues here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions