Thread: OpenGL and C++ (and me)

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    100

    OpenGL and C++ (and me)

    A few questions... Can i use OpenGl with dev-C++? And where is the best place to learn openGL for C++?

  2. #2
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    Yes, because Dev-C++ uses the MinGW compiler (a windows port of GCC).

    For learning, the OpenGL Programming guide (the 'red book') and the OpenGL programmer's reference ( the 'blue book') are good.

    Here a link to a previous version of the 'red book' (not much has changed in the new one).
    http://fly.cc.fer.hr/~unreal/theredbook/

    Here's a windows help file format of the the 'blue book' (at the bottom of the page.
    http://www.friends-of-fpc.org/tools/api/oglhlp/

    This site has lots of tutorials
    http://nehe.gamedev.net
    If a tree falls in the forest, and no one is around to see it, do the other trees make fun of it?

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    305
    gametutorials.com has some nice opengl tutorials.

  4. #4
    Registered User
    Join Date
    May 2002
    Posts
    100
    but gametuts.com's tutorials are for VC++ and they do not work with devC++

  5. #5
    Unregistered
    Guest
    nehe.gamedev.net

    Everything you'll ever need to know about OpenGL.

  6. #6
    Registered User
    Join Date
    May 2002
    Posts
    100
    i know... but it is all VC++ .... i need one that works with Dev-C++

  7. #7
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    They will work. If you have any problems let me know and I'll help walk you through the few things that you need to change to get it to work.
    If a tree falls in the forest, and no one is around to see it, do the other trees make fun of it?

  8. #8
    Registered User dirkduck's Avatar
    Join Date
    Aug 2001
    Posts
    428
    There is an OpenGL example that comes with the DevC++ package, take a look at that.

  9. #9
    Shadow12345
    Guest
    just to let you know i've checked out nehe's tutorials and I think that one went way too fast...the opengl redbook ( i went to the first link ) went at a more reasonable pace. I think I'm going to try using that for a while.

  10. #10
    Registered User
    Join Date
    Sep 2001
    Posts
    305
    im using the nehe tutorials and gametutorials.com tutorials with mingw(console). ive noticed that about 95% of vc++'s stuff works in mingw even libraries, i just renamed .libs to .as and they worked smoothly.

Popular pages Recent additions subscribe to a feed