View Full Version : How should I use glut library in C++ Builder?

03-09-2004, 08:40 PM
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?

03-29-2004, 05:15 AM
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.


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