0% found this document useful (0 votes)
19 views

How To Install Glut & Opengl in Visual C++ 6

To set up OpenGL GLUT in Visual C++ 6, download glut files from a provided URL, unzip them, and copy the header file to the include directory, library file to the lib directory, and DLL file to the system directory. Then OpenGL programs can be compiled and run in Visual C++. A skeleton OpenGL program is also provided to test the setup.

Uploaded by

Ridowan Muhammad
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

How To Install Glut & Opengl in Visual C++ 6

To set up OpenGL GLUT in Visual C++ 6, download glut files from a provided URL, unzip them, and copy the header file to the include directory, library file to the lib directory, and DLL file to the system directory. Then OpenGL programs can be compiled and run in Visual C++. A skeleton OpenGL program is also provided to test the setup.

Uploaded by

Ridowan Muhammad
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

How to install GLUT & OpenGL in Visual C++ 6

Setup OpenGL GLUT in Visual C++ 6.0 of Windows


OpenGL GLUT provides the graphics interface and other useful utilities for running OpenGL in Windows. Here are the steps to set up OpenGL GLUT in Visual C++ of Windows. 1. Go to http://www.cse.univdhaka.edu/~cse102/ and download "glut-3.7.6bin.zip". 2. Unzip "glut-3.7.6-bin.zip". This generates four files: "glut.h", "glut32.lib", "glut32.dll", and "readMe.txt". Note that you must choose the file view option to view all files (including system files). Otherwise "glut32.dll" will not show up. 3. Do following copies: o copy "glut.h" to C:\..\..\VC98\include\GL (Visual C++ include directory) (For example: C:\Program Files\Microsoft Visual Studio\VC98\Include\GL) o copy "glut32.lib" to C:\..\..\VC98\lib (Visual C++ library directory) o copy "glut32.dll" to C:\WINDOWS\SYSTEM or C:\WINNT\SYSTEM32 (for NT), where your system files are located. Then you are ready to run OpenGL codes in Visual C++ Studio.

How to run skeleton program of OpenGL


Skeleton Program: 1. Download the file: skeleton.cpp from the course website page. 2. Open the program using Visual C++ 6, compile and run the program.

You might also like