rmw_implementation not available at this time

asked 2020-01-09 11:57:38 -0600

mikepark93 gravatar image

I am running into the following CMake Error:

[cmake] Found rosidl_default_generators: 0.7.0 (/opt/ros/dashing/share/rosidl_default_generators/cmake)
[cmake] Found ament_cmake_core: 0.7.4 (/opt/ros/dashing/share/ament_cmake_core/cmake)
[cmake] Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.9", minimum required is "3") 
[cmake] Using PYTHON_EXECUTABLE: /usr/bin/python3
[cmake] Found rosidl_adapter: 0.7.8 (/opt/ros/dashing/share/rosidl_adapter/cmake)
[cmake] Found rclcpp: 0.7.12 (/opt/ros/dashing/share/rclcpp/cmake)
[cmake] Found rmw_implementation_cmake: 0.7.2 (/opt/ros/dashing/share/rmw_implementation_cmake/cmake)
[cmake] CMake Error at /opt/ros/dashing/share/rmw_implementation/cmake/rmw_implementation-extras.cmake:54 (message):
[cmake]   The RMW implementation has been specified as 'rmw_fastrtps_cpp' via the
[cmake]   default when rmw_implementation was built, but it is not available at this
[cmake]   time.
[cmake]   Currently available middlewares:
[cmake]   ''
[cmake] Call Stack (most recent call first):
[cmake]   /opt/ros/dashing/share/rmw_implementation/cmake/rmw_implementationConfig.cmake:38 (include)
[cmake]   /opt/ros/dashing/share/rcl/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
[cmake]   /opt/ros/dashing/share/rcl/cmake/rclConfig.cmake:38 (include)
[cmake]   /opt/ros/dashing/share/rclcpp/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
[cmake]   /opt/ros/dashing/share/rclcpp/cmake/rclcppConfig.cmake:38 (include)

Not sure what is causing the issue. I set the CMAKE_PREFIX_PATH as the following:

edit retag flag offensive close merge delete


Did you find a solution for this? I have the same problem when trying to build rviz_default_plugins in an IDE (building all of rviz works correctly though...)

Martin-Idel gravatar image Martin-Idel  ( 2020-03-06 10:01:49 -0600 )edit