Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
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
Old 05-01-04, 05:37 PM   #2
gziegler
Gernot Ziegler
 
gziegler's Avatar
 
Join Date: May 2004
Location: Saarbruecken, Germany
Posts: 8
Send a message via ICQ to gziegler
Question 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 ?
__________________
/Gernot
gziegler is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:44 AM.


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