Saturday, October 1, 2011

GLUT in Fedora15

For all those who have nightmares trying to install glut in Fedora15 , try these steps.
They worked for me :)
 

#yum install gcc-c++
#yum install freeglut-devel

Compile your c++ code as

g++ -L/usr/lib filename.cpp -lglut -lGL -lGLU

Keyin  ./a.out to view your output.