[SDL] Problems blitting pngs with sdl_image

CWC charlesw at blackfoot.net
Sun Mar 30 22:45:08 PDT 2008


Todd wrote:
> Hi, 
> 
> I'm new to SDL and I'm going through Lazy Foo's tutorials and I've hit a snag on
> the tutorial covering SDL_image. 
> 
> My problem is that when I try to load a png IMG_Load() returns NULL. It works
> correctly for gif files, which should indicate the libraries are set up
> correctly since they are required to load gifs. 
> 
> Any suggestions?
> 
> Thanks,
> Todd
> 
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
> 
check to make sure you've got libpng12-0.dll where it can be found.


More information about the SDL mailing list