View Full Version : OpenGl with BorlandC++???? HELP!
02-07-2000, 08:53 PM
i just bought BorlandC++ 5.02. I went to a site and downloaded glut for windows, and "tried" to follow their instructions, but they were VERY confusing and undetailed. Can anyone help me install correctly glut, gl, glu and everything else i need to run compile and execute opengl programs with Borland? As much help as i can get would be very helpful! Thank you!
Ill try to help you..
1. Download some kind of OpenGL package. I used SGI OpenGL for windows and I got it working.
2. Create lib files from the dll files you got with the package. Use the implib tool you got from Borland. ex implib glu.lib glu.dll creates glu.dll
3. If you want glut. Download a precompiled glut ver. found at opengl.org and use implib at that dll to.
4. You might need to create winmm.lib from winmm.dll to. (I had to)
5. Copy all .lib files to borlands lib direcotry.
1. When you create a project it should be a console project.
2. If you are using glut. Add glut.lib to your project by using addnode. (dont ask why)
02-08-2000, 07:34 PM
help! i tried some other things, and now i'm getting errors refering to declaration errors in "GLU.h"!!! why??? i thought glu should work? anyhelp?
You probably need to include windows.h before including gl.h or glu.h
Mike The Spike
02-14-2000, 12:34 PM
You can turn any dll in a lib, and any lib in a dll using some kind of tool? You know what that could mean for installations? How come I never heard of such a tool, is it some kind of new Borland-only thingy you get with the compiler?
Mike The Spike
PS. This could change the world!
02-17-2000, 08:44 AM
Don't dream !
The lib created from the dlls are used to resolve external links : when you use opengl32.dll, you must include opengl32.lib in your program so the compiler can know where the functions are in the dll. It's NOT a lib, but the extension is the same !
So the world stay as it is ;-)
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.