Compiling V-Rep

Typically: "How do I... ", "How can I... " questions
Post Reply
Ngdk
Posts: 18
Joined: 17 Apr 2014, 14:26

Compiling V-Rep

Post by Ngdk »

Hi,
I am new in V-Rep, I'm installing and compiling v-rep following this tutorial http://www.coppeliarobotics.com/helpFil ... ngVrep.htm, when I try to compile v_rep.pro file with qmake the output is following

Code: Select all

Project MESSAGE: release
Project MESSAGE: Warning: unknown QT: printsupport
, then when I do "make" , the output bring me this error at the end

Code: Select all

sourceCode/3dObjects/visionSensorObjectRelated/offscreenGlContext.h:32:26: fatal error: QOpenGLContext: No such file or directory
compilation terminated.
make: *** [propBrowser_engineProp_material.o] Error 1
. I don't know what is the problem because I'm following each step of tutorial.

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

Re: Compiling V-Rep

Post by coppelia »

Hello,

what version of Qt do you have installed?
If you do not compile for MacOSX, then you do not need the printsupport. But that should work fine on all platforms anyways.
The error message about QOpenGLContext should not happen if you are using Qt 5.0 or above.

Cheers

Ngdk
Posts: 18
Joined: 17 Apr 2014, 14:26

Re: Compiling V-Rep

Post by Ngdk »

Hi,
I've seen an other post with same problem and so I've compiled with Gt 5.2.0 but now I have this error

Code: Select all

sourceCode/3dObjects/visionSensorObjectRelated/offscreenGlContext.h:33:29: fatal error: QOffscreenSurface: No such file or directory
compilation terminated.
make: *** [propBrowser_engineProp_material.o] Error 1
when I open file /offscreenGlContext.h there is already this include:

Code: Select all

 #include <QOffscreenSurface>

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

Re: Compiling V-Rep

Post by coppelia »

Sorry, I am at a loss here, Qt 5.2.0 should normally not produce that error...

Ngdk
Posts: 18
Joined: 17 Apr 2014, 14:26

Re: Compiling V-Rep

Post by Ngdk »

Hi,
I've installed all again, now it's all right

Post Reply