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