[Qt-interest] GL_lib for LINUX
Stephen Jackson
spjackson42 at gmail.com
Mon Dec 14 15:51:44 CET 2009
2009/12/14 Sujan Dasmahapatra :
> Hi Friends
> I am using RHEL 4 and upgraded to QT-4.5.2. but I am still not able to
> compile GLC_lib.Please find attached error-log Do I need to upgrade my
> LINUX version or still QT-4.6 I need.I am not sure .Any help would be
> appreciated.Thanks
> sujan
>
>
[snip]
> 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.5.2/mkspecs/linux-g++-64 -I.
> -I/usr/local/pack/Qt-4.5.2/include/QtCore
> -I/usr/local/pack/Qt-4.5.2/include/QtGui
> -I/usr/local/pack/Qt-4.5.2/include/QtOpenGL
> -I/usr/local/pack/Qt-4.5.2/include -I. -Izlib -I/usr/X11R6/include -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
>
> make: *** [Build/glc_distance.o] Error 1
>
I tried to explain in my reply on 19 November that you had at least
two distinct issues.
http://lists.trolltech.com/pipermail/qt-interest/2009-November/015467.html
One of these was a need to upgrade Qt from 4.4.3, which you have done.
The error that you are left with is the same as one of those you were
having before. This really is nothing to do with Qt. I wrote about
this error: "These 3 types are defined in the GLC_lib file
glext/glext.h . I cannot see an obvious reason why you would get these
errors. Perhaps your download is corrupt? Try downloading again and
comparing this header."
GLC_lib defines these types (in glext/glext.h) and uses them (in
glc_ext.h). As the definition cannot be found, this problem must be
internal to your download of GLC_lib.
If it isn't solved by a fresh download of GLC_lib, then you could
perhaps try the maintainers of that library - it isn't a Qt issue at
all. Further upgrades to Qt will not solve this issue. I don't think
that upgrades to your operating system or compiler will either, but
the maintainers of GLC_lib may be able to confirm this.
--
HTH,
Stephen Jackson
More information about the Qt-interest-old
mailing list