Opengl -> Borland C++ 5.02?

This is a discussion on Opengl -> Borland C++ 5.02? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Ok. Here's the deal. I want to start programming in Open GL. Problem? Yes! I have borland C++ 5.02 (No ...

  1. #1
    Bios Raider biosninja's Avatar
    Join Date
    Jul 2002
    Location
    South Africa
    Posts
    765

    Opengl -> Borland C++ 5.02?

    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?
    The knack of flying is learning to throw yourself at the ground and miss.

  2. #2
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    Posts
    1,078
    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

  3. #3
    Bios Raider biosninja's Avatar
    Join Date
    Jul 2002
    Location
    South Africa
    Posts
    765
    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.
    The knack of flying is learning to throw yourself at the ground and miss.

  4. #4
    Bios Raider biosninja's Avatar
    Join Date
    Jul 2002
    Location
    South Africa
    Posts
    765
    Ok, I downloaded the gl header files and stuff from that site. But when I include it, i get the these errors :
    Attached Images Attached Images  
    The knack of flying is learning to throw yourself at the ground and miss.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. OpenGL using SDL --> Should I or shouldn't I?
    By Devils Child in forum C++ Programming
    Replies: 12
    Last Post: 02-01-2008, 01:18 PM
  2. Maya .obj files -> OpenGL?
    By two31d in forum C++ Programming
    Replies: 5
    Last Post: 12-01-2005, 08:09 PM
  3. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 01:34 PM
  4. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM
  5. 3ds max -> opengl? any tutorials?
    By genghis in forum Game Programming
    Replies: 1
    Last Post: 06-23-2002, 02:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21