ROS2 windows DLL load failed

asked 2019-07-10 09:34:59 -0500

chilicheese gravatar image

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

I followed the https://index.ros.org/doc/ros2/Instal... 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
edit retag flag offensive close merge delete

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.

Adrien BARRAL gravatar imageAdrien BARRAL ( 2019-07-18 10:15:24 -0500 )edit

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

obucklin gravatar imageobucklin ( 2019-10-02 06:17:18 -0500 )edit

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

JayROS gravatar imageJayROS ( 2019-10-08 13:48:25 -0500 )edit
1

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

obucklin gravatar imageobucklin ( 2019-10-10 03:12:28 -0500 )edit