Hi,
I was trying to compile cl-sdl on my Macbook (MacOS 10.7.5), and I had a strange issue that stopped the compilation:
$ make (sh select_platform.sh) (cd c; make) gcc -bundle -Wall `sdl-config --cflags` -o sdlstub.dylib sdlstub.c `sdl-config --libs` sdlstub.c: In function ‘save_bmp’: sdlstub.c:183: warning: pointer targets in passing argument 1 of ‘SDL_RWFromFile’ differ in signedness gcc -bundle -Wall -o glstub.dylib glstub.c -lobjc -framework OpenGL gcc -bundle -Wall `sdl-config --cflags` -o sdlttfstub.dylib sdlttfstub.c -lSDL_ttf gcc -bundle -Wall `sdl-config --cflags` -o sdlmixstub.dylib sdlmixstub.c -lSDL_mixer gcc -o sdlimgstub.dylib sdlimgstub.c -lSDL_image sdlimgstub.c:1:23: error: SDL_image.h: No such file or directory make[1]: *** [sdlimgstub.dylib] Error 1 make: *** [all] Error 2
I was eager to try these libraries, so I invested some little time trying to find the problem. The good thing is that I find it, I manage now to compile in my machine these libs.
The fix is rather small, but anyways I thought it could be good for some other users. So I'm attaching with this report a patch.
Regards!
The attachment