open gl and dev c++

This is a discussion on open gl and dev c++ within the Game Programming forums, part of the General Programming Boards category; in a tutorial there is a header file which writes Code: #include <GL/glut.h> but dev c++ says there is no ...

  1. #1
    yes, I'm registered!!! algi's Avatar
    Join Date
    Nov 2004
    Location
    Ipswich
    Posts
    161

    open gl and dev c++

    in a tutorial there is a header file which writes
    Code:
    #include <GL/glut.h>
    but dev c++ says there is no directory. Does anybody know what is wrong
    I started out with nothing and I still have most of it left.

  2. #2
    email for MystWind avatar MystWind's Avatar
    Join Date
    Feb 2005
    Location
    Holland , The Hague
    Posts
    88
    for what compiler is your turtourial written? If its something else than dev-c++ I guess its a dialect.
    PLay MystWind beta , within two years

  3. #3
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    glut is a library used with opengl (its not part of opengl itself). You need to download and install glut.
    http://www.opengl.org/resources/libraries/glut.html

    or better yet, nate robbins has pre-built windows binaries.
    http://www.xmission.com/~nate/glut.html

Popular pages Recent additions subscribe to a feed

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