Ask Your Question

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!


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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

There is a similar question, check this answer

edit flag offensive delete link more


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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


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

Seen: 62 times

Last updated: Sep 13 '21