PDA

View Full Version : GLC_lib 1.2.0 installation error



sujan.dasmahapatra
19th November 2009, 09:02
Dear Friends
I am finding the following errors in compiling GLC_lib 1.2.0 can anyone help me finding whats going wrong.Thanks
//////////////////////////////////////////////////
lib3ds/tracks.c:1551: warning: enumeration value `LIB3DS_UNKNOWN_NODE' not handled in switch
gcc -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/pack/Qt-4.4.3/mkspecs/linux-g++-64 -I. -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include -I. -Izlib -I/usr/X11R6/include -IBuild -IBuild -o Build/vector.o lib3ds/vector.c
gcc -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/pack/Qt-4.4.3/mkspecs/linux-g++-64 -I. -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include -I. -Izlib -I/usr/X11R6/include -IBuild -IBuild -o Build/viewport.o lib3ds/viewport.c
lib3ds/viewport.c: In function `lib3ds_viewport_dump':
lib3ds/viewport.c:383: warning: long int format, different type arg (arg 2)
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/pack/Qt-4.4.3/mkspecs/linux-g++-64 -I. -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include -I. -Izlib -I/usr/X11R6/include -IBuild -IBuild -o Build/glc_vector4d.o maths/glc_vector4d.cpp
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/pack/Qt-4.4.3/mkspecs/linux-g++-64 -I. -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include -I. -Izlib -I/usr/X11R6/include -IBuild -IBuild -o Build/glc_matrix4x4.o maths/glc_matrix4x4.cpp
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/pack/Qt-4.4.3/mkspecs/linux-g++-64 -I. -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include -I. -Izlib -I/usr/X11R6/include -IBuild -IBuild -o Build/glc_interpolator.o maths/glc_interpolator.cpp
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/pack/Qt-4.4.3/mkspecs/linux-g++-64 -I. -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include -I. -Izlib -I/usr/X11R6/include -IBuild -IBuild -o Build/glc_distance.o maths/glc_distance.cpp
In file included from maths/../sceneGraph/../geometry/../geometry/glc_vbogeom.h:33,
from maths/../sceneGraph/../geometry/glc_3drep.h:28,
from maths/../sceneGraph/glc_3dviewinstance.h:35,
from maths/glc_distance.h:31,
from maths/glc_distance.cpp:26:
maths/../sceneGraph/../geometry/../geometry/../glc_ext.h:51: error: `PFNGLDELETEPROGRAMPROC' does not name a type
maths/../sceneGraph/../geometry/../geometry/../glc_ext.h:54: error: `PFNGLDELETESHADERPROC' does not name a type
maths/../sceneGraph/../geometry/../geometry/../glc_ext.h:63: error: `PFNGLGETSHADERIVPROC' does not name a type
maths/glc_distance.cpp: In member function `void GLC_Distance::addInstancesInGroup1(const QList<GLC_3DViewInstance>&)':
maths/glc_distance.cpp:106: error: no matching function for call to `QList<GLC_3DViewInstance>::append(const QList<GLC_3DViewInstance>&)'
/usr/local/pack/Qt-4.4.3/include/QtCore/qlist.h:415: note: candidates are: void QList<T>::append(const T&) [with T = GLC_3DViewInstance]
maths/glc_distance.cpp: In member function `void GLC_Distance::addInstancesInGroup2(const QList<GLC_3DViewInstance>&)':
maths/glc_distance.cpp:118: error: no matching function for call to `QList<GLC_3DViewInstance>::append(const QList<GLC_3DViewInstance>&)'
/usr/local/pack/Qt-4.4.3/include/QtCore/qlist.h:415: note: candidates are: void QList<T>::append(const T&) [with T = GLC_3DViewInstance]
make: *** [Build/glc_distance.o] Error 1

faldzip
19th November 2009, 13:30
this error:


maths/glc_distance.cpp:106: error: no matching function for call to `QList<GLC_3DViewInstance>::append(const QList<GLC_3DViewInstance>&)'
/usr/local/pack/Qt-4.4.3/include/QtCore/qlist.h:415: note: candidates are: void QList<T>::append(const T&) [with T = GLC_3DViewInstance]
is because you use Qt 4.4.3 and the required method was introduced in 4.5 so you have to upgrade to 4.5.x