Computer graphics OpenGL code practice with C++. GLUT Library required Install the library (Arch Linux example): $ pacman -S freeglut freeglut-devel Compile using: $ gcc cube_rotation.cpp -o outputFilename1.o -L/usr/X11R6/lib/ -lGL -lGLU -lglut