Hi list, just upgraded to 2.6.0 and the NVIDIA driver from minion.de and now I get this error when compiling wine:
directx.c: In function `IDirect3D8Impl_GetDeviceCaps': directx.c:639: `GL_MAX_VERTEX_UNITS_ARB' undeclared (first use in this function)
My X11/include/GL/ headers date, 2001-2002.
Greetings, --Thomas _________________ My worst enemy gave me a copy of Windows...
Le mer 07/01/2004 à 11:34, Thomas Brix Larsen a écrit :
Hi list, just upgraded to 2.6.0 and the NVIDIA driver from minion.de and now I get this error when compiling wine:
directx.c: In function `IDirect3D8Impl_GetDeviceCaps': directx.c:639: `GL_MAX_VERTEX_UNITS_ARB' undeclared (first use in this function)
My X11/include/GL/ headers date, 2001-2002.
Don't install NVIDIA's headers then, keep the ones you had before (XFree86, Mesa).
Older versions of the NVIDIA driver didn't include GL/glext.h, so weren't affected.
Maybe Jason or Lionel or Rafael can take a look at how to prevent a compilation problem here. I recall a push for including a set of GL headers with Wine to get rid of all those compilation problems...
Vincent
On Sat, Jan 10, 2004 at 03:47:49PM -0500, Vincent Béron wrote:
Maybe Jason or Lionel or Rafael can take a look at how to prevent a compilation problem here. I recall a push for including a set of GL headers with Wine to get rid of all those compilation problems...
We can't really do this safely and cleanly except by generating our own GL headers... This is a bit what I do in the D3D1/7 code by using _WINE versions of all non-GL 1.2 enums.
Basically, it's a mess and will stay like that for a quite long time.
Lionel