rosidl_runtime_c not found
I was following this tutorial: https://index.ros.org/doc/ros2/Tutori...
It seemed traight forward, however, the build step returns errors:
> colcon build
Starting >>> cpp_pubsub
[Processing: cpp_pubsub]
--- stderr: cpp_pubsub
CMake Error at /ros2/share/rosidl_runtime_c/cmake/ament_cmake_export_libraries-extras.cmake:48 (message):
Package 'rosidl_runtime_c' exports the library 'rosidl_runtime_c' which
couldn't be found
Can someone give me a hint what this error means and how to fix it? I'm using ROS2 Eloquent.
The error seems odd since the referenced tutorial does not depend on rosidl_runtime_c as far as I know. If I follow the steps in a Ubuntu 18.04 docker container, I am unable to reproduce the error.
Are there any changes to the cpp_pubsub package that were made outside the scope of the tutorial?
I made no changes. To be honest, I don't fully understand the library model in ROS, for example I have header files for rosidl_runtime_c in ros2/include/rosidl_runtime_c but in my ros2/lib there is no evidence for a rosidl_runtime_c library...
Sounds like an issue during installation. There should be a .so for rosidl_runtime_c. How did you install ROS 2?