Cannot mix incompatible Qt library issue!

Report crashes, strange behaviour, or apparent bugs
Post Reply
67rtyus
Posts: 2
Joined: 11 Mar 2013, 01:48

Cannot mix incompatible Qt library issue!

Post by 67rtyus »

Hi,

First of all, I am a Linux newbie and it is easy for me to mess things up easily. I think I did so, too, this time, but I can't figure out how to resolve the issue. I am using Kubuntu 12.04. I downloaded the EDU 3.0.1 version of the program, extracted it and run it from the terminal with "./vrep.sh" as stated in the readme file. But the program says:

"Cannot mix incompatible Qt library (version 0x40801) with this library (version 0x40800)
Aborted (core dumped)"

Well, the reason is appearently the software tries to use system version of the Qt, which is newer, with its older libraries and it crashes.

The same issue is reported here: viewtopic.php?f=9&t=21 .The user solved the problem by deleting the Qt files in the V-REP directory with the "rm libQt*" command and it worked. I did the same too, but this time, the program opens and loads, asks for checking new versions and then crashes with the following:


Add-on script 'vrepAddOnScript-addOnScriptDemo.lua' was loaded.
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
QGLContext::makeCurrent(): Cannot make invalid context current.
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
Aborted (core dumped)


Now I am clueless what to do and turned up here for help.

Thanks in advance

coppelia
Site Admin
Posts: 10366
Joined: 14 Dec 2012, 00:25

Re: Cannot mix incompatible Qt library issue!

Post by coppelia »

Hello,

That's a pity. Unfortunately we cannot support/test/debug all Linux distributions and systems. Officially, only Ubuntu is supported, and best is to have the 12.04 LTS version.
You have always the option to recompile the whole thing yourself.
Or maybe some Kubuntu forum (or even Qt forum) can help more there?
It seems it is however an error linked to openGl and/or your graphic card. Are your drivers up-to-date? Is your graphic card quite recent? Otherwise try a search for the error message on google.

Sorry about that.
Cheers

67rtyus
Posts: 2
Joined: 11 Mar 2013, 01:48

Re: Cannot mix incompatible Qt library issue!

Post by 67rtyus »

Ok, I will try to get newest video card drivers and will try again. I will report back about what happened, then.

thearvie
Posts: 6
Joined: 21 Mar 2013, 19:33

Re: Cannot mix incompatible Qt library issue!

Post by thearvie »

Hello folks!
We're facing the same problem that 67rtyus reported.

Trying to run v-rep only brings us the splash screen, and the program crashes right after.

BUT, we are in fact using Ubuntu x64 ver 12.04 as suggested by Coppelia, with brand new video card drivers by NVIDIA to our 9500gt, driver: NVIDIA-Linux-x86_64-319.17.
Ubuntu is up to date, QT is up to date, and, still, the same error occours.

Here is the error message:
lasca38@lasca38-System-Product-Name:~/vrep$ ./vrep
Add-on script 'vrepAddOnScript-addOnScriptDemo.lua' was loaded.
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
QGLContext::makeCurrent(): Cannot make invalid context current.
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
Aborted (imagem do núcleo gravada)

ktjolsen
Posts: 3
Joined: 18 Jun 2013, 07:41

Re: Cannot mix incompatible Qt library issue!

Post by ktjolsen »

As suggested viewtopic.php?f=9&t=523, installing Bumblebee worked for me (I think, got a message about internal error in Ubuntu, but V-REP is still running and functional).

How to install Bumblebee?
- From https://wiki.ubuntu.com/Bumblebee:
You need to open your terminal and enter the commands below.

If on 12.04.2, replace linux-headers-generic with linux-headers-generic-lts-quantal.

sudo add-apt-repository ppa:bumblebee/stable

sudo apt-get update
Install Bumblebee using the default proprietary nvidia driver:

sudo apt-get install bumblebee virtualgl linux-headers-generic
Reboot
Hope this works!

joannejA27
Posts: 1
Joined: 21 Jan 2015, 17:52

Re: Cannot mix incompatible Qt library issue!

Post by joannejA27 »

12.04 LTS version works for my computer. Try it.

Post Reply