Unable to launch gazebo Cannot mix incompatible Qt library

asked 2020-01-15 00:09:58 -0500

eko_rudiawan gravatar image

updated 2022-01-22 16:10:15 -0500

Evgeny gravatar image

I got a problem when launch gazebo empty_world by using this command

roslaunch gazebo_ros empty_world.launch

Got an error

    [gazebo_gui-3] process has died [pid 9940, exit code 134, cmd /opt/ros/melodic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/eko_rudiawan/.ros/log/8d0c817e-375c-11ea-9da8-94b86d292534/gazebo_gui-3.log].
log file: /home/eko_rudiawan/.ros/log/8d0c817e-375c-11ea-9da8-94b86d292534/gazebo_gui-3*.log

But running gazebo using start menu is normal. Try run from terminal with command

gazebo --verbose

Got an error message

[Msg] Waiting for master.
[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.0.102
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.0.102
[Err] [GuiIface.cc:124] Cannot mix incompatible Qt library (version 0x50905) with this library (version 0x50c05)

The problem looks like incompatible with QT library I usually run ROS with Conda environment, and check the version with qmake --version

QMake version 3.1
Using Qt version 5.9.7 in /home/eko_rudiawan/anaconda3/envs/ros_env/lib

Is there any solution to solve this problem?? I used ROS Melodic in Linux Mint 19.3 Tricia with Gazebo 9 installed

edit retag flag offensive close merge delete

Comments

please don't post your question in three different sites. Let's follow the problem here http://answers.gazebosim.org/question...

jrivero gravatar image jrivero  ( 2020-02-03 12:28:47 -0500 )edit