PDA

View Full Version : Glut.lib and Glu.lib error



04-15-2001, 08:00 PM
Hello,
Ahhhhhh one problem fixed then another pops up.. Well anyway my problem is that when my compiler is linking it comes up with an error :

"'C:\windows\desktop\test\glut32.lib' contains invalid OMF record, type 0x21"

Please help!!!!
Thank you

04-15-2001, 08:04 PM
Oh ya im using Borland C++ verion 5
but the gl code alone works perfectly but not the glut or glu stuff. Also i forgat to tell you that i get the same error with glu32.lib.

Thanks for the time.

ffish
04-16-2001, 12:09 AM
I don't use Borland myself (VC++6) but I think you have to rebuild the GLUT library for Borland. I think that the one you are using may have been built for VC++. Do a search on this board for "Borland glut" or similar. This has been discussed before.

[This message has been edited by ffish (edited 04-16-2001).]

vrempire
04-16-2001, 02:58 AM
yeah...
just like ffish said..
i think that you have to build the glut especially for borland..

you have to convert the GLUT library to the borland format..
first, you try to go to the command prompt..find the folder which contain the glut32.dll. And then, you type this: -



implib bcglut32.lib glut32.lib

try that first..

04-16-2001, 12:23 PM
Wow!

Thank you guys really helped! and now i can finally get to play around with Opengl!!

Thanks!