If OPGS is installed in /usr/g5g :
1. Set the current directory to /usr/g5g/OPGS/demos/product/language
where product can be
GPHIGS, GPHIGS_GUI, PHIGURE
and language can be
C, FORTRAN
2. Set the environment variable OPGS_HOME
C-SHELL :
setenv OPGS_HOME /usr/g5g/OPGS
K-SHELL
export OPGS_HOME=/usr/g5g/OPGS
4. Compile and link a demonstration program
For GPHIGS in demos/GPHIGS/C
make check
For GPHIGS_GUI in demos/GPHIGS_GUI/C
make check
For PHIGURE in demos/PHIGURE/C
make check
5. Run this demonstration
Note:
- X11 driver 8887
- GL driver on SGI and IBM 7177
- OPEN GL driver 7971
- XGL driver on SUN 8871
- CGM Clear Text output file 10
- RLE output file 8276
- PostScript output file 80791
etc. (see GPHIGS User Guide for more information about GPHIGS drivers)