| 1 |
SCCSid "@(#)noX11.help 2.5 11/4/92 LBL" |
| 2 |
This Radiance distribution assumes that you have X11 support |
| 3 |
(ie. a /usr/include/X11 directory and /usr/lib/libX11.a library). |
| 4 |
If you have X11 installed but in a non-standard location, you only |
| 5 |
need to edit the rmake script to add the needed -I and -L options. |
| 6 |
If this is not the case, you will have to make a couple of changes |
| 7 |
to the files in the src/rt directory to make "rview" compile properly. |
| 8 |
If you are a thorough person, you can also make changes to the Rmakefile's |
| 9 |
in the src/util and src/px directory to avoid some other spurious but |
| 10 |
unimportant errors. If you do not, you will have to copy the executable |
| 11 |
files from those directories manually since rmake will not do so. |
| 12 |
|
| 13 |
The following diffs should be applied to Rmakefile and devtable.c in the |
| 14 |
src/rt subdirectory: |
| 15 |
|
| 16 |
============= rt/Rmakefile ============= |
| 17 |
35c35 |
| 18 |
< DOBJS = devtable.o devcomm.o editline.o x11.o x11twind.o \ |
| 19 |
--- |
| 20 |
> DOBJS = devtable.o devcomm.o editline.o \ |
| 21 |
37c37 |
| 22 |
< DSRC = devtable.c devcomm.c editline.c x11.c x11twind.c \ |
| 23 |
--- |
| 24 |
> DSRC = devtable.c devcomm.c editline.c \ |
| 25 |
39c39 |
| 26 |
< DLIBS = -lX11 |
| 27 |
--- |
| 28 |
> DLIBS = |
| 29 |
|
| 30 |
============= rt/devtable.c ============= |
| 31 |
11i |
| 32 |
> #define X11 0 |
| 33 |
|
| 34 |
These changes may be applied to the Rmakefile's in the src/util and |
| 35 |
src/px subdirectories for cleaner compilation: |
| 36 |
|
| 37 |
=============== px/Rmakefile ============= |
| 38 |
19c19 |
| 39 |
< ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip |
| 40 |
--- |
| 41 |
> ra_t8 ra_bn ra_t16 pcomb pinterp pflip |
| 42 |
|
| 43 |
=============== util/Rmakefile ============ |
| 44 |
13c13 |
| 45 |
< PROGS = rpiece findglare xglaresrc glarendx |
| 46 |
--- |
| 47 |
> PROGS = rpiece findglare glarendx |