ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Unknown CMake command "rosidl_get_typesupport_target"

asked 2021-09-11 20:30:07 -0600

Rongcai gravatar image

updated 2021-09-12 01:00:29 -0600

gvdhoorn gravatar image

when I build galactic from source, ran into an issue like below:

Starting >>> demo_nodes_cpp_native
--- stderr: test_communication                                                                                    
CMake Error at CMakeLists.txt:122 (rosidl_get_typesupport_target):
  Unknown CMake command "rosidl_get_typesupport_target".
Call Stack (most recent call first):
  CMakeLists.txt:420 (custom_executable)


---
Failed   <<< test_communication [2.97s, exited with code 1]
Aborted  <<< demo_nodes_cpp_native [0.68s]

Appreciate anyone help to find the root cause. Thanks!

Rongcai

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-09-13 08:03:50 -0600

osilva gravatar image

There is a similar question, check this answer https://answers.ros.org/question/3839...

edit flag offensive delete link more

Comments

Thank you osilva. I tried to build it on ubuntu, then it works well now.

Rongcai gravatar image Rongcai  ( 2021-09-22 02:27:21 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2021-09-11 20:30:07 -0600

Seen: 1,408 times

Last updated: Sep 13 '21