PDA

View Full Version : Open GL Error!



EssayGeon
02-26-2001, 02:49 PM
I have been running through programs that I have found on the internet that use Open GL and they all work fine, but when I view the source and try to compile it it gives me this error:

'[Linker Error] "C:\...\Glut32.lib" contains invalid OMF record, type 0x21 (possibly COFF)'

I am using Borland's C++ Builder 5. I don't know what this means and I am new to Open GL programming. I don't know how I can fix this unless I just have a buggy Glut32.lib. Can someone please help?!?!?!

-Jacob (EssayGeon)

mango
02-26-2001, 03:33 PM
Your glut32.lib is for VC++, get a Borland compatible at: http://sites.netscape.net/ptrpck/borland.htm
or try to run coff2omf on your glut32.lib

EssayGeon
02-26-2001, 05:32 PM
Man... I owe you a million. I am going to be leading my class in some open gl stuff and we all use borland. You are a LIFE SAVER!!! i would have spent hours looking for it!

--Jacob