View Full Version : C++ Builder and Opengl32.lib
I have this problem:
when I write a short program in Borland C++ Builder and try to compile it I get this error:
[LinkerError] 'C:\OPENGL32.LIB' contains invalid OMF record, type 0x21.
I've downloaded OpenGL libraries from microsoft games. What can cause this problem or what is more important how can I correct it?
THx for help in advance.
Borland uses another format for .lib files. So you either have to get opengl32.lib especially made for borland c++ builder or to create one. There is an utility implib.exe, which will output a lib file from a dll file, so just run it over opengl32.dll and you'll get a useable lib
[This message has been edited by Lev (edited 12-10-2001).]
OK. Now the same thing happens with glaux.lib, but I can't find glaux.dll anywhere. Where could I download it from?
Thx in advance.
12-11-2001, 11:10 AM
See my OpenGL page for info about using GLUT & GLAUX with Builder.
[This message has been edited by heiman (edited 12-11-2001).]
12-13-2001, 08:57 AM
There is another program called coff2omf, it will convert your coff (MS Visual C) library file to OMF what Borland uses. I don't know what you want to you GLUAX for? Its generaly a bad idea.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.