[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
LoadingDynamicLibraryC » startpage » CSharp Tutorial » Perl » Cppbuilder » CSharp » CppBuilderInstallGlut

(C++ Builder) How do I install GLUT?

  • Search Google on 'download GLUT'. My first hit was http://www.xmission.com/~nate/glut.html.
  • Extract the files. The files you will need are
      • glut.h
      • glut32.dll
      • glut32.lib
  • Copy the file glut.h to /Borland/CBuilder6/Include/GL.
  • Copy the file glut32.dll to C:/Windows/System.
  • Copy the file glut32.lib to /Borland/CBuilder6/Lib.


[Linker Error] '[MyFolder]\BORLAND\CBUILDER6\LIB\GLUT32.LIB' contains invalid OMF record, type 0x21 (possibly COFF)

The supplied glut32.lib was a Microsoft Visual C++ version. You need to create one that is Borland compatible.

You can create a Borland compatible glut32.lib file from glut32.dll or glut32.def.

Use the DOS command prompt to do so. Type the code below in the command prompt (in the same directory as glut32.dll).

IMPLIB glut32.lib glut32.dll


If this does not work, use glut32.def file:

IMPLIB glut32.lib glut32.def


[Linker Fatal Error] Fatal: Unable to open file 'GLU32.LIB'

 ?Install GLU.

last edited (March 17, 2008) by bilderbikkel, Number of views: 8032, 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. Site Management by Lars Hagelin at Kontantkort.se.