[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
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

  1. Copy /VC98/Include/gl/glut.h to /CBuilder6/Include/gl/glut.h
  2. 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.
  3. Copy the file /CBuilder6/Bin/coff2omf.exe to this temporary folder
  4. type coff2omf glut32.lib glut32.~lib in this folder
  5. type coff2omf glu32.lib glu32.~lib in this folder
  6. type coff2omf glaux.lib glaux.~lib in this folder
  7. type coff2omf opengl32.lib opengl32.~lib in this folder
  8. type coff2omf winmm.lib winmm.~lib in this folder
  9. type copy glut32.~lib glut32.lib in this folder. Do overwrite the file.
  10. type copy glu32.~lib glu32.lib in this folder. Do overwrite the file.
  11. type copy glaux.~lib glaux.lib in this folder. Do overwrite the file.
  12. type copy opengl32.~lib opengl32.lib in this folder. Do overwrite the file.
  13. type copy winmm.~lib winmm.lib in this folder. Do overwrite the file.
  14. Copy all .lib 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: 3215, Current Rev: 4 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 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. Development by Tore Nestenius at .NET Consultant - Synchron Data.