View Full Version : How to use GLut library?

05-26-2004, 08:58 PM
Help me!
I want to use glut in linux,but i don't know how to install it and how to use it.please help me .

Please give me an example.

05-27-2004, 06:30 PM
firs off, what linux distribution are you using? [helps to find out where/how to install glut]. with gentoo, you can just do:

#emerge glut

with redhat, you can either search for glut via google, download the rpm and do:

#rpm -ivh glut-<version>.rpm

with debian, you can do:

#apt-get glut

..it all depends on your distro. as far as how to use it... check out the examples at http://nehe.gamedev.net/ . be sure to download the glut examples.

i hope that helps.