Building V-Rep 3.0.5c

Report crashes, strange behaviour, or apparent bugs
Post Reply
BenjaminV

Building V-Rep 3.0.5c

Post by BenjaminV » 18 Nov 2013, 17:27

Hi,

I tried to compile the last version of V-REP but it fails!

First I have issue with uint variables used in sourceCode/textures/stb_image.c which I have solved with some typedef

Then I have a second issue which is a bit more problematic :

Code: Select all

In file included from sourceCode/interfaces/v_rep.cpp:30:0:
sourceCode/interfaces/v_rep.h:34:33: fatal error: v_rep_funcUndefines.h : No such file or directory
Can you help me?

BTW : I'm on Ubuntu 12.04 with Qt5.1.1 and QScintilla2.8

Thanks

Ben

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

Re: Building V-Rep 3.0.5c

Post by coppelia » 18 Nov 2013, 18:01

Hello Ben,

you are right, the last release has a few problems. You can comment the line that includes v_rep_funcUndefines.h. Probably a few similar occurences.
That happens, because the source code went through a preprocessing stage, that stripped it from many things that are not needed. This should slowly be removed with time, until the source code will be put to a public repository.

Cheers

BenjaminV

Re: Building V-Rep 3.0.5c

Post by BenjaminV » 18 Nov 2013, 18:06

The thing is I tried that too but I had an other issue

Code: Select all

‘_prepareCustomGuiEvent_noDirectEventProccessing’ was not declared in this scope
Surely, the software is compiling on your system... why not on me?

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

Re: Building V-Rep 3.0.5c

Post by coppelia » 18 Nov 2013, 19:26

The version you have is slightly different from the master version, for various practical and historical reasons.
In your case, rename _prepareCustomGuiEvent_noDirectEventProccessing to _prepareCustomGuiEvent_noDirectEventProcessing. Then you should almost be there. We'll try to put an updated version of the source code online within 1-2 days.

Cheers

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

Re: Building V-Rep 3.0.5c

Post by coppelia » 18 Nov 2013, 20:19

Following files were updated:
compilation should be easier now.

Cheers

BenjaminV

Re: Building V-Rep 3.0.5c

Post by BenjaminV » 19 Nov 2013, 09:12

Thank you !

The compilation works fine but when I try to launch vrep I have the following error :

Code: Select all

QMetaType::registerType: Binary compatibility break -- Size mismatch for type 'QPaintBufferCacheEntry' [1024]. Previously registered size 0, now registering size 16.
But I don't think it's vrep related : I have multiple installation of Qt on my computer (Qt4 Qt5.01 and Qt5.1.1) for compatibility reasons.

So for now I'm going to develop under V-Rep 3.0.4 which compiles and runs fine (I'm actually only working on the path planning plugin)

BenjaminV

Re: Building V-Rep 3.0.5c

Post by BenjaminV » 25 Nov 2013, 17:59

So I answer myself : the problem was that I had compiled Qscintilla with Qt4.

I recompiled it with Qt5.1.1 and everything is working now!

Post Reply