About the Computer Graphics Example Programs


General

In order to compile the programs you must copy all relevent source files and the appropriate Makefile to you directory. See this file for a brief introduction to how the program linking process works in Sun's operating system Solaris (and on many other UNIX or UNIXesque - to coin a word that by definition means any UNIX clone - platforms)

When you run SPHIGS/SRGP programs you may get the message "Unable to open the SRGP logfile!" and the program is terminated. This problem occurs only if you run the program from a directory where you don't have write access: the logfile is created by the program. Solution: run the program from you own account.


~grafik/ExamplesPHIGS/house.cc

Files
~grafik/ExamplesPHIGS/house.C
~grafik/ExamplesPHIGS/MakeC++
Compile command:
make PROG=house -f MakeC++

~grafik/ExamplesPHIGS/colhouse.C

Files
~grafik/ExamplesPHIGS/colhouse.C
~grafik/ExamplesPHIGS/MakeC++
Compile command:
make PROG=colhouse -f MakeC++

/home/grafik/X/drawX.C


/home/grafik/X/drawMotif.C


drawMotifPP.C

This program is not available on-line (because it cannot be compiled on the Sun system).

V tutorial (in /home/grafik/X/v/tutor)

Files
makefile
tcanvas.cpp
tcanvas.h
tcmdwin.cpp
tcmdwin.h
tdialog.cpp
tdialog.h
tmodal.cpp
tmodal.h
tutapp.cpp
tutapp.h
Compile command:
make

[kursens hemsida]