[wined3d] cube texture named constants

Willie Sippel willie at zeitgeistmedia.net
Thu Dec 8 15:03:55 CST 2005


Wine won't compile with this patch applied it seems (tested with gcc 4.0.2):
[...]
gcc32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__   -D_REENTRANT 
-fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ 
-Wdeclaration-after-statement -Wpointer-arith -D__i386__ -m32 -march=i686 
-m3dnow -mmmx -msse -msse2 -pipe -O2 -L/emul/linux/x86/usr/lib -L/usr/lib32 
-L/emul/linux/x86/lib -I/usr/include/libxml2 -I/usr/include/lcms 
-L/emul/linux/x86/usr/lib -L/usr/lib32 -L/emul/linux/x86/lib 
-I/usr/include/libxml2 -I/usr/include/lcms  -o cubetexture.o cubetexture.c
cubetexture.c: In function 'IWineD3DCubeTextureImpl_GetCubeMapSurface':
cubetexture.c:276: error: 'D3DCUMPMAP_FACE_POSITIVE_X' undeclared (first use 
in this function)
cubetexture.c:276: error: (Each undeclared identifier is reported only once
cubetexture.c:276: error: for each function it appears in.)
cubetexture.c:276: error: 'D3DCUBEMAP_FACE_NEGITIVE_Z' undeclared (first use 
in this function)
cubetexture.c: In function 'IWineD3DCubeTextureImpl_LockRect':
cubetexture.c:295: error: 'D3DCUMPMAP_FACE_POSITIVE_X' undeclared (first use 
in this function)
cubetexture.c:295: error: 'D3DCUBEMAP_FACE_NEGITIVE_Z' undeclared (first use 
in this function)
cubetexture.c: In function 'IWineD3DCubeTextureImpl_UnlockRect':
cubetexture.c:312: error: 'D3DCUMPMAP_FACE_POSITIVE_X' undeclared (first use 
in this function)
cubetexture.c:312: error: 'D3DCUBEMAP_FACE_NEGITIVE_Z' undeclared (first use 
in this function)
cubetexture.c: In function 'IWineD3DCubeTextureImpl_AddDirtyRect':
cubetexture.c:329: error: 'D3DCUMPMAP_FACE_POSITIVE_X' undeclared (first use 
in this function)
cubetexture.c:329: error: 'D3DCUBEMAP_FACE_NEGITIVE_Z' undeclared (first use 
in this function)
make[2]: *** [cubetexture.o] Error 1
make[2]: Leaving directory `/store/Download/wine/wine/dlls/wined3d'
make[1]: *** [wined3d] Error 2
make[1]: Leaving directory `/store/Download/wine/wine/dlls'
make: *** [dlls] Error 2

Ciao,
Willie

-- 
Willie Sippel

  ////////  |  Tritium Studios
 //         |  ______________________________
//// ///    |  http://www.tritium-studios.com

<willie at froq.net>



More information about the wine-devel mailing list