View Single Post
Old 01-30-04, 09:06 AM   #1
tuhtah
Registered User
 
Join Date: Jan 2004
Posts: 1
Default build problems with provided gl.h and glext.h headers in newest nvidia version

hi!

i would like to report a problem with the provided nvidia gl headers in the latest nvidia
driver version.

if one tries to compile the following code snippet by using the provided headers,
the following happens:

Quote:
#define GL_GLEXT_PROTOTYPES 1
#include <GL/gl.h>
int main(int argc, char *argv[]) { return 0; }
Quote:
In file included from GL/gl.h:62,
from test.c:2:
GL/glext.h:3178: parse error before "boolean"
In file included from test.c:2:
GL/gl.h:1706: conflicting types for `glPointParameterfv'
GL/glext.h:2114: previous declaration of `glPointParameterfv'
GL/gl.h:1731: conflicting types for `glMultiDrawArrays'
GL/glext.h:2111: previous declaration of `glMultiDrawArrays'
GL/gl.h:1749: conflicting types for `glSecondaryColorPointer'
GL/glext.h:2131: previous declaration of `glSecondaryColorPointer'
this is creating an issue in building certain software that makes use of the GL_GLEXT_PROTOTYPES preprocessor define and is documented in full detail on
http://bugs.gentoo.org/show_bug.cgi?id=37517

i also attached a patch against the 5328 version to remedy the situation which you
can find here: http://bugs.gentoo.org/attachment.cg...81&action=view

you also just recently added the glext.h to your driver release where i somehow can't
loose the impression that this was not meant to be included.

thanks in advance for any comment on this and for your continued support of the
Unix community!

cheers,
tamer.
tuhtah is offline   Reply With Quote