[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
CppBuilderInstallOpenGl
Displaying differences between revision 3 and the latest revision


= (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 [b]/VC98/Include/gl/glut.h[/b] to [b]/CBuilder6/Include/gl/glut.h[/b]
# Copy the files [b]/VC98/Lib/glut32.lib[/b], [b]/VC98/Lib/glu32.lib[/b], [b]/VC98/Lib/glaux.lib[/b], [b]/VC98/Lib/opengl32.lib[/b] and [b]/VC98/Lib/winmm.lib[/b] to a temporary folder.
# Copy the file [b]/CBuilder6/Bin/coff2omf.exe[/b] to this temporary folder
# type [b]coff2omf glut32.lib glut32.~lib[/b] in this folder
# type [b]coff2omf glu32.lib glu32.~lib[/b] in this folder
# type [b]coff2omf glaux.lib glaux.~lib[/b] in this folder
# type [b]coff2omf opengl32.lib opengl32.~lib[/b] in this folder
# type [b]coff2omf winmm.lib winmm.~lib[/b] in this folder
# type [b]copy glut32.~lib glut32.lib[/b] in this folder. Do overwrite the file.
# type [b]copy glu32.~lib glu32.lib[/b] in this folder. Do overwrite the file.
# type [b]copy glaux.~lib glaux.lib[/b] in this folder. Do overwrite the file.
# type [b]copy opengl32.~lib opengl32.lib[/b] in this folder. Do overwrite the file.
# type [b]copy winmm.~lib winmm.lib[/b] in this folder. Do overwrite the file.
# Copy all [b].lib[/b] files to CBuilder6/Lib

Done! You can delete the temporary folder now.

== When you don't have Microsoft Visual Studio installed ==
I don't know. Perhaps YOU can write it down?







last edited (December 24, 2005) by bilderbikkel, Number of views: 10165, Current Rev: 4 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Site Management by Lars Hagelin at Kontantkort.se.