Derelict / SDL error

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Dec 10 01:07:46 PST 2014


On Wed, 10 Dec 2014 08:59:36 +0000
Paul via Digitalmars-d-learn <digitalmars-d-learn at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20141210/e6616ae8/attachment.sig>


More information about the Digitalmars-d-learn mailing list