- Where can I download the programs from the book? Where is double.c?
- How to compile programs in the Berry Patch machines?
shell> gcc -o output HelloWorld.c -lglut -lGLU -lGL -L/usr/X11R6/lib
* The X libraries may be at a different location. Change the directory
of the libraries in the "-L" flag above.
* If the glut libraries are not in /usr/include, then give the directory
with the "-L" flag after the name of the file.
List of public machines can be found at the guru website.
If you encounter problems, try a different computer or ask a TA.