[quake3] MingW not compiling for the last few subversions:

Matt Turner mattst88 at gmail.com
Tue Apr 25 21:17:04 EDT 2006


I ran into this a few days ago.  All that needs to be added is "#include
<GL/glext.h>" in renderer/tr_image.c and win32/win_glimp.c.

Attached is a diff to fix this.  I'm unsure if there's a particular style of
patches/code that should be adhered to, so someone review it.

Matt

On 4/24/06, Henry Garcia <defsyn at gmail.com> wrote:
>
> Here's part of the std and stderr output:
>
> gcc  -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes
> -DUSE_OPENAL=1 -DUSE_OPENAL_DLOPEN=1 -m32 -DUSE_LOCAL_HEADERS=1 -DNDEBUG -O3
> -march=i586 -fomit-frame-pointer -ffast-math -falign-loops=2 -funroll-loops
> -falign-jumps=2 -falign-functions=2 -fstrength-reduce -MMD -o
> build/release-mingw32-x86/client/tr_image.o -c code/renderer/tr_image.c
> -DDONT_TYPEDEF_INT32
> code/renderer/tr_image.c: In function `Upload32':
> code/renderer/tr_image.c:703: error: `GL_TEXTURE_MAX_ANISOTROPY_EXT'
> undeclared (first use in this function)
> code/renderer/tr_image.c:703: error: (Each undeclared identifier is
> reported only once
> code/renderer/tr_image.c:703: error: for each function it appears in.)
> make[1]: *** [build/release-mingw32-x86/client/tr_image.o] Error 1
> make[1]: Leaving directory
> `/cygdrive/c/msys/1.0/home/Henry/programs/quake/quake3'
> make: *** [build_release] Error 2
>
> Been doing this for about the last 6 or so subversions.
>
> Hank
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/quake3/attachments/20060425/8e34e14d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: include_glext.h.diff
Type: application/octet-stream
Size: 768 bytes
Desc: not available
URL: <http://icculus.org/pipermail/quake3/attachments/20060425/8e34e14d/attachment.obj>


More information about the quake3 mailing list