JPEG Loading

Hi there!
I know that this has been asked several times (I searched and read all posts) but my problem lies with Visual Studio 2005.

All the JPEG wrappers that I found on OpenGL examples were compiled for VS6, so that the .lib’s don’t work for VS8.

Could anyone pinpoint me to a JPEG wrapper that works in Visual Studio 2005?! or an OpenGL example that uses JPEG and is built on 2005?!

Thanks so much in advance,
Rod

All the JPEG wrappers that I found on OpenGL examples were compiled for VS6, so that the .lib’s don’t work for VS8.
It’s not that complicated a piece of code. Can’t you just, you know, recompile them under VS2005?

No because they are static libraries and I don’t have the original source to compile the libraries back again to make them compatible with VS8.

Static libraries compiled with VS6 cannot be used with VS8

Search for freeimage library - it comes with source.

Try either of these

http://corona.sourceforge.net/
http://openil.sourceforge.net/

You can link to earlier libs. I’d go with freeimage, it seems easiest to use without dependencies on other GPL subsystems which when I was looking for a PNG loader were a compete pain in the ass being horrendously packaged, mislabeled & generally sloppy for windows development.

Thanks so much guys!
I finally made it work!

I found a wrapper of IGL that works like a charm:
http://www.flipcode.com/cgi-bin/fcarticles.cgi?show=4&id=63947

Thanks so much everyone!
Cheers!
Rod