No go here (Re: [D3D] Added native and emulated S3TC support (take 2))
Andreas Mohr
andi at rhlx01.fht-esslingen.de
Sat Jul 31 05:52:15 CDT 2004
Hi,
On Thu, Jul 29, 2004 at 11:49:33PM +0100, Christian Costa wrote:
> Hi,
>
> This is the second version of my patch which take into account Lionel's
> comments plus another fix.
>
> I've only mentionned the libtxc_dxtn.so library for software
> decompression when the video card does not support S3TC.
> Maybe Lionel can say if we can add more precise information i.e
> reference to the DRI project.
CVS compile bombs for me with:
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o ddraw/hal.o ddraw/hal.c
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o ddraw/main.o ddraw/main.c
ddraw/main.c: In function `create_texture':
ddraw/main.c:394: error: `GL_extensions' undeclared (first use in this function)ddraw/main.c:394: error: (Each undeclared identifier is reported only once
ddraw/main.c:394: error: for each function it appears in.)
make[2]: *** [ddraw/main.o] Error 1
make[2]: Leaving directory `/usr/src/apps/CVS/wine/dlls/ddraw'
make[1]: *** [ddraw] Error 2
make[1]: Leaving directory `/usr/src/apps/CVS/wine/dlls'
make: *** [dlls] Error 2
Command exited with non-zero status 2
/* Check if we can really support DXT1, DXT3 & DXT5 */
if ((ddsd.u4.ddpfPixelFormat.dwFlags & DDPF_FOURCC) &&
!GL_extensions.s3tc_compressed_texture && !s3tc_initialized) {
ERR("Trying to create DXT1, DXT3 or DXT5 texture which is not supported
by the video card!!!\n");
ERR("However there is a library libtxc_dxtn.so that can be used to do the software decompression...\n");
return DDERR_INVALIDPIXELFORMAT;
}
ii xlibmesa-gl 4.3.0.dfsg.1-1 Mesa 3D graphics library [XFree86]
ii xlibmesa-glu 4.3.0.dfsg.1-1 Mesa OpenGL utility library [XFree86]
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 03)
(shouldn't matter anyway)
/* Define if the OpenGL headers define extension typedefs */
/* #undef HAVE_GLEXT_PROTOTYPES */
/* Define if the OpenGL library supports the glXGetProcAddressARB call */
/* #undef HAVE_GLX_GETPROCADDRESS */
/* Define to 1 if you have the <GL/glext.h> header file. */
/* #undef HAVE_GL_GLEXT_H */
/* Define to 1 if you have the <GL/glx.h> header file. */
/* #undef HAVE_GL_GLX_H */
/* Define to 1 if you have the <GL/gl.h> header file. */
/* #undef HAVE_GL_GL_H */
/* Define if OpenGL is present on the system */
/* #undef HAVE_OPENGL */
/* Define to the soname of the libGL library. */
#define SONAME_LIBGL "libGL.so"
Good luck,
Andreas Mohr
More information about the wine-devel
mailing list