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?
Printable View
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?
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
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.
Ok, I downloaded the gl header files and stuff from that site. But when I include it, i get the these errors :