PDA

View Full Version : Opengl -> Borland C++ 5.02?



biosninja
12-02-2002, 12:37 AM
Ok. Here's the deal.

I want to start programming in Open GL. Problem? Yes!
I have borland C++ 5.02 (No Visual C++) Will it be possible to do that in my compiler? If so, what additional files will I need?

Polymorphic OOP
12-02-2002, 01:05 AM
You shouldn't need any additional files -- just the static link library and the header. Same as if you were to be using any other compiler/linker.

I haven't used Borland C++, but basically what you want to do is,
before you link, go into your project's settings and link OpenGL32.lib (if you are working in win32).

then just

#include <gl\gl.h>

and you should be fine.

If you need up-to-date libraries you can find them at

http://www.opengl.org

biosninja
12-02-2002, 01:16 AM
Still working in dos mode (no need for me to program in windows)

Compiler says "unable to include gl.h. gl.h not found"

I'll try to download it.

biosninja
12-02-2002, 02:05 AM
Ok, I downloaded the gl header files and stuff from that site. But when I include it, i get the these errors :