Installing Glut in linux

hi,
i’m a newbie to linux and want to port my existing opengl code from windows to linux…
my windows prgrs r in MFC and i want to convert them to glut…
does anyone know how to go about it…
thanks
vivek

Download glut, you get instructions with the source, Mesa also includes a version of glut.

Mikael

If you are using Redhat and some other may also have this, is a precompiled glut library.

On red hat they have a RPM, just download and install it. Note it is in two parts, one the run time library for applications and the development library, both must be installed to write a glut program.

As for converting over some be simple to do, as long as you just where opening a window and simple keyboard input/mouse, but note that glut does not support window bar menu’s for that you need to use some other crossplatform library like QT.

Originally posted by viv_slash:
hi,
i’m a newbie to linux and want to port my existing opengl code from windows to linux…
my windows prgrs r in MFC and i want to convert them to glut…
does anyone know how to go about it…
thanks
vivek