loading a png with sdl + sdl_image.

Started by
24 comments, last by rakoon2 19 years, 6 months ago
If the linker errors are bothering you that much then jut add the source for SDL_image into your project, you are going to need to link to a few other libs if you do though - zlib, libpng and jpeblib but if you are only using PNG images you could just rip the PNG loading code.

Advertisement
Yes, but I hate to do that. zlib gives me linker errors too.. =[!
=(
Then there's something seriously wrong with either your linker or your setup.

You can get a copy of VS.NET academic for around $100 or so, or you might even be able to find a copy on eBay or something similiar. It's definitely worth the investment but your situation may not allow it.
That was me above, forgot to log in.
Quote: [Linker error] undefined reference to `IMG_Load'

You probably have sdl_image downloaded from http://devpaks.org/. right ? that pack was fscked last time i checked. download its source code and build the lib yourself or PM me for my libSDL_image.a and SDL_image.dll files.
Dolphins - The sharks of the sea.
Yes, right. http://devpaks.org/ :|
Thank you for your offer, but I am using VC++ now and it works perfect. :)

This topic is closed to new replies.

Advertisement