[Radiance-general] 3.5 compiling, round two

Rob Guglielmetti [email protected]
Mon, 18 Aug 2003 17:34:45 -0400


OK, the lights are on, the phones are workin'.  Let's try this again.

So, I got Francesco's binaries working.  Folks, I have no idea what 
happenned to my RAYPATH.  But I put a line for it back into my .profile 
file and it worked.  So, of course, I then uninstalled the whole thing 
because I'm stubborn and want to compile the source, darn it!

I (believe I) removed all traces of Radiance from the /usr/local/bin and 
/usr/local/lib/ray folders, essentially starting from scratch. 
Schorsch, thanks for that tip on redirecting the output to the file, it 
worked a treat.  (BTW, I *had* to use the second iteration "makeall 
install |& tee log.txt" so that I could answer the prompts).

Got errors again, but after combing through the log they all center 
around a few things during the compilation of the holodeck stuff.  Here 
are all the errors (I ignored warnings for now):

gcc -I../common -L../lib -O2 -DSPEED=200 -Dlinux -L/usr/X11R6/lib 
-I/usr/include/X11 -DNOSTEREO -DBIGMEM   -c -o rholo3.o rholo3.c
rholo3.c: In function `dispbeam':
rholo3.c:92: parse error before "else"
rholo3.c: In function `ambient_list':
rholo3.c:272: parse error before "else"
rholo3.c: In function `sortcomplist':
rholo3.c:393: parse error before "else"
make: *** [rholo3.o] Error 1

gcc -I../common -L../lib -O2 -DSPEED=200 -Dlinux -L/usr/X11R6/lib 
-I/usr/include/X11 -DNOSTEREO -DBIGMEM   -c -o rholo3.o rholo3.c
rholo3.c: In function `dispbeam':
rholo3.c:92: parse error before "else"
rholo3.c: In function `ambient_list':
rholo3.c:272: parse error before "else"
rholo3.c: In function `sortcomplist':
rholo3.c:393: parse error before "else"
make: *** [rholo3.o] Error 1

gcc -I../common -L../lib -O2 -DSPEED=200 -Dlinux -L/usr/X11R6/lib 
-I/usr/include/X11 -DNOSTEREO -DBIGMEM   -c -o rhpict2.o rhpict2.c
rhpict2.c: In function `reset_flags':
rhpict2.c:263: parse error before "else"
rhpict2.c: In function `meet_neighbors':
rhpict2.c:339: parse error before "else"
make: *** [rhpict2.o] Error 1

make: Target `install' not remade because of errors.

and, of course, the dreaded:

There were some errors.

I now have 113 binaries in /usr/local/bin/ray, but the binary package at 
radsite contains 135, I believe.  So, I guess I'm close, but no cigar. 
Any ideas?


----

      Rob Guglielmetti

e. [email protected]
w. www.rumblestrip.org