ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

tutrlesim_node fails due to incompatible Qt library

asked 2019-08-22 10:19:13 -0500

EugVal gravatar image

Hello,

I am new to ros, and currently following the beginners tutorials. I installed ros melodic on Ubuntu 18.04 and followed the instructions up to section 7 in http://wiki.ros.org/ROS/Tutorials/UnderstandingNodes , where we need to activate the turtlesim node.

Running $ rosrun turtlesim turtlesim_node I get the following:

Cannot mix incompatible Qt library (version 0x50905) with this library (version 0x50c01) Aborted (core dumped)

rqt and rqt-common-plugins run fine (if that's informative in any way).

I could not find any information on why this might be the case or how to fix it, I would appreciate any ideas!

edit retag flag offensive close merge delete

Comments

Any luck with this? I just ran into the same issue trying to run rviz2 for the first time.

cblakely gravatar image cblakely  ( 2019-08-29 12:44:16 -0500 )edit

Unfortunately not, help with this would still be welcome!

EugVal gravatar image EugVal  ( 2019-09-23 10:35:23 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-09-24 10:15:32 -0500

EugVal gravatar image

I managed to fix it by clearing the LD_LIBRARY_PATH environment variable.

My understanding is that turtlesim (and RViz) will use the default version of Qt installed with ubuntu (if they are installed through apt). If you have another version of Qt somewhere in your system and point to it through the LD_LIBRARY_PATH they will then not work.

For reference, what helped me solve the issue: https://github.com/ros-visualization/...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-08-22 10:16:44 -0500

Seen: 1,060 times

Last updated: Aug 22 '19