No 'rosidl_typesupport_c' found

asked 2023-07-12 20:38:48 -0500

felixf4xu gravatar image

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.

edit retag flag offensive close merge delete

Comments

Quick comment: just to get it out of the way: make sure the package rosidl_typesupport_c is present in your workspace.

gvdhoorn gravatar image gvdhoorn  ( 2023-07-12 23:59:24 -0500 )edit