compile errors in dlls/ddraw

Raphaël Junqueira fenix at club-internet.fr
Sun May 11 05:42:14 CDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lionel

I think you forgot to use #if defined(GL_VERSION_1_3)/#if 
defined(GL_VERSION_1_4) ;)

if i remember correctly xfree4.2 implements OpenGL1.2 and xfree4.3 OpenGL1.3
i suggest you using GL_OPERAND_*_EXT, ... they work for the two versions (as 
we do in d3d8 code) ;)

Regards,
Raphael

> Hi!
>
> I'm getting the next compile errors trying to compile the latest CVS:
>
> make[2]: Entering directory `/home/zsolt/src/wine/dlls/ddraw'
> LD_LIBRARY_PATH="../../libs/unicode:$LD_LIBRARY_PATH" ../../tools/wrc/wrc
> --nostdinc -I. -I. -I../../include -I../../include -I/usr/X11R6/include 
> -foversion.res version.rc gcc -c -I. -I. -I../../include -I../../include
> -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__  -Wall
> -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o d3dcommon.o
> d3dcommon.c gcc -c -I. -I. -I../../include -I../../include
> -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__  -Wall
> -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o
> d3ddevice/main.o d3ddevice/main.c gcc -c -I. -I. -I../../include
> -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ 
> -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o
> d3ddevice/mesa.o d3ddevice/mesa.c d3ddevice/mesa.c: In function
> `handle_color_alpha_args':
> d3ddevice/mesa.c:1519: `GL_PRIMARY_COLOR_ARB' undeclared (first use in this
> function) d3ddevice/mesa.c:1519: (Each undeclared identifier is reported
> only once d3ddevice/mesa.c:1519: for each function it appears in.)
> d3ddevice/mesa.c:1521: `GL_CONSTANT_ARB' undeclared (first use in this
> function) d3ddevice/mesa.c:1526: `GL_SOURCE0_RGB_ARB' undeclared (first use
> in this function) d3ddevice/mesa.c:1528: `GL_OPERAND0_RGB_ARB' undeclared
> (first use in this function) d3ddevice/mesa.c:1533: `GL_SOURCE0_ALPHA_ARB'
> undeclared (first use in this function) d3ddevice/mesa.c:1534:
> `GL_OPERAND0_ALPHA_ARB' undeclared (first use in this function)
> d3ddevice/mesa.c:1480: warning: `src' might be used uninitialized in this
> function d3ddevice/mesa.c: In function
> `GL_IDirect3DDeviceImpl_7_3T_SetTextureStageState': d3ddevice/mesa.c:1655:
> `GL_COMBINE_ALPHA_ARB' undeclared (first use in this function)
> d3ddevice/mesa.c:1655: `GL_COMBINE_RGB_ARB' undeclared (first use in this
> function) d3ddevice/mesa.c:1702: `GL_COMBINE_ARB' undeclared (first use in
> this function) d3ddevice/mesa.c:1733: `GL_ADD_SIGNED_ARB' undeclared (first
> use in this function) d3ddevice/mesa.c:1766: `GL_RGB_SCALE_ARB' undeclared
> (first use in this function) make[2]: *** [d3ddevice/mesa.o] Error 1
> make[2]: Leaving directory `/home/zsolt/src/wine/dlls/ddraw'
> make[1]: *** [ddraw] Error 2
> make[1]: Leaving directory `/home/zsolt/src/wine/dlls'
> make: *** [dlls] Error 2
>
>
> I'm running RedHat 7.3 with the version of the relevant RPM package being:
> XFree86-devel-4.2.0-8
>
> I can provide more info if needed...
>
> Thanks
> Zsolt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+vikHp7NA3AmQTU4RAsILAJ4jjZl76RTvh83h4lU7kZFLntZJjgCfePJv
UMp770mmD/hvMtsx5ILeQf0=
=EKBI
-----END PGP SIGNATURE-----




More information about the wine-devel mailing list