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

Greg Ward [email protected]
Sun, 29 Jun 2003 09:55:13 -0700


Hi Mark,

> From: Mark Stock <[email protected]>
>
> 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);

I decided against including resolu.h in header.c, and the latest source 
check-ins reflect this already.  Download it again.

> 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.

Thanks for pointing this out -- it should be fixed, now.

-Greg

P.S.  Radiance-dev is probably a better place for this discussion, if 
you wish to share it any further.  I doubt there are many on this list 
compiling from top-of-trunk.