Compiling error: contains invalid OMF record

Hi,
I’m new in OpenGL programming and I bought a book and tried several examples in it. But when I try to compile with Borland, I just get the following message:
Error: Error: ‘C:\BC5\LIB\GLUT32.LIB’ contains invalid OMF record, type 0x21

I put all the .dll and the .lib where they should be. So I wonder what I must do to be able to compile?

A google with “invalid OMF record” got me these:
http://www.bcbdev.com/faqs/faq92.htm
http://www.eecs.utoledo.edu/~jheuring/EECS4530/Handouts/borland.html

It appears you’re not alone.

Ok, thank you very much for your help, I’ll try tonight…

Ok, it partly solved my problem, so thank you :-). For those who have the same problem with Borland, I found additional information on the website:
http://www.gantless.com/borland.html
Now I have no more problem… :slight_smile: