ROS2 Eloquent(Binary Install Windows) Turtlesim Missing Qt platform plugin

asked 2020-02-05 09:19:35 -0600

marreb gravatar image

I have installed ROS2 Eloquent from the pre-built binary package on Windows 10 v1809. I followed the guide https://index.ros.org/doc/ros2/Instal....

The Talker/Listener example works, however when using:

call C:\dev\ros2_eloquent\local_setup.bat

the program yields 2 warnings:

C:\WINDOWS\system32>call C:\dev\ros2_eloquent\local_setup1.bat
[connext_cmake_module] Warning: The location at which Connext was found when the workspace was built [[C:\Program Files\rti_connext_dds-5.3.1]] does not point to a valid directory, and the NDDSHOME environment variable has not been set. Support for Connext will not be available.
[opensplice_cmake_module] Warning: The location at which OpenSplice was found when the workspace was built [[C:\dev\opensplice\HDE\x86_64.win64\]] does not point to a valid directory, and the OSPL_HOME environment variable has not been set. Support for OpenSplice will not be available.

Trying out the tutorial https://index.ros.org/doc/ros2/Tutori... and using the turtlesim command:

C:\WINDOWS\system32>ros2 run turtlesim turtlesim_node 
This application failed to start because it could not find or load the Qt platform plugin "windows" in "". Reinstalling the application may fix this problem.

Found a thread with the same problem, but this solution seems to fix the problem when installing from source and hence installing QT, which is not needed for the binary install? https://answers.ros.org/question/3392...

Finally, trying the "rqt" command from the same tutorial yields:

RosPluginProvider._parse_plugin_xml() plugin file "C:\dev\ros2_eloquent\share\qt_gui_cpp/plugin.xml" in package "qt_gui_cpp" not found 
RosPluginProvider._parse_plugin_xml() plugin file "C:\dev\ros2_eloquent\share\rqt_gui_cpp/plugin.xml" in package "rqt_gui_cpp" not found
RosPluginProvider._parse_plugin_xml() plugin file "C:\dev\ros2_eloquent\share\qt_gui_cpp/plugin.xml" in package "qt_gui_cpp" not found
RosPluginProvider._parse_plugin_xml() plugin file "C:\dev\ros2_eloquent\share\rqt_gui_cpp/plugin.xml" in package "rqt_gui_cpp" not found

I have extra checked the PATH variables from the guide and also added "C:\Python37\Lib\site-packages\PyQt5\Qt\plugins\platforms", but no success.

Any solution to this? Do I need to install QT even though it's not in the guide? Thankful for answers. /M

edit retag flag offensive close merge delete

Comments

I had to install QT to get it to work for me.

billy gravatar imagebilly ( 2020-02-05 10:04:34 -0600 )edit

Thanks billy, I was able to run turtlesim by doing that. However, when trying to run the commands where visuals are needed, I think the original problem remains. For example rqt, rqt_graph, rqt_console. Any succes with those?

marreb gravatar imagemarreb ( 2020-02-06 07:38:47 -0600 )edit

Oh yes. Same issue for me. Installing QT fixed issue with the turtlebot simulation, but I get same errors trying to run RQT.

billy gravatar imagebilly ( 2020-02-07 01:46:02 -0600 )edit