On Sat, 25 Jan 2003 01:14:15 +0100 Raphaël Junqueira fenix@club-internet.fr wrote:
Including glext.h appears to break the DLL for me. NVidia's GL headers (gl.h) already define some of the types specified in glext.h. I presume X installs glext.h, but I've not had a conflict between the two headers before.
In file included from d3d8_private.h:30, from device.c:35: /usr/local/include/GL/glext.h:3142: conflicting types for `glCopyTexSubImage3DEXT' /usr/local/include/GL/gl.h:2486: previous declaration of `glCopyTexSubImage3DEXT' /usr/local/include/GL/glext.h:3566: conflicting types for `glColorSubTableEXT' /usr/local/include/GL/gl.h:2446: previous declaration of `glColorSubTableEXT' /usr/local/include/GL/glext.h:4372: conflicting types for `glTbufferMask3DFX' /usr/local/include/GL/gl.h:2984: previous declaration of `glTbufferMask3DFX' /usr/local/include/GL/glext.h:4406: conflicting types for `glTextureColorMaskSGIS' /usr/local/include/GL/gl.h:3050: previous declaration of `glTextureColorMaskSGIS'
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le Mardi 28 Janvier 2003 21:56, Andrew John Hughes a écrit :
On Sat, 25 Jan 2003 01:14:15 +0100
Raphaël Junqueira fenix@club-internet.fr wrote:
<snip>
yukkkk,
it's a known recurrent problem ;( currently i have a proto where i redefined all the types, protos, ... but it's not merged yet (it's a HAL arch draft)
sorry, but your nvidia header don't seem to respect the "standard" ;(
can you send me your nvidia gl.h header i'll try to play with #ifdef/#endif
Raphael
why not file a bug report to NVidia ? after all only THEIR headers dont work...
ATTACHMENT part 2 application/pgp-signature
===== Sylvain Petreolle spetreolle@users.sourceforge.net Fight against Spam ! http://www.euro.cauce.org/en/index.html ICQ #170597259
"Don't think you are. Know you are." Morpheus, in "Matrix".
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
On Tue, 28 Jan 2003 22:21:59 +0100 (CET) Sylvain Petreolle spetreolle@yahoo.fr wrote:
Fortunately, the problem is lessened by the fact that the headers don't appear to be installed by default. However, there is an incentive to replace the X ones with the NVidia ones as they "contain the most up to date versions of NVIDIA's OpenGL extensions". Looking round their website, there doesn't seem to be anywhere to report the conflict or give any feedback to them at all - I couldn't find any contact details. Not suprising when you think that they must be the only company to supply executable headers (implying that they are developed on a Win32 system). It's not all bad though - in the Developer's corner of their web-site, there seem to be some good examples of DirectX stuff, with source. Might be useful for testing Wine... (although I don't know the legalities - they jseem to be freely downloadable)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le Mardi 28 Janvier 2003 22:58, Andrew John Hughes a écrit :
you are right, i'm fixing this problem now (thx to your reply)
yes they are usefull, as nvidia effect browser is perfect for testing vertex shader emulation code ;)
Raphael