Well, I reconfigured my environment from scratch, and upgraded to SDL_Image 1.2.9. Now IMG_Load returns a null pointer when passed the name of a PNG image. IMG_GetError returns an empty string, so I have no clue what the problem is. However, IMG_Load appears to work when loading BMP files.
Do I need to do something extra to configure SDL_Image to work with PNG images?
If you’re on Windows, you’ll need to put libpng12-0.dll and zlib1.dll
in the directory with your application for PNG support.
See ya!On Sat, Nov 14, 2009 at 4:10 PM, Postal76 wrote:
Well, I reconfigured my environment from scratch, and upgraded to SDL_Image
1.2.9. Now IMG_Load returns a null pointer when passed the name of a PNG
image. IMG_GetError returns an empty string, so I have no clue what the
problem is. However, IMG_Load appears to work when loading BMP files.
Do I need to do something extra to configure SDL_Image to work with PNG
images?