Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: How should I use glut library in C++ Builder?

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2004
    Location
    Beijing
    Posts
    4

    How should I use glut library in C++ Builder?

    I have copied glut.h to include and glut32.lib glut.lib to lib, but when compile a program, the IDE says this is a link error.
    So what should I do, when using glut?

  2. #2
    Intern Newbie
    Join Date
    Jan 2004
    Location
    UK
    Posts
    46

    Re: How should I use glut library in C++ Builder?

    you need to make the borland .lib files from the GLUT dll's, in actual fact, the lib's supplied with glut are for MS VC++, you need to define libs for GLUT32.dll, and any other opengl dll's your using. looking this up in google helped me, to make these libraries you use.

    implib

    on the command line, then copy the lib files created to the borland lib directory. This tool does not convert from VC libs as suggested on some sites, it makes a .lib from the original dll.

    hope this helps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •