See the project 1 web page for a link to instructions for getting jot, and for defining environment variables you'll need to set before you can compile jot applications (like project 1). After you compile p1, you can run the resulting executable with one or more model files specified on the command line, e.g.: % p1 models/color-cow.sm models/octahedron.sm ----------------------------------------------------------------- To compile: On linux, define the following environment variables: JOT_ROOT=/path/to/your/jot/install ARCH=linux (Use export for bash, setenv for tcsh and csh). Then you should be able to build the project by typing 'make'. (No need to edit the Makefile.) ----------------------------------------------------------------- On Windows, you have to compile using a DOS shell, but can otherwise use cygwin for running p1. If using the pre-compiled jot libraries on CAEN, ensure that /afs/engin.umich.edu/class/perm/eecs487/ is accessible; do this by mapping a networked drive: Start menu --> My Computer --> Tools --> "Map Network Drive" Choose a letter for the drive (e.g. Z:) Enter the folder: \\afs\engin.umich.edu\class\perm\eecs487 ----------------------------------------------------------------- Edit proj1/setup.bat according to the instructions (look for 'XXX'). You need to define VSYEAR, JOT_ROOT and the path to your proj1 directory. Note that in setup.bat, slashes go backward: set JOT_ROOT=z:\eecs487\jot set VSYEAR=2005 (Use VSYEAR=2005 for Visual Studio 8, and VSYEAR=2003 for Visual Studio 7.) ----------------------------------------------------------------- Also edit the Makefile to define JOT_ROOT (in the WIN32 section). Note slashes go *forward* in the Makefile: JOT_ROOT = Z:/eecs487/jot ----------------------------------------------------------------- On your desktop, create a shortcut for launching a DOS shell with environment variables set for compiling p1: E.g., if your proj1 directory is H:\Private\proj1, the shortcut should have the following target: %SystemRoot%\system32\cmd.exe /k H:\Private\proj1\setup.bat Give the shortcut a reasonable name, e.g.: 'proj1' 4. Double click the shortcut to start a DOS shell. In that shell, type "make" -- the project should compile!