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

Rgbdslam crahes with Exit code -6

asked 2013-04-23 20:01:16 -0600

Karan gravatar image

updated 2014-01-28 17:16:19 -0600

ngrennan gravatar image

Hey i am using the GUI version of the rgbdslam. It worked fine earlier but now i am getting a wierd problem .

Whenever i start the node it crashes and gives out the following error.

    Cannot mix incompatible Qt library (version 0x40801) with this library (version 0x40804)
    ================================================================================
REQUIRED process [rgbdslam-1] has died!
    process has died [pid 3190, exit code -6, cmd /home/karan/ros_workspace/rgbdslam_freiburg/rgbdslam/bin/rgbdslam __name:=rgbdslam __log:=/home/karan/.ros/log/14bc0f78-aca3-11e2-bff4-8ca9824e2ee4/rgbdslam-1.log].
    log file: /home/karan/.ros/log/14bc0f78-aca3-11e2-bff4-8ca9824e2ee4/rgbdslam-1*.log
    Initiating shutdown!
    ================================================================================

The headless launch file works fine and i am able to register frames via service calls. So the problem is only GUI related.

It kind of is a problem of the Qt library having 2 versions installed on my system. How can i solve this problem. Any help would be apprecaited.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-04-28 22:27:58 -0600

Hi, not sure how to solve this, but here are some ideas:

Maybe your compiler/linker uses another qt version than what is loaded at runtime? Find out what rgbdslam is compiled with (make VERBOSE=1) and linked against (ldd bin/rgbdslam|grep Q).

Maybe you need to adjust the environment variable LD_LIBRARY_PATH by adding the path of the correct Qt or putting it in front of the "incorrect" path. Or see if you can adapth the settings in CMakeLists.txt (the line "find_package(Qt4 REQUIRED"?) to use the other Qt version.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-23 20:01:16 -0600

Seen: 1,118 times

Last updated: Apr 28 '13