[SDL] IMG_Load stupid problem solved

David Olofson david at olofson.net
Fri Dec 26 05:56:45 PST 2008


On Friday 26 December 2008, Techi wrote:
[...]
> #ifdef LOAD_PNG ...
> 
> which is however not defined. I assume those macros are defined in
> project file (which is missing for VisualCE)
[...]

These are normally defined by the autotools build scripts, and are 
based on what's available when the library is built, and 
configuration. For example, if you don't have libpng, or don't need 
it for some project, SDL_image can be compiled without it.


//David Olofson - Programmer, Composer, Open Source Advocate

.-------  http://olofson.net - Games, SDL examples  -------.
|        http://zeespace.net - 2.5D rendering engine       |
|       http://audiality.org - Music/audio engine          |
|     http://eel.olofson.net - Real time scripting         |
'--  http://www.reologica.se - Rheology instrumentation  --'



More information about the SDL mailing list