Compile V-REP on Ubuntu Xenial, i386

Report crashes, strange behaviour, or apparent bugs
Post Reply
dpas
Posts: 5
Joined: 12 Jun 2016, 05:50

Compile V-REP on Ubuntu Xenial, i386

Post by dpas » 13 Jun 2016, 15:11

Compiling V-REP on Ubuntu Xenial 16.04, i386, Qt5.5.1 stops on make with an error with 'CCollDistInterface'. Until the function qdlgabout.cpp there is no message of error.
-I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o qdlgabout.o
sourceCode/gui/dialogs/qdlgabout.cpp
sourceCode/gui/dialogs/qdlgabout.cpp: In member function ‘virtual void CQDlgAbout::initializationEvent()’:
sourceCode/gui/dialogs/qdlgabout.cpp:70:6: error: ‘CCollDistInterface’ has not been declared
if (CCollDistInterface::initializeFunctionsIfNeeded())
^
Makefile:27468: recipe for target 'qdlgabout.o' failed
make: *** [qdlgabout.o] Error 1
what would you advise to check first to pass through this error?

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

Re: Compile V-REP on Ubuntu Xenial, i386

Post by coppelia » 15 Jun 2016, 07:07

Hello,

here again, you need to replace

Code: Select all

CCollDistInterface::initializeFunctionsIfNeeded()
with

Code: Select all

CPluginContainer::isMeshPluginAvailable()
Cheers

dpas
Posts: 5
Joined: 12 Jun 2016, 05:50

Re: Compile V-REP on Ubuntu Xenial, i386

Post by dpas » 16 Jun 2016, 09:41

Thank you for your answers. It's a real pleasure to communicate and leave our trace here.

Now, the answer is not all you need as on changing to CPluginContainer check, make says that "CPluginContainer has not been declared" there.

Code: Select all

 -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o qdlgabout.o sourceCode/gui/dialogs/qdlgabout.cpp
sourceCode/gui/dialogs/qdlgabout.cpp: In member function ‘virtual void CQDlgAbout::initializationEvent()’:
sourceCode/gui/dialogs/qdlgabout.cpp:70:6: error: ‘CPluginContainer’ has not been declared
  if (CPluginContainer::isMeshPluginAvailable())
      ^
Makefile:27468: recipe for target 'qdlgabout.o' failed
make: *** [qdlgabout.o] Error 1
thank you for your advise.

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

Re: Compile V-REP on Ubuntu Xenial, i386

Post by coppelia » 16 Jun 2016, 09:45

Add following at the top of your file:

Code: Select all

#include "pluginContainer.h"
Cheers

dpas
Posts: 5
Joined: 12 Jun 2016, 05:50

Re: Compile V-REP on Ubuntu Xenial, i386

Post by dpas » 16 Jun 2016, 19:46

with these small changes, and
even as as I had to copy the SciLexer.h into the /sourceCode/gui/scintillaRelated/ folder, while INCLUDEPATH for SciLexer.h is OK (boggles mind why)

v-rep 3_3_1 compiles on ubuntu xenial 16.04, i386, Qt version 5.5.1 with no error.

Thank you for you help!

Post Reply