How to use GLut library?

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 .
Thx!

Please give me an example.

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.

:regards:

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.