954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

what's a GL/glut.h?

do you know where to find GL/glut.h code? i only found gl.h, glaux.h and glut.h in some links.
can you help me?

jadedman
Newbie Poster
10 posts since Sep 2008
Reputation Points: 10
Solved Threads: 0
 

Here you go:

http://www.xmission.com/~nate/glut.html

If you're on windows that is. Else, you need to download glut.h from somewhere else for Linux.. don't know much about linux, sorry.

Clockowl
Posting Whiz
376 posts since May 2008
Reputation Points: 69
Solved Threads: 28
 

You can download GLUT from the net. Use google to search.

As for OpenGL files, they normally come with most C++ compilers/IDE.

Denniz
Posting Pro in Training
429 posts since Sep 2008
Reputation Points: 118
Solved Threads: 15
 

I know GLUT is easier to implement than a purpose-made win32, mac or linux OpenGL init code, but you'll find you will learn a lot more about opengl and device/rendering contexts and the rendering pipeline if you build your OpenGL program around these. I'd recommend taking NeHe's code and editing it out so you have OpenGL basecodes for fullscreen and windowed mode, and creating project files from these in whatever development IDE you are using.

paracavern
Newbie Poster
5 posts since Mar 2008
Reputation Points: 10
Solved Threads: 0
 

:Swhere can i find GL/glut.h header file to download and how to link it with vc++ microsoft express edition???
can u help???:-/

Manjula Deeksha
Newbie Poster
1 post since Mar 2010
Reputation Points: 10
Solved Threads: 0
 

life is hard, but we're here to help.

http://lmgtfy.com/?q=glut

jephthah
Posting Maven
2,587 posts since Feb 2008
Reputation Points: 2,143
Solved Threads: 179
 

http://www.edenwaith.com/products/pige/src/glut-3.7.6-bin.zip
copy glut.h to GL(folder) in include(folder) of VS

od3_85
Newbie Poster
1 post since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You