Robotics StackExchange | Archived questions

ROS2 windows DLL load failed

Hi, I hope someone can help me with this error.

I followed the https://index.ros.org/doc/ros2/Installation/Dashing/Windows-Development-Setup/ to install ROS2 on windows.

ros2 run demo_nodes_cpp talker 
Failed to load entry point 'info': DLL load failed: The specified module was not found.
The C extension 'C:\dev\ros2-windows\Lib\site-packages\rosbag2_transport\_rosbag2_transport_py.pyd' failed to be imported while being present on the system. Please refer to 'https://index.ros.org/doc/ros2/Troubleshooting/#import-failing-even-with-library-present-on-the-system' for possible solutions
Failed to load entry point 'play': DLL load failed: The specified module was not found.
The C extension 'C:\dev\ros2-windows\Lib\site-packages\rosbag2_transport\_rosbag2_transport_py.pyd' failed to be imported while being present on the system. Please refer to 'https://index.ros.org/doc/ros2/Troubleshooting/#import-failing-even-with-library-present-on-the-system' for possible solutions
Failed to load entry point 'record': DLL load failed: The specified module was not found.
The C extension 'C:\dev\ros2-windows\Lib\site-packages\rosbag2_transport\_rosbag2_transport_py.pyd' failed to be imported while being present on the system. Please refer to 'https://index.ros.org/doc/ros2/Troubleshooting/#import-failing-even-with-library-present-on-the-system' for possible solutions

Asked by chilicheese on 2019-07-10 09:34:59 UTC

Comments

I have exactly the same problem, but no time to investigate. I just try to run dependcy walker on the .pyd (as suggested in the troubleshooting link), ans there is no missing dependancies.

Asked by Adrien BARRAL on 2019-07-18 10:15:24 UTC

I have the same problem. The Dependencies program identifies the missing dll's, which are rosbag2_transport.dll and rmw_implementation.dll both of which are in C:\dev\ros2\bin which is already in PATH. I tried installing from the binaries as well as with packages via colcon. Just trying to get ROS2 to run! Thanks

Asked by obucklin on 2019-10-02 06:17:18 UTC

I just ran into the same problem. Exactly as you, obucklin.

Asked by JayROS on 2019-10-08 13:48:25 UTC

So I solved it. You have to run the rosbag2_transport.dll and rmw_implementation.dll through the Dependencies program as well and it will give you more missing dll's. Find those on your drive and put those locaitons into PATH as well. Hope that helps

Asked by obucklin on 2019-10-10 03:12:28 UTC

Answers