Building on EL6, make error
Posted: Wed Nov 12, 2014 5:22 pm
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.
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.