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.
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.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd
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.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd
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.