For UNIX / Linux, simply enter the following command that will install all necessary packages:
(Debian, Fedora) # sudo apt-get install freeglut3 freeglut3-dev
(Vine) # sudo apt-get install freeglut freeglut-devel
(RedHat, Fedora) # sudo yum install freeglut # sudo yum install freeglut-devel
./compile.py
./stlviewer
./stlviewer --help