No 'rosidl_typesupport_c' found
Hi,
I've compiled ROS2 rolling from source and then I'm trying to compile geographic_info/geographic_msgs
project.
I got cmake error like this:
Found ament_cmake: 2.2.1 (C:/ros/rolling/install/share/ament_cmake/cmake)
Found rosidl_generator_c: 4.2.0 (C:/ros/rolling/install/share/rosidl_generator_c/cmake)
Found rosidl_generator_cpp: 4.2.0 (C:/ros/rolling/install/share/rosidl_generator_cpp/cmake)
CMake Error at C:/ros/rolling/install/share/rosidl_typesupport_c/cmake/get_used_typesupports.cmake:35 (message):
No 'rosidl_typesupport_c' found
Call Stack (most recent call first):
C:/ros/rolling/install/share/rosidl_typesupport_c/cmake/rosidl_typesupport_c-extras.cmake:8 (get_used_typesupports)
C:/ros/rolling/install/share/rosidl_typesupport_c/cmake/rosidl_typesupport_cConfig.cmake:41 (include)
C:/ros/rolling/install/share/unique_identifier_msgs/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
C:/ros/rolling/install/share/unique_identifier_msgs/cmake/unique_identifier_msgsConfig.cmake:41 (include)
CMakeLists.txt:13 (find_package)
for get_used_typesupports.cmake:35
:
function(get_used_typesupports var typesupport_type)
# all type supports available
ament_index_get_resources(available_typesupports "${typesupport_type}")
if(available_typesupports STREQUAL "")
message(FATAL_ERROR "No '${typesupport_type}' found")
endif()
I'd like to get some suggestions where should I begin to debug into.
Quick comment: just to get it out of the way: make sure the package
rosidl_typesupport_c
is present in your workspace.