PDA

View Full Version : Installing Glut in linux



viv_slash
12-20-2003, 09:37 PM
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

mikael_aronsson
12-20-2003, 11:59 PM
Download glut, you get instructions with the source, Mesa also includes a version of glut.

Mikael

nexusone
12-21-2003, 07:29 AM
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