asked 2019-03-20 06:09:19 -0500

praetorianer777 gravatar image

updated 2019-03-20 06:11:16 -0500

gvdhoorn gravatar image


does anybody know how to fix this error message?

Failed to find library 'rcl_interfaces__rosidl_typesupport_fastrtps_c'
terminate called after throwing an instance of 'rclcpp::exceptions::RCLError'
  what():  failed to initialize rcl node: type support not from this implementation, at /home/steve/ros2_ws/src/ros2/rmw_fastrtps/rmw_fastrtps_cpp/src/rmw_publisher.cpp:81, at /home/steve/ros2_ws/src/ros2/rcl/rcl/src/rcl/publisher.c:173

The exceptions is thrown at this line:

auto node = rclcpp::Node::make_shared("minimal_publisher");

Kind regards

edit retag flag offensive close merge delete


is your library compiled ? mean do you have rcl_interfaces__rosidl_typesupport_fastrtps_c.so generated?

AnandShastry gravatar imageAnandShastry ( 2019-04-09 06:36:09 -0500 )edit

Hi, I have the same problem. The library is not compiled. How do I compile it ? I installed ROS2 from sources on Linux.

ananya.muddu gravatar imageananya.muddu ( 2019-06-17 04:39:12 -0500 )edit