[Qt-interest] GL_lib for LINUX
Stephen Jackson
spjackson42 at gmail.com
Thu Nov 19 10:45:53 CET 2009
2009/11/19 Srdjan Todorovic :
> On 19/11/2009, Sujan Dasmahapatra wrote:
>> Dear Friends
>> Kindly view the error log I am getting while installing GLC_lib 1.2.0 in
>> linux. Can any one help me get rid of this problem.
>> Thanks
>> sujan
>
> >From your log:
>
> 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
>
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.
>
> An extremely simple Google search shows up:
> http://svn.warwickgamedesign.co.uk/repos/wgd-lib/trunk/src/base/extensions.cpp
>
> You can see many other PFNXXXXXXXXXXXXXPROC used. They look like
> function pointers.
>
> And are perfixed by GL. And the GL includes are at the top of the file.
> So my guess is that it's part of the OpenGL libraries.
>
> As for the errors about QList... You look like you are appending a
> list to another list, which append() does not do.
>
This is true for Qt 4.4.3 which Sujan is trying to use, but this
overload does indeed exist in Qt 4.5.
Sujan, I have successfully built GLC_lib 1.2.0 on Linux with Qt 4.5.3
However, it cannot be built with 4.4.3 because of this issue (and
possibly more). If I try to build with 4.4.3 then I get this error
concerning QList, however I do not get the errors regarding undefined
types above, which is why I suggest there may be something wrong with
your download of GLC_lib.
--
Hope this helps,
Stephen Jackson
More information about the Qt-interest-old
mailing list