natt
Junior Member
Posts: 248
Registered: 05-11 |
hmm
I never bothered compiling sdl_mixer in mingw because it's a shitty library and I want nothing to do with it, but reading this thread now I got it.
After unzipping, this is exactly what I did:
./configure SDL_CONFIG=
make
I pass "SDL_CONFIG=" to all configure scripts because for some reason without it they look for SDL_CONFIG script in a weird place, never figured that one out. Your configure found sdl_config fine, so no need to worry about that one.
I received warnings that flac, mikmod, and smpeg were not installed, as expected, but other than that, everything went fine.
Don't bother trying to edit an automatically generated build script though, that's doomed to fail.
Anyway, my question would be, where did these CFLAGS come from?
code:
EXTRA_CFLAGS='C:\Program Files\Microsoft SDK\Include\.;C:\Program Files\Intel\Compiler\C++\9.1\IA32\Include;C:\Program Files\Intel\Compiler\C++\9.1\EM64T\Include -D_GNU_SOURCE=1'
Never mind the spaces; those aren't even valid options to GCC even if they were properly quote escaped. The only things that you get to pass without a -something in front of them are the names of your input files. Are those supposed to be include locations? That doesn't sound right, but even if it was, each would have a -I before it. Figure out how those options came to be.
|