| Summary: | SDL 2.0.5 not compiling under mingw32 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | superfury |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Sam Lantinga <slouken> |
| Severity: | blocker | ||
| Priority: | P2 | CC: | sezeroz |
| Version: | 2.0.5 | ||
| Hardware: | x86 | ||
| OS: | Windows 10 | ||
This looks like a duplicate of #3482 (the issue is with incomplete mingw.org headers.) (In reply to Ozkan Sezer from comment #1) > This looks like a duplicate of #3482 (the issue is with incomplete mingw.org > headers.) Yes, and this should be working again in revision control, too! --ryan. *** This bug has been marked as a duplicate of bug 3482 *** |
I can't compile the SDL2 2.0.5 source code from libSDL.org SDL 2.0 source code (version 2.0.5 stable). Every time I try to do this on MinGW32, after running "./configure --prefix=/mingw" and running make, I get the following error: /bin/sh build-scripts/updaterev.sh CC build/SDL_winmm.lo src/audio/winmm/SDL_winmm.c: In function 'DetectWaveOutDevs': src/audio/winmm/SDL_winmm.c:57:33: error: unknown type name 'WAVEOUTCAPS2W' DETECT_DEV_IMPL(SDL_FALSE, Out, WAVEOUTCAPS) ^ src/audio/winmm/SDL_winmm.c:44:5: note: in definition of macro 'DETECT_DEV_IMPL' capstyp##2W caps; \ ^ src/audio/winmm/SDL_winmm.c:48:56: error: request for member 'szPname' in something not a structure or union char *name = WIN_LookupAudioDeviceName(caps.szPname,&caps.NameGuid); \ ^ src/audio/winmm/SDL_winmm.c:57:1: note: in expansion of macro 'DETECT_DEV_IMPL' DETECT_DEV_IMPL(SDL_FALSE, Out, WAVEOUTCAPS) ^ src/audio/winmm/SDL_winmm.c:48:70: error: request for member 'NameGuid' in something not a structure or union char *name = WIN_LookupAudioDeviceName(caps.szPname,&caps.NameGuid); \ ^ src/audio/winmm/SDL_winmm.c:57:1: note: in expansion of macro 'DETECT_DEV_IMPL' DETECT_DEV_IMPL(SDL_FALSE, Out, WAVEOUTCAPS) ^ src/audio/winmm/SDL_winmm.c: In function 'DetectWaveInDevs': src/audio/winmm/SDL_winmm.c:58:31: error: unknown type name 'WAVEINCAPS2W' DETECT_DEV_IMPL(SDL_TRUE, In, WAVEINCAPS) ^ src/audio/winmm/SDL_winmm.c:44:5: note: in definition of macro 'DETECT_DEV_IMPL' capstyp##2W caps; \ ^ src/audio/winmm/SDL_winmm.c:48:56: error: request for member 'szPname' in something not a structure or union char *name = WIN_LookupAudioDeviceName(caps.szPname,&caps.NameGuid); \ ^ src/audio/winmm/SDL_winmm.c:58:1: note: in expansion of macro 'DETECT_DEV_IMPL' DETECT_DEV_IMPL(SDL_TRUE, In, WAVEINCAPS) ^ src/audio/winmm/SDL_winmm.c:48:70: error: request for member 'NameGuid' in something not a structure or union char *name = WIN_LookupAudioDeviceName(caps.szPname,&caps.NameGuid); \ ^ src/audio/winmm/SDL_winmm.c:58:1: note: in expansion of macro 'DETECT_DEV_IMPL' DETECT_DEV_IMPL(SDL_TRUE, In, WAVEINCAPS) ^ make: *** [build/SDL_winmm.lo] Error 1