VOGONS

Common searches


First post, by babylonshoes

User metadata

any managed to compile sdl and directx9 with mingw/msys?

configure runs fine but make fails with:

In file included from SDL_dx5audio.c:37:
SDL_dx5audio.h:40: error: syntax error before "LPDIRECTSOUND"
SDL_dx5audio.h:40: warning: no semicolon at end of struct or union
etc
etc

i made the dx9 libs and headers from dx9cSDK following instructions to convert them for mingw.

if i switched to dx5 libs and headers sdl compiles successfully.

hmm. maybe its not necessary to use dx9?

Reply 1 of 1, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

You should be able to get it working by using the headers and libs available on libsdl.org. I was once able to get it working with the files from the DirectX 9 SDK (just renamed the files and put them in the appropriate places), but it was a pain and I have since had to reintall mingw/msys.