Page 1 of 1

Compile V-REP on Ubuntu Xenial, i386

Posted: 13 Jun 2016, 15:11
by dpas
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?

Re: Compile V-REP on Ubuntu Xenial, i386

Posted: 15 Jun 2016, 07:07
by coppelia
Hello,

here again, you need to replace

Code: Select all

CCollDistInterface::initializeFunctionsIfNeeded()
with

Code: Select all

CPluginContainer::isMeshPluginAvailable()
Cheers

Re: Compile V-REP on Ubuntu Xenial, i386

Posted: 16 Jun 2016, 09:41
by dpas
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.

Re: Compile V-REP on Ubuntu Xenial, i386

Posted: 16 Jun 2016, 09:45
by coppelia
Add following at the top of your file:

Code: Select all

#include "pluginContainer.h"
Cheers

Re: Compile V-REP on Ubuntu Xenial, i386

Posted: 16 Jun 2016, 19:46
by dpas
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!