OpenGL Resources

Updated on Jan 6  2018


OpenGL with VS

Deborah R. Fowler



Using OpenGL in Visual Studios 2010 - archived

PLEASE NOTE WE ARE NOW USING FREEGLUT - see document here

If you have glut already installed do the following, if glut is not installed, see readmeInstallGuide.pdf

Inside Visual Studios 2010 go to

Project->(your-project-name)Properties
Configuration Properties->Linker->Input
And under Additional Dependencies add
glut32.lib;  glu32.lib;  opengl32.lib
;

If you type them straight in, you must separate them with semicolons.

If you use the dialog box that pops up under edit you can type them in – in this case no semicolons are required:

glut32.lib
glu32.lib
opengl32.lib

Now in your project you can use #include <gl/glut.h>

(You do not need to include <windows.h> or <gl/GL.h> as glut.h already does so)