Hi,
Can anybody tell me what I’ve got to do to load PNGs with SDL_image
library. An IMG_Load(“data/menubg.png”) causes an access violation …
thx
Oliver
Hi,
Can anybody tell me what I’ve got to do to load PNGs with SDL_image
library. An IMG_Load(“data/menubg.png”) causes an access violation …
thx
Oliver
In article <39E1D61A.1D4BF881 at linuxbites.de>, you say…
Hi,
Can anybody tell me what I’ve got to do to load PNGs with SDL_image
library. An IMG_Load(“data/menubg.png”) causes an access violation …
You need to link with the PNG library: http://www.cdrom.com/pub/png/ and
the Zlib library: http://www.cdrom.com/pub/infozip/zlib/
The PNG lib is dependant on Zlib to do its compression, but fear not for
both libs are quite stable and easy to get going.
Good luck.
-dv