[SDL] SDL_image not loading pngs
Sam Lantinga
slouken at devolution.com
Wed Dec 24 11:24:00 PST 2003
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Hi!
> Am Mittwoch, 24. Dezember 2003 04:39 schrieb T'Eval:
> > You need libpng, and zlib installed. In the reverse order, since libpng
> > depends on zlib.
> > I think those are the only things required to get png working.
> Thanx a lot. Do I also need to use some compiler-option to enable support?
Does your build process include ./configure ? If so, then you should just
need to reconfigure and rebuild. Otherwise you need to define LOAD_PNG as
part of your compiler preprocessor flags.
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment
More information about the SDL
mailing list