[Radiance-general] Re: Horizontal artifacts in large image

Mark Stock [email protected]
Sat, 28 Jun 2003 22:54:54 -0400 (EDT)


On Wed, 25 Jun 2003, Greg Ward wrote:
>
> Assuming it's the long integer wrapping as I suspect, you should
> download top-of-trunk and recompile to see if this is fixed.  Go to
> www.radiance-online.org and click on the "download Radiance" link under
> software.  Then, grab the "current experimental/bug-fixed version"
> called radiance-HEAD.tgz.  Rerun "rmake install" in src/common and
> src/rt and that should update rpict, rtrace, and rview.

Just got around to this today. in src/common I get:

gcc -Dlinux -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGMEM -DMC
-O2 -DSPEED=200 -O3 -march=i686 -malign-double -mno-ieee-fp -ffast-math
-fomit-frame-pointer -fstrict-aliasing   -c -o header.o header.c
In file included from header.c:28:
resolu.h:64: parse error before `*'
resolu.h:66: parse error before `t'
make: *** [header.o] Error 1

Those lines are:
extern int      dateval(time_t *t, char *s);
and
extern void     fputdate(time_t t, FILE *fp);


And in src/rt:

gcc -I../common -L../lib -O2 -DSPEED=200 -O3 -march=i686 -malign-double
-mno-ieee-fp -ffast-math -fomit-frame-pointer -fstrict-aliasing -Dlinux
-L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGMEM -DMC -DNICE=4 -c
rtmain.c
In file included from rtmain.c:17:
../common/random.h:70: parse error before `int'
make: *** [rtmain.o] Error 1

This also reminds me: does anyone regularly use true random Monte-
Carlo sampling with the -DMC compile flag? I have traditionally had
to make changes in the common/random.h file to get that to build
under current gcc versions---as I did when 3R5 came out.

Mark