OpenGL setup - Visual Studio 2005

Started by
1 comment, last by Instigator 16 years, 10 months ago
I'm using visual studio 2005 and have been looking for tutorials on how to setup OpenGL for a while now. Does anyone have any websites / tutorials which I can use to setup OpenGL in Windows XP? (With GLUT would be nice)
Advertisement
I can just tell you how to do it here.

You need to go under your project settings:

1) Go to "C/C++->General" and for additional include paths, add your OpenGL and GLUT include folders... you may not have to do that though, because it might already be in your IDE include path.

2) Under the linker general settings, under "Additional Library Paths", add the path to the .lib files for opengl and for glut.

3) Under the linker settings, find the additional libraries option, and add opengl32.lib, glu32.lib, and glut32.lib (check those names).

That should be all you need to do. Oh, make sure that all of the dlls (opengl32.dll, glu32.dll, glut32.dll... I think those are correct) are in your path at runtime. If you change the system path, make sure you restart visual studio, because it uses whatever the path was when you launch it.
thanks

This topic is closed to new replies.

Advertisement