Jump to content

  • Log In with Google      Sign In   
  • Create Account


loading a png with sdl + sdl_image.


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
25 replies to this topic

#21 Spudder   Members   -  Reputation: 385

Like
0Likes
Like

Posted 03 October 2004 - 06:09 AM

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.



Sponsor:

#22 rakoon2   Members   -  Reputation: 140

Like
0Likes
Like

Posted 03 October 2004 - 07:41 AM

Yes, but I hate to do that. zlib gives me linker errors too.. =[!
=(

#23 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

0Likes

Posted 04 October 2004 - 12:55 AM

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.

#24 Spudder   Members   -  Reputation: 385

Like
0Likes
Like

Posted 04 October 2004 - 12:57 AM

That was me above, forgot to log in.

#25 happybara   Members   -  Reputation: 312

Like
0Likes
Like

Posted 11 October 2004 - 11:08 PM

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.

#26 rakoon2   Members   -  Reputation: 140

Like
0Likes
Like

Posted 12 October 2004 - 01:34 AM

Yes, right. http://devpaks.org/ :|
Thank you for your offer, but I am using VC++ now and it works perfect. :)




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS