Searching for Opengl SDK

Hi,

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.

Srikanth.

Im working on VS2008 on Windows Vista.

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.

Take a look also at Post236486

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.

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.

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.

What error are you getting? Are you sure you’re linking the library to your project?

http://www.xmission.com/~nate/glut.html
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.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.