Install OpenGL on ubuntu
The dll has been install with your graphics card driver, you just need the header file ,
which come with windows SDK or full function Visual studio
The express editions require the Windows Platform SDK because they do not come with the OpenGL header files, etc.
Also, if you’re going to use GLUT, you need to download that separately. If you need more information let us know!
download glut from opengl.org.
——–step 2 ———————install to windows SDK———————————————————–
Copy all the .h files into the C:Program FilesMicrosoft SDKsWindowsv6.1IncludeGL folder. This should be glut.h, freeglut.h, freeglut_ext.h, and freeglut_std.h.
Copy all the .lib files into the C:Program FilesMicrosoft SDKsWindowsv6.1Lib folder. This should be freeglut.lib and glut32.lib.
Copy all the .dll files into the C:Windowssystem32 folder. This should be freeglut.dll and glut32.dll.
there may be more than one version of SDK under folder C:Program FilesMicrosoft SDKsWindows
the version can also be v7.0A for windows 7,
there is a tool under windows SDK install folder/menu , ” configuration the SDK tool ” can switch the SDK version ,
———————————extra explanation to 64 bits Windows dll versions —————————
If you are running a 64 bit version of Windows, you might be wondering if there is a OpenGL64.dll file. The answer is no, there isn’t. On all versions of Windows,
WindowsSystem32 contains all the 64 bit DLLs. It contains the OpenGL32.dll which is actually a 64 bit dll.
For 32 bit programs, Windows detects the exe as a 32 bit program and instead of using System32 files,
it uses WindowsSysWOW64 which actually contains the 32 bit DLLs. WOW means Windows On Windows which is a backwards-compatibility layer.
To find your Windows’ System32 directory, go to: Start, Run… and type in %WINDIR%System32. The system will redirect you to the default System32 directory automatically; this is also true for the 32 bits versions of Windows.
——–step 3———————– test ————————————————————————————-
new a empty Win32 console program, can copy your example code and save *.c (it must be the c , not cpp file ), compile and run
no need to set up Linker property of the project, i.e. Include/lib path setup is not needed
———step 4 ————————–Setup other IDE such as CodeBlock————————————————————————-
Extract the ‘Glut.zip’ file you downloaded in Step 1 and do the following:-
Copy glut.dll into your ‘C:WindowsSystem32′ folder (If you’re using Windows 7 64-bit, you’ll need to copy this file into ‘C:WindowssysWOW64′).
Copy glut.h into the ‘includeGL’ folder in the MinGW compiler folder. If you installed CodeBlocks and MinGW to the default directory in Step 3, this folder will be ‘C:Program FilesCodeBlocksMinGWincludeGL’.
Copy libglut32.a into the ‘MinGWlib’ folder. If you installed CodeBlocks and MinGW to the default directory in Step 3, this folder will be ‘C:Program FilesCodeBlocksMinGWlib’.
—————-> you can open you IDE program by finding the “SDK 7/VS 2008 command prompt” in start menu to open a CMD windows,
then type your IDE program path and name,
if can setup the SDK include and lib path for your favourate IDE.
Moreover, this method can compile the 64bit C++ program, perhaps the only way to compile 64bit in other IDE
—————————–install on ubuntu 10.04———————–
# it is more convenient to install the developing env. in Ubuntu
#as you have install the ATI driver, you should got newest openGL the HW supported
# just check the GL version
glxinfo | grep -i opengl
# or open the ATI control center to check the openGL version
#you only need to install the glut header and lib files
sudo apt-get install build-essential freeglut3-dev
gcc yourfile.cpp -lglut -lGLU -o appname
Author: Qingfeng XIA copyright (C) 2011-2013 http://www.iesensor.com
please keep the original link in your reference. http://www.iesensor.com/blog/2011/01/06/openglinstall-opengl-developing-environment-on-64bit-windows7-with-visual-studio-express-c-2008-ubuntu/