Hi,
I'm getting this compile failure as of today:
make[2]: Entering directory `/home/jhawkins/wine/dlls/wined3d' gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o device.o device.c device.c: In function `IWineD3DDeviceImpl_SetRenderState': device.c:3833: `GL_FOG_COORD_SRC' undeclared (first use in this function) device.c:3833: (Each undeclared identifier is reported only once device.c:3833: for each function it appears in.) device.c:3873: `GL_FOG_COORD' undeclared (first use in this function) make[2]: *** [device.o] Error 1 make[2]: Leaving directory `/home/jhawkins/wine/dlls/wined3d' make[1]: *** [wined3d] Error 2 make[1]: Leaving directory `/home/jhawkins/wine/dlls' make: *** [dlls] Error 2
Hi James Hawkins:
I'm getting this compile failure as of today:
make[2]: Entering directory `/home/jhawkins/wine/dlls/wined3d' gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o device.o device.c device.c: In function `IWineD3DDeviceImpl_SetRenderState': device.c:3833: `GL_FOG_COORD_SRC' undeclared (first use in this function) device.c:3833: (Each undeclared identifier is reported only once device.c:3833: for each function it appears in.) device.c:3873: `GL_FOG_COORD' undeclared (first use in this function) make[2]: *** [device.o] Error 1 make[2]: Leaving directory `/home/jhawkins/wine/dlls/wined3d' make[1]: *** [wined3d] Error 2 make[1]: Leaving directory `/home/jhawkins/wine/dlls' make: *** [dlls] Error 2
Works here.
Result for grep GL_FOG_COOED in the include GL/glext.h: http://wine.pastebin.com/711616
Henri Verbeet is informed and tried to create a Patch tonight.
Thanks Henri
On 15/06/06, James Hawkins truiken@gmail.com wrote:
device.c: In function `IWineD3DDeviceImpl_SetRenderState': device.c:3833: `GL_FOG_COORD_SRC' undeclared (first use in this function) device.c:3833: (Each undeclared identifier is reported only once device.c:3833: for each function it appears in.) device.c:3873: `GL_FOG_COORD' undeclared (first use in this function)
Could you try the attached patch? It adds and uses the defines as defined in the extension (http://oss.sgi.com/projects/ogl-sample/registry/EXT/fog_coord.txt), rather than the ones from OpenGL 1.5. If it works I'll submit it to wine-patches.
On 6/15/06, H. Verbeet hverbeet@gmail.com wrote:
On 15/06/06, James Hawkins truiken@gmail.com wrote:
device.c: In function `IWineD3DDeviceImpl_SetRenderState': device.c:3833: `GL_FOG_COORD_SRC' undeclared (first use in this function) device.c:3833: (Each undeclared identifier is reported only once device.c:3833: for each function it appears in.) device.c:3873: `GL_FOG_COORD' undeclared (first use in this function)
Could you try the attached patch? It adds and uses the defines as defined in the extension (http://oss.sgi.com/projects/ogl-sample/registry/EXT/fog_coord.txt), rather than the ones from OpenGL 1.5. If it works I'll submit it to wine-patches.
Yea, compile works with this patch applied. Thanks.
On Thursday 15 June 2006 20:03, James Hawkins wrote:
Hi,
I'm getting this compile failure as of today:
make[2]: Entering directory `/home/jhawkins/wine/dlls/wined3d' gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o device.o device.c device.c: In function `IWineD3DDeviceImpl_SetRenderState': device.c:3833: `GL_FOG_COORD_SRC' undeclared (first use in this function) device.c:3833: (Each undeclared identifier is reported only once device.c:3833: for each function it appears in.) device.c:3873: `GL_FOG_COORD' undeclared (first use in this function) make[2]: *** [device.o] Error 1 make[2]: Leaving directory `/home/jhawkins/wine/dlls/wined3d' make[1]: *** [wined3d] Error 2 make[1]: Leaving directory `/home/jhawkins/wine/dlls' make: *** [dlls] Error 2
Uh oh, this was my fault :-( I did't think that the constants need the _EXT too. But apparently H. Verbeet was faster in creating a fix. Thanks :-)
I will watch out better when using extensions the next time :-)