ROS2 Windows failed to load shared library of rmw implementation
I am following the Windows install instructions. When I try to run the talker, I get the following error (multiple times):
'failed to load shared library of rmw implementation. Exception: Cannot load library: C:\Users\xxxx\Source\External\ros2-windows\bin/rmw_fastrtps_cpp.dll, at C:\J\workspace\ci_packaging_windows\ws\src\ros2\rmw_implementation\rmw_implementation\src\functions.cpp:135'
The file 'rmw_fastrtps_cpp.dll' is installed in that location. I am on Windows 10 with all the updates using the most recent version of ROS2 and other files as directed by the installation instructions.
Troubleshooting advice would be helpful!
Cheers, Eric
Did you source the
setup.bat
file? It's required because it adds folders to thePATH
which is what Windows uses to find.dll
files.(thanks for replying, William)
Yes, I still encounter the problem. There is really nothing in the error that helps me fix the issue. If there is a missed step or other common issue, I'd like to update the Windows install docs to help others.
I got it to install just fine on Ubuntu.
Is the root in that weird combination of "\" and "/" in your path?
I found my question to be about the same issue. Wheneyer I want to call
rclpy.init
, this error occurs. Even when publishing from command line. Maybe this is a compilation issue? Did you compile from source?@EricB Does the answer from https://answers.ros.org/question/3021... also fixes this issue ?
I have the same problem. Is here any solution?
Same problem here. Using a english locale does not solve the issue. Any news?
Sorry for the late reply. I then switched back to ROS and did not try any further.