PDA

View Full Version : GLUT.lib for Borland C++ Builder 6



03-17-2005, 10:19 AM
I have the problem to get GLUT running with Borland C++ Builder 6. Reason is, that most glut.h files in the net are for VC++. I tried all, that is posted in the net. Download the VC++ files and transfer them to BCB via implib... Also this failed. Who has GLUT running with Borland C++ Builder 6? Please let me know, what to do. Does someone has working header files?

dvm
03-17-2005, 11:19 AM
Did you use the .def file that comes with glut? I had it working once, but it was a couple of years ago. Anyway, I can give you a

uruk
03-18-2005, 04:47 AM
if you have glut32.dll and glut.def use implib like this:
implib -c -a glut32.lib glut32.dll glut.def
or
implib -c glut32.lib glut32.dll glut.def

I can't remember wich one works. Try them both.

03-19-2005, 01:59 AM
I got it running finally. I used the files from the CD which comes with the "OpenGL Superbible" in the folder "tools\glut3.7\Wind32PreBuilt". The I used the implib command on them.