[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppBuilderInstallOpenGl
The problem is how to install GLUT.
There are multiple ways to install GLUT:
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppBuilderInstallOpenGl
(C++ Builder) How do I install OpenGL?
Answer: OpenGL is largely already installed.The problem is how to install GLUT.
There are multiple ways to install GLUT:
- When you have Microsoft Visual Studio installed
- When you don't have Microsoft Visual Studio installed
When you have Microsoft Visual Studio installed
- Copy /VC98/Include/gl/glut.h to /CBuilder6/Include/gl/glut.h
- Copy the files /VC98/Lib/glut32.lib, /VC98/Lib/glu32.lib, /VC98/Lib/glaux.lib, /VC98/Lib/opengl32.lib and /VC98/Lib/winmm.lib to a temporary folder.
- Copy the file /CBuilder6/Bin/coff2omf.exe to this temporary folder
- type coff2omf glut32.lib glut32.~lib in this folder
- type coff2omf glu32.lib glu32.~lib in this folder
- type coff2omf glaux.lib glaux.~lib in this folder
- type coff2omf opengl32.lib opengl32.~lib in this folder
- type coff2omf winmm.lib winmm.~lib in this folder
- type copy glut32.~lib glut32.lib in this folder. Do overwrite the file.
- type copy glu32.~lib glu32.lib in this folder. Do overwrite the file.
- type copy glaux.~lib glaux.lib in this folder. Do overwrite the file.
- type copy opengl32.~lib opengl32.lib in this folder. Do overwrite the file.
- type copy winmm.~lib winmm.lib in this folder. Do overwrite the file.
- Copy all .lib files to CBuilder6/Lib
When you don't have Microsoft Visual Studio installed
I don't know. Perhaps YOU can write it down?[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
