Missing glut.h file in Dev C++

This is a discussion on Missing glut.h file in Dev C++ within the C++ Programming forums, part of the General Programming Boards category; I recently thought I'd give OpenGL a go so I referered to the site http://www.glprogramming.com/ and the example code in ...

  1. #1
    Not stupid, just stupider yaya's Avatar
    Join Date
    May 2007
    Location
    Earthland
    Posts
    204

    Thumbs up Missing glut.h file in Dev C++

    I recently thought I'd give OpenGL a go so I referered to the site http://www.glprogramming.com/ and the example code in it requires this: GL/glut.h

    I looked around and found this .

    I have two questions:
    1. Is this the right file, and,
    2. How would I go about applying this to my compiler, Dev C++?

  2. #2
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Yes, you'll need the glut dev files.

    glut.lib (or whatever) (goes in ./lib)
    glut.h (goes in ./include/gl

    Look around, there's packaged versions of them too: http://www.xmission.com/~nate/glut.html

  3. #3
    Not stupid, just stupider yaya's Avatar
    Join Date
    May 2007
    Location
    Earthland
    Posts
    204
    Cheers!

  4. #4
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    Glut is nice but it's pretty outdated. If you can try and obtain openglut or even better GLFW since it supports opengl Extensions built in and it was recently ubdated.

    Edit: Yikes, just got a look at the glprogramming.com forums. No wonder you came here.
    Last edited by indigo0086; 06-26-2007 at 08:15 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need Help Fixing My C Program. Deals with File I/O
    By Matus in forum C Programming
    Replies: 7
    Last Post: 04-29-2008, 07:51 PM
  2. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 04:02 AM
  3. Game Pointer Trouble?
    By Drahcir in forum C Programming
    Replies: 8
    Last Post: 02-04-2006, 01:53 AM
  4. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 03:39 AM
  5. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM

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