[Radiance-general] evalglare installation on mac

Stefano Moret smoret at ucdavis.edu
Thu May 31 17:40:06 PDT 2012


Hi,

I've downloaded the v.1.04 version of evalglare on my mac os 10.6.8.
I added to the flags the -fnested-functions to the CFLAGS as indicated in the previous emails, unpacked the folder into /radiance/evalgare, and ran "make" from the command line.
It doesn't seem to install properly though, basically what I see in output is:

MacBook-di-Stefano-Moret:evalglare Cinese$ make
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o common/color.o common/color.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o common/resolu.o common/resolu.c -I. -Igeometry
common/resolu.c: In function ‘str2resolu’:
common/resolu.c:98: warning: implicit declaration of function ‘atoi’
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o common/header.o common/header.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o common/image.o common/image.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o common/fvect.o common/fvect.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o common/badarg.o common/badarg.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o common/words.o common/words.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o common/fputword.o common/fputword.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o common/expandarg.o common/expandarg.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o common/wordfile.o common/wordfile.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o common/bmalloc.o common/bmalloc.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o common/mat4.o common/mat4.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o pictool.o pictool.c -I. -Igeometry
pictool.c:98: warning: ‘read_exposure’ defined but not used
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o geometry/g3vector.o geometry/g3vector.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o geometry/gbasic.o geometry/gbasic.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o geometry/g3affine.o geometry/g3affine.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o geometry/g3sphere.o geometry/g3sphere.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -o geometry/g3flist.o geometry/g3flist.c -I. -Igeometry
gcc -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -fnested-functions -Wall  -DEVALGLARE -o evalglare  evalglare.c pictool.o geometry/g3vector.o geometry/gbasic.o geometry/g3affine.o geometry/g3sphere.o geometry/g3flist.o \
-I. -Igeometry common/color.o common/resolu.o common/header.o common/image.o common/fvect.o common/badarg.o common/words.o common/fputword.o common/expandarg.o common/wordfile.o common/bmalloc.o common/mat4.o  -lm

It does something, but I don't think it's properly installed: for example, it can't find the command evalglare if I'm in another folder, and even in that folder it doesn't run the glare analysis on the picture.
Could anyone enlighten me on what I'm doing wrong?

Many thanks,
Best Regards,
Stefano

--

Stefano Moret
California Lighting Technology Center<http://cltc.ucdavis.edu/>
University of California, Davis
633 Pena Drive
Davis, CA 95618

530-747-3846
smoret at ucdavis.edu<mailto:smoret at ucdavis.edu>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20120601/a6ee7ec7/attachment.html>


More information about the Radiance-general mailing list