In VS 2010, open the New Project dialog and look at the list of templates.
You’ll want to create a simple Win32 console application. You will need to create the gl folder in Microsoft Visual Studio 10.0\VC\include\, as it doesn’t already exist.Ĭ:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\gl\Ĭ:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\Ĭ:\Program Files\Microsoft Visual Studio 10.0\VC\include\gl\Ĭ:\Program Files\Microsoft Visual Studio 10.0\VC\lib\ Unzip this and copy the binaries out into the following directories. This library provides a slew of helper functions for working with OpenGL, including setting up a window.
The first step is to download GLUT (the OpenGl Utility Toolkit). This guide assume you have the following installed:īy convention, we assume the OS is installed to the C drive and VS is installed to a folder such as C:\Program Files (x86)\Microsoft Visual Studio 10.0. This guide is meant for beginners who just want to get a simple OpenGL desktop app going on a Windows machine.
So, here’s a quick run through to set the record straight. I was recently helping a friend get set up running OpenGL and I realized that most of the instructions available online for this are fairly outdated.