Computer Graphics: GLUT on  Win32 How to

You need OpenGL, GLU, and GLUT. Luckily the OpenGL and GLU libraries come with W98/NT/2K/XP, so all you need is to install GLUT . To save time download the precompiled libraries. The zip file contains dll, lib, and the header files you need. After unzipping them put them as follows

 

glut32.dll  in
C:\WINDOWS\SYSTEM32 (WXP)
C:\WINNT\SYSTEM32 (W2K/NT)
C:\WINDOWS\SYSTEM (W98)
 

If you are using VC++6

glut32.lib  in C:\Program Files\Microsoft Visual Studio\VC98\lib
glut.h        in  C:\Program Files\Microsoft Visual Studio\VC98\Include\GL

 

If you are using .NET

glut32.lib in C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\lib

glut.h       in C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\GL

 

If you are using  .NET 2003

glut32.lib in C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\lib

glut.h       in C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\GL

 

Now you are all set to run. For more useful info look in Nate Robins

                                                       Last update: 09/13/05