Robotics StackExchange | Archived questions

ROS2 windows installation failure

I am following the guide: https://docs.ros.org/en/foxy/Installation/Windows-Install-Binary.html and every step is successful, except for this one:

Try some examples

ros2 run demonodescpp talker

The program does not say anything and end up silently after 1 second.

ros2 run demonodespy listener Error goes like this: RuntimeError: Failed to initialize initoptions: failed to load shared library 'C:\dev\ros2foxy\bin/rmwfastrtpscpp.dll' due to LoadLibrary error: 126, at C:\ci\ws\src\ros2\rcutils\src\sharedlibrary.c:88, at C:\ci\ws\src\ros2\rmwimplementation\rmwimplementation\src\functions.cpp:84, at C:\ci\ws\src\ros2\rcl\rcl\src\rcl\initoptions.c:61

Asked by 2catycm on 2022-03-05 23:24:37 UTC

Comments

C:\dev\ros2_foxy\bin/rmw_fastrtps_cpp.dll exists

Asked by 2catycm on 2022-03-05 23:25:06 UTC

Answers

I found this issue https://github.com/ros2/ros2_documentation/issues/488 trying to reinstall

btw, the installation has so many obstacles

Asked by 2catycm on 2022-03-06 01:01:42 UTC

Comments