Page 1 of 1

Cannot mix incompatible Qt library issue!

Posted: 11 Mar 2013, 02:06
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

Re: Cannot mix incompatible Qt library issue!

Posted: 11 Mar 2013, 12:15
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

Re: Cannot mix incompatible Qt library issue!

Posted: 11 Mar 2013, 12:21
by 67rtyus
Ok, I will try to get newest video card drivers and will try again. I will report back about what happened, then.

Re: Cannot mix incompatible Qt library issue!

Posted: 07 May 2013, 20:36
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)

Re: Cannot mix incompatible Qt library issue!

Posted: 25 Jun 2013, 05:39
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!

Re: Cannot mix incompatible Qt library issue!

Posted: 21 Jan 2015, 18:05
by joannejA27
12.04 LTS version works for my computer. Try it.