Unable to launch gazebo Cannot mix incompatible Qt library

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

eko_rudiawan 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