Results 1 to 6 of 6

Thread: I need the following file 'glut.h'

  1. #1
    Guest

    I need the following file 'glut.h'

    I don't have it for some reason. I got all the other ones in the standart directory but not that one. (#include <gl\glut.h> )

    can someone post the code to the file here so I can create a new header file and save it where the other ones are. Better yet point me to a download since I couldn't find it on the main page.


    thank you very much.

  2. #2
    Junior Member Newbie
    Join Date
    Dec 2002
    Location
    Greece
    Posts
    9

    Re: I need the following file 'glut.h'

    Are u on Unix or on Windows?

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,753

    Re: I need the following file 'glut.h'

    You'll need more than just the header. You'll also need the library file. And what version of the library file is going to be specific to the compiler you use.
    Deiussum
    Software Engineer and OpenGL enthusiast

  4. #4
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: I need the following file 'glut.h'

    Best to keep .h files in the correct directory, so when someone is helping you, you don't have some wierd setup then the one everyone else uses.

    \...\include\GL\glut.h
    \...\include\GL\glu.h
    \...\include\GL\gl.h

    In order for you to get the correct version of glut, we need to know the OS that you are using and the compiler.

    Originally posted by n00bster:
    I don't have it for some reason. I got all the other ones in the standart directory but not that one. (#include <gl\glut.h> )

    can someone post the code to the file here so I can create a new header file and save it where the other ones are. Better yet point me to a download since I couldn't find it on the main page.


    thank you very much.

  5. #5
    Senior Member Regular Contributor
    Join Date
    Mar 2000
    Location
    east norwalk, ct, usa
    Posts
    184

    Re: I need the following file 'glut.h'

    noob, what OS/distro are you using?

    I had this problem with Mandrake 8.2. Ended up downloading the proper version of the mesa-demos file just to get the header.

  6. #6
    Guest

    Re: I need the following file 'glut.h'

    Thank you for the replies, went searching some more and found what I was looking for at www.pscode.com under the C++ section doing a search for "openGL", was like page 3 of the 5 pages returned (can't remember). It was called 'OpenGL libraries and headers' (I think, can't remember).

    I am currently using WinXP but I am using openGL for my game to be compatible on my Mandrake 8.1 system. OpenGL is so much nicer then DX (I've used em since 5 to 8.1). Fully portable and I don't need to rewrite my engine everytime a new version comes out.

    Thank you for the replies, seeing as this forum is active I'll show up in the future with some more questions.


    Thank you again

Similar Threads

  1. GL/glut.h: No such file or directory
    By mccarun in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 03-24-2009, 12:30 AM
  2. 'GL/glut.h': No such file
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-07-2005, 04:47 AM
  3. cannot include glut.h file
    By namelb in forum OpenGL: Windows
    Replies: 2
    Last Post: 02-20-2004, 03:50 PM
  4. How to compile the glut file under red-hat 7.1
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 01-05-2002, 03:25 AM
  5. What and where is the latest glut.h file?
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 06-15-2000, 05:34 PM

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