nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   build problems with provided gl.h and glext.h headers in newest nvidia version (http://www.nvnews.net/vbulletin/showthread.php?t=24252)

tuhtah 01-30-04 09:06 AM

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.

gziegler 05-01-04 05:37 PM

Re: build problems with provided gl.h and glext.h headers in newest nvidia version
 
Thanks for that bugfix - I just registered here to report that bug .... did you receive any feedback from the Linux driver team ?


All times are GMT -5. The time now is 01:33 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.