Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: Starting to program with OpenGL.

  1. #1

    Starting to program with OpenGL.

    I would like to start programming with OpenGL. I have C++ experience. I was wondering, where can i download the OpenGL developer stuff? I've searched this site, but no luck. Or do i have to buy it?
    Please help.

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Grenoble - France

    Re: Starting to program with OpenGL.

    No need to pay to program with OpenGL API.

    See the coding FAQ :

  3. #3

    Re: Starting to program with OpenGL.

    Ok thanks.
    I've downloaded some SDK which contained a few header files. But not some file required for opengl, windows.h.
    Could anyone please tell me where to get this file?
    Cheers, Sentinel

  4. #4
    Senior Member OpenGL Pro
    Join Date
    May 2001

    Re: Starting to program with OpenGL.

    Hi !

    You will need at compiler to compile your OpenGL code, like Visual Studio or MinGW32 or something like that, those compilers comes with all files you need to compile OpenGL code.

    Visual Studio is available as a free console only download I belive at, or you could use gcc (

    There are of course other alternatives also like Borland, Watcom, LCC and so on.


  5. #5

    Re: Starting to program with OpenGL.

    Yeah i have a compiler, (two actually) but it hasn't got windows.h.

  6. #6

    Re: Starting to program with OpenGL.

    I have found windows.h, thanks to all that helped.

    But now i have other problems, it seems that almost every program requires header files that i DON'T have, so if anyone could point me directly to a valid OpenGL library, that would be most helpfull, i now got a few header files from a package i got from
    Please help me.

  7. #7

    Re: Starting to program with OpenGL.

    windows.h is a include file for "Microsoft Windows".
    Since your compiler(s) dont have it, I assume we arent talking about a MS Windows environment.

    As said before, the compilers should come with everything you need. If they dont then it dosent help to randomly download stuff that is not meant for your environment (whatever that may be).

    So what compiler(s) and os are we talking about?

  8. #8

    Re: Starting to program with OpenGL.

    I did some search and the compiler did include it. I'm using Digital Mars for my library stuff and Dev-C++ for compiling.
    I just need a valid OGL package. Someone please point me to one. I can't seem to find a package with all the files the tutorials and programs are talking about.

  9. #9
    Super Moderator OpenGL Guru imported_dorbie's Avatar
    Join Date
    Jul 2000
    Bay Area, CA, USA

    Re: Starting to program with OpenGL.

    Getting programs to compile involves making sure headers are found at compile time and that libs are found at link and probably run time.

    You will have the required headers especially if you have installed an SDK from here or from NVIDIA or ATI. Same with the libraries. You need to find the headers and either add the path to your project or move the libs to an existing path.

    Once you find the headers your compiler will probably start asking for missing libs or complaining about unresolved symbols during link time and you will have to add the link path or move the files locally or to an appropriate system directory. This is basic compilation stuff. You should probably get a book on OpenGL development if you can't get this working soon. Pretty much any of the OS specific books will help you with this.

  10. #10

    Re: Starting to program with OpenGL.

    I know what to do with the headers once i have them, but my problem is, i don't have them.
    Could anyone point me to a valid package of OpenGL header files? It would be most apreciated.

Page 1 of 3 123 LastLast

Similar Threads

  1. Starting opengl
    By mnfisher in forum OpenGL: Basic Coding
    Replies: 8
    Last Post: 07-07-2008, 08:57 AM
  2. Help me starting with opengl.
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 05-11-2004, 12:54 AM
  3. Error: "Error starting program"
    By Rick McGinnis in forum OpenGL: User Software
    Replies: 4
    Last Post: 11-24-2001, 03:54 AM
  4. problem with starting program (GLUT)
    By rom in forum OpenGL: Basic Coding
    Replies: 11
    Last Post: 07-13-2000, 02:37 AM
  5. Error Starting program
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 07-05-2000, 10:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean