View Full Version : searching for Opengl SDK
02-06-2010, 06:33 AM
I recently started learning opengl and pickedup some examples from codesampler. I was not able to compile some of the programs as it was asking for glut.h..etc I tried a few versions of glut, freeglut..etc, but still couldn't get it compiled. Im using VS 2008,on Windows Vista.
can someone please point to me to the correct sdk.
thanks in advance.
02-06-2010, 06:35 AM
Im working on VS2008 on Windows Vista.
02-06-2010, 08:49 AM
Please check the technical wiki for tips on getting started. It's all in there. Can't find it? Feel free to add what's missing.
02-06-2010, 03:04 PM
Take a look also at Post236486 (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=236486#Post2364 86)
02-07-2010, 04:37 PM
Get the TaoFramework. They have a freeglut implementation. You just add a reference to Tao.FreeGlut.dll in your project. Then make sure your solution configuration is x86 and glut stuff should work.
02-08-2010, 12:51 AM
I'm getting the distinct feeling that the OP is working in C or C++ (he mentions glut.h, so...) Tao is for C#, VB.Net and the like and it's quite a bit out of date nowadays.
02-08-2010, 02:06 AM
I tried a few versions of glut, freeglut..etc, but still couldn't get it compiled. Im using VS 2008,on Windows Vista.
It took me about 2 minutes to get freeGLUT compiling under VS2008. It comes with VS2008 solutions, both for the DLL and for static linking. So if you were unable to do so, I doubt there's anything easier for you to use.
02-08-2010, 02:00 PM
What error are you getting? Are you sure you're linking the library to your project?
There's the precompiled library I used back in the day.
I'd recommend you start of with SDL, it's a bit more usable and has some nice features. http://www.libsdl.org/ GLUT is old and shitty, and no one uses it for anything other then quick demos. SDL is also a cross-platform library.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.