[ros-users] [Discourse.ros.org] [Next Generation ROS] Talker example issue with Beta 1

mch ros.discourse at gmail.com
Wed Mar 22 22:08:59 UTC 2017




Had the same problem on the last release on Linux Mint (Ubuntu 16):
~/ros2_ws $ build/demo_nodes_cpp/listener
terminate called after throwing an instance of 'std::runtime_error'
  what():  could not create publisher: type support not from this implementation, at /home/mc/ros2_ws/src/ros2/rmw_fastrtps/rmw_fastrtps_cpp/src/functions.cpp:782, at /home/mc/ros2_ws/src/ros2/rcl/rcl/src/rcl/publisher.c:81
Aborted

LD_LIBRARY_PATH is not set after execution of install/local_setup.bash
I set it manually as advised above
export LD_LIBRARY_PATH=/home/mc/ros2_ws/install/lib

It solves the problem.
Thank you.






---
[Visit Topic](https://discourse.ros.org/t/talker-example-issue-with-beta-1/992/26) or reply to this email to respond.




More information about the ros-users mailing list