Running on WAM Unix and CSIC Linux Machines: -------------------------------------------- OpenGL and GLUT have been installed on the WAM, Glue, and CSIC Linux Lab machines. However, the library and include files are stored in different directories on each machine, and so it is necessary to use the appropriate Makefile. If you wish to run sample1.cpp on a Unix platform (Linux or Solaris), you can use the appropriate Makefile to compile your program. First, copy the appropriate Makefile Makefile-CSIC-Linux for CSIC Linux Labs Makefile-WAM-Sun for the Sun workstations in WAM or Glue labs Makefile-Junkfood-Linux for the CS Junkfood labs (CS grad students only) To compile and execute the program do: $ make $ sample1 (or "./sample1") A window should open up with a teapot in it. Hit the "a", "l", or "q" keys. Running on you PC with Linux: ----------------------------- If you have access to a PC with Linux, you will need to install OpenGL and GLUT yourself. You can check with OpenGL has already been installed by searching for the appropriate include files (glut.h, glu.h, gl.h) and the libraries needed for the same (libglut, libGLU, libGL). If these have not been installed, they can be downloaded from the Web. For OpenGL, search for "Mesa OpenGL" on google. It is free version of OpenGL. For GLUT, search for "freeglut". This is an open source version of GLUT. Once these have been installed, make the necessary changes to the directory settings in the Makefile-CSIC-Linux.