On Wed, 10 Dec 2014 08:59:36 +0000
Paul via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:

> Adding that reveals that I need to add SDL_image 2.0 (I didn't 
> know that that wasn't a part of the standard SDL install) so I've 
> compiled that too. I now get the error:
> 
> Unsupported image format
> 
> whether I use a png or jpg.
do you have the corresponding libraries installed? SDL_Image uses
libpng and libjpeg for decoding images, so if you don't have those
installed (with corresponding -dev if your system needs that) you will
not be able to load images in those formats.

also please note that libpng has two incompatible versions, so
double-check README for SDL_Image.

Attachment: signature.asc
Description: PGP signature

Reply via email to