[SDL] SDL_Image compiler errors on PB2 (OSX)
Sam Lantinga
slouken at devolution.com
Sat Aug 31 17:28:00 PDT 2002
> Hi.
> I've got a problem compiling my project (and even a very simple project)
> containing the SDL_Image Framework under OSX (Projectbuilder 2, April).
> For example:
> - I generate a new "SDL_Application"
> - I link the SDL_Image.Framework, (the devel one), placed in
> ~/library/frameworks
> - I add the header folder path (not the reference, the full path) to
> "Search for headers" in my current target's settings
> - I do an #include "SDL_image.h" in the main.c
> - I compile
> and after this I get PLENTY of errormessages, like
> [...]/SDL_image.h:46: illegal external declaration, missing `;' after
> `SDLCALL'
You need to upgrade your SDL development headers to version 1.2.4.
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment
More information about the SDL
mailing list