1 |
greg |
1.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 |
|
|
15c15 |
32 |
|
|
< char dev_default[] = "x11"; |
33 |
|
|
--- |
34 |
|
|
> char dev_default[] = "sun"; /* or "news" for SGI */ |
35 |
|
|
17,18d16 |
36 |
|
|
< extern struct driver *x11_init(); |
37 |
|
|
< |
38 |
|
|
23c21 |
39 |
|
|
< {"x11", "X11 color or greyscale display", x11_init}, |
40 |
|
|
--- |
41 |
|
|
> {"x11", "X11 color or greyscale display", comm_init}, |
42 |
|
|
|
43 |
|
|
These changes may be applied to the Rmakefile's in the src/util and |
44 |
|
|
src/px subdirectories for cleaner compilation: |
45 |
|
|
|
46 |
|
|
=============== px/Rmakefile ============= |
47 |
|
|
19c19 |
48 |
|
|
< ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip |
49 |
|
|
--- |
50 |
|
|
> ra_t8 ra_bn ra_t16 pcomb pinterp pflip |
51 |
|
|
|
52 |
|
|
=============== util/Rmakefile ============ |
53 |
|
|
13c13 |
54 |
|
|
< PROGS = rpiece findglare xglaresrc glarendx |
55 |
|
|
--- |
56 |
|
|
> PROGS = rpiece findglare glarendx |