[Radiance-general] Re: Horizontal artifacts in large image
Georg Mischler
[email protected]
Sun, 29 Jun 2003 05:26:01 -0400 (EDT)
Mark Stock wrote:
> 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);
Two alternative solutions:
- Change header.c so that the system headers get included before
resolu.h.
- #include <time.h> at the top of resolu.h (and <string.h> as
well, while you're at it).
Can't say anything about the random stuff.
-schorsch
--
Georg Mischler -- simulations developer -- schorsch at schorsch com
+schorsch.com+ -- lighting design tools -- http://www.schorsch.com/