A Step by Step Installation Guide ================================== If you came to this section, you must need help. Hopefully this section will guide you through in setting up properly. Don't give up yet, since once you have installed the tutorial, it will be worth the effort. Updating Files With Extension .tk ================================= The configure routine does the following :It updates all the .tk files in the sub directories by adding the following threelines at the top of each file: !#/path for wish set pothome to the directory in which POT is installed source the tkheader.h file which is in the directory POT In a typical installation this might look like : #!/usr/bin/wish set pothome /users/proj/grafix1/POT source /users/proj/grafix1/POT/tkheader.h Remember the only information you supply is the path for wish The tk files can be found in the following directories: /POT /POT/CHAP1 /POT/CHAP1/PROG_FILES and similarly for CHAP2 through CHAP6. You could just write a script to update these files Also update /POT/Config Here the path for wish is entered into the variable WISH. NOTE : Do note update Configure.tk itself!! -------------------------------------------- The paths for include files, and library files, and the files to be linked: ============================================================================ This part of the module also updates /POT/Config mentioned above. This file (/POT/Config) in a typical installation would look like : LINKS = -lglut -lGL -lGLU -lm -limage -lX11 -lXext -lXmu LDPATH = -L. INCS = -I. -I. WISH = /usr/bin/wish CC = gcc So if the installation does not work or quits, just update this file to reflect the links (LINKS), the path for the library (LDPATH), and path for the include files (INCS). You should have already updated the path for WISH in the previous step. This file (Config) is necessary for all your individual chapter makefiles to run properly. Updating POT/tkheader.h ======================= The last file to update is tkheader.h The first two lines of this file might look something like : #!/usr/bin/wish set lib [list -I. -L. -lglut -lGL -lGLU -lm -limage -lX11 -lXext -lXmu] The lib is nothing but complete compile command for OpenGL program in Chapter 1, Concept 10. This concept is the only one affected by any changes to this variable. YOU ARE ALL SET. TYPE Tutorial.tk at the command prompt and you are set to go"