PDA

View Full Version : getting GLUT32.LIB to work in BORLAND 5



gmack
12-10-2000, 10:44 AM
Can someone help me?

I just started programming, and am learning to use OpenGl..But I get a linker error in my compiler..
it states

Info :Compiling C:\BC5\BIN\hello.cpp
Info :Linking C:\BC5\BIN\hello.exe
Error: Error: 'C:\BC5\LIB\GLUT32.LIB' contains invalid OMF record, type 0x21

if anyone knows how I can setup Glut to work and the actual steps I have to take.I'd appreciate it..

12-10-2000, 09:21 PM
You are trying to use a .lib that is for Visual C++.
You can use the Borland tools to create a import library for glut32.dll

Prebuilt libraries and some information at: http://sites.netscape.net/ptrpck/borland.htm

gmack
12-11-2000, 10:02 AM
Originally posted by MahJong:
You are trying to use a .lib that is for Visual C++.
You can use the Borland tools to create a import library for glut32.dll

Prebuilt libraries and some information at: http://sites.netscape.net/ptrpck/borland.htm



thanks for your help, but i seem to have another file that isn;t converted and I can't seem to find the libraries on these sites....

opengl32.lib returns error
glu32.lib returns error
wimm.lib "........."

So far the other headers and libraries are fine...thanks