View Full Version : JPEG Loading
Rodrix
02-27-2007, 05:28 PM
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
Korval
02-27-2007, 06:05 PM
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?
Rodrix
02-27-2007, 07:04 PM
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
k_szczech
02-28-2007, 12:36 AM
Search for freeimage library - it comes with source.
sqrt[-1]
02-28-2007, 02:40 AM
Try either of these
http://corona.sourceforge.net/
http://openil.sourceforge.net/
dorbie
02-28-2007, 09:16 PM
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.
Rodrix
03-01-2007, 07:25 PM
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
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.