Building on EL6, make error

All about Linux portage
Post Reply
cc_compare
Posts: 2
Joined: Wed Nov 12, 2014 5:18 pm

Building on EL6, make error

Post by cc_compare »

Hi,

Trying to build this on EL6. I have cmake 2.8.12.2, qt-4.6, mesa-libGL, and mesa-libGL-devel. I think my dependencies should be ok. But here is the make error that I get:

[ 13%] Building CXX object libs/qCC_db/CMakeFiles/QCC_DB_LIB.dir/ccClipBox.cpp.o
make[2]: *** [libs/qCC_db/CMakeFiles/QCC_DB_LIB.dir/cc2DLabel.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /scratch/cbc/trunk-master/libs/qCC_db/ccBox.cpp:22:
/scratch/cbc/trunk-master/libs/qCC_db/ccPointCloud.h:38:21: error: QGLBuffer: No such file or directory
In file included from /scratch/cbc/trunk-master/libs/qCC_db/ccCameraSensor.cpp:21:
/scratch/cbc/trunk-master/libs/qCC_db/ccPointCloud.h:38:21: error: QGLBuffer: No such file or directory
In file included from /scratch/cbc/trunk-master/libs/qCC_db/ccBox.cpp:22:
/scratch/cbc/trunk-master/libs/qCC_db/ccPointCloud.h:561: error: invalid use of incomplete type ‘struct QGLBuffer’
/scratch/cbc/trunk-master/libs/qCC_db/ccPointCloud.h:43: error: forward declaration of ‘struct QGLBuffer’
/scratch/cbc/trunk-master/libs/qCC_db/ccPointCloud.h: In constructor ‘ccPointCloud::VBO::VBO()’:
/scratch/cbc/trunk-master/libs/qCC_db/ccPointCloud.h:572: error: type ‘QGLBuffer’ is not a direct base of ‘ccPointCloud::VBO’
/scratch/cbc/trunk-master/libs/qCC_db/ccPointCloud.h:572: error: incomplete type ‘QGLBuffer’ used in nested name specifier
In file included from /scratch/cbc/trunk-master/libs/qCC_db/ccCameraSensor.cpp:21:
/scratch/cbc/trunk-master/libs/qCC_db/ccPointCloud.h:561: error: invalid use of incomplete type ‘struct QGLBuffer’
/scratch/cbc/trunk-master/libs/qCC_db/ccPointCloud.h:43: error: forward declaration of ‘struct QGLBuffer’
/scratch/cbc/trunk-master/libs/qCC_db/ccPointCloud.h: In constructor ‘ccPointCloud::VBO::VBO()’:
/scratch/cbc/trunk-master/libs/qCC_db/ccPointCloud.h:572: error: type ‘QGLBuffer’ is not a direct base of ‘ccPointCloud::VBO’
/scratch/cbc/trunk-master/libs/qCC_db/ccPointCloud.h:572: error: incomplete type ‘QGLBuffer’ used in nested name specifier
make[2]: *** [libs/qCC_db/CMakeFiles/QCC_DB_LIB.dir/ccBox.cpp.o] Error 1
make[2]: *** [libs/qCC_db/CMakeFiles/QCC_DB_LIB.dir/ccCameraSensor.cpp.o] Error 1
make[1]: *** [libs/qCC_db/CMakeFiles/QCC_DB_LIB.dir/all] Error 2
make: *** [all] Error 2

I have a feeling this could have to do with OpenGL. But the mesa-libGL is supposed to suffice. Thoughts? Thanks.
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Building on EL6, make error

Post by daniel »

It's seems more to be a Qt issue to me. What version are you using?
Daniel, CloudCompare admin
cc_compare
Posts: 2
Joined: Wed Nov 12, 2014 5:18 pm

Re: Building on EL6, make error

Post by cc_compare »

qt-4.6.2-28.el6_5.x86_64

Best,
Chris
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Building on EL6, make error

Post by daniel »

I fear Qt 4.6 may be a little too old (QGLBuffer has been introduced in QT 4.7). Can you get a more recent version on EL6?
Daniel, CloudCompare admin
Post Reply