Hey all, I found really concise and small openGL JPEG image loading code example, that runs on my VS2008 no problem. I am trying to move this code into my existing program that has a brick shader (from 3dshaders.com), but I am stuck on some header error. I have been banging at it and googling it for over two hours now. Can anybody look at my Visual Studio project. I bet I am making some noob C++ mistake. The problem seems to be when I include “jpeg.h” in ogl2brick.h. It is on line 54.
Link to project: http://www.mediafire.com/file/5tmlzyz14zz/brick_2.zip
Link to original JPEG loading project: http://www.morrowland.com/apron/tut_gl.php