Course Software


We will be providing three main pieces of software: We'll be supporting two platforms: the cluster Sparcs and SGI's. You may use other platforms, but in that case you're on your own. To avoid porting and installing a lot of software by yourself, we recommend that you use one of the two supported platforms.

Other Software


Linking

You must link in different libraries when using OpenGL on Suns and SGI's. Typical link sequences are:
on SGI: -lforms -lGLU -lGL -lX11 -lm 
on Sun: -lforms -lMesaGLU -lMesaGL -lX11 -lXext -lsocket -lm 
and if you're linking with the pic_ and tiff_ routines, then you'll need -lpicio -ltiff as well.

You'll need to type the commands

setenv LD_LIBRARY_PATH /usr/lib:/usr/local/lib:/afs/cs/academic/class/15462/lib
setenv LD_LIBRARYN32_PATH /usr/local/lib32
for shared object files such as libforms.so and libGL.so to be resolved correctly. It's probably a good idea to put these commands in your .login .

For hackers: You can get a list of shared object files that a given executable looks for, by running elfdump -Dl <PROGRAM> on an SGI or ldd <PROGRAM> on a Sun. If you're really curious about which versions of shared object files are getting linked in, you can set the following environment variables and this will affect the runtime linker, rld (on SGI's):

setenv _RLD_ARGS "-quickstart_info -v"
setenv _RLD_PATH /usr/lib/rld.debug
so that every time you run a program it will print gobs of info. To turn off the linker debugging info, do
unsetenv _RLD_ARGS
unsetenv _RLD_PATH

Documentation

To get documentation via the "man" program, run this:
setenv MANPATH /usr/share/catman:/usr/share/man:/usr/catman:/usr/man:/usr/local/man:/afs/cs/academic/class/15462/man
or better yet, put it in your .login or equivalent shell initialization file.
15-462, Computer Graphics 1
Paul Heckbert, Aug. 1997

Links fixed: 20th Aug, 1998. Stuart Fairley.