[Radiance-general] install Evalglare on my Mac (version 10.8.4)

Cai, Hongyi hycai at ku.edu
Sat Sep 21 20:18:51 PDT 2013


Jan and Lars,

Thank you very much for your quick response. I guess I haven't got the executable (or I don't know where they are). I tried to use evalglare and got "command not found".

I checked usr/local/bin (I also checked usr/local/ray, with the same result), the folder "evalglare" is there. Inside the "evalglare" folder, I found following files:

common                  evalglare.c             gl.h                    pictool.h
documentation_v1.0x.pdf evalglare.dSYM          makefile                pictool.o
evalglare               geometry                pictool.c               platform.h

Sorry I don't know how to install the binary. Since the evalglare is already there, I did not copy it as Lars suggested.

Any suggestions will be greatly appreciated.

Thanks

Hongyi



From: Jan Wienold <jan.wienold at ise.fraunhofer.de<mailto:jan.wienold at ise.fraunhofer.de>>
Reply-To: Radiance general discussion <radiance-general at radiance-online.org<mailto:radiance-general at radiance-online.org>>
Date: Friday, September 20, 2013 4:12 AM
To: Radiance general discussion <radiance-general at radiance-online.org<mailto:radiance-general at radiance-online.org>>
Subject: Re: [Radiance-general] install Evalglare on my Mac (version 10.8.4)

don't worry too much about warnings as long as the executable is generated.
The current version is tested also under Mac.

Do you get the executable?
Jan


On 09/20/2013 05:15 AM, Cai, Hongyi wrote:
Hi, all,

Sorry for sending a message to everyone. I was trying to install Evalglare on my Mac (version 10.8.4), but ran into following problems.
I don't know much on Xquartz and linux. Any help will be appreciated!

Thanks
Hongyi Cai


I downloaded "evalglare_v1.11.tar.gz" and unpacked it to a folder "evalglare", then moved the folder to my radiance folder usr/local/ray. (I also tried use/local/bin, but ran into the same warning)
Then I went to the folder "evalglare" in Xquartz, and I did the following:

bash-3.2$ sudo make
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o common/color.o common/color.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o common/resolu.o common/resolu.c -I. -Igeometry
common/resolu.c:98:16: warning: implicit declaration of function 'atoi' is invalid in C99
      [-Wimplicit-function-declaration]
        if ((rp->xr = atoi(xndx+1)) <= 0)
                      ^
1 warning generated.
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o common/header.o common/header.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o common/image.o common/image.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o common/fvect.o common/fvect.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o common/badarg.o common/badarg.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o common/words.o common/words.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o common/fputword.o common/fputword.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o common/expandarg.o common/expandarg.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o common/wordfile.o common/wordfile.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o common/bmalloc.o common/bmalloc.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o common/mat4.o common/mat4.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o pictool.o pictool.c -I. -Igeometry
pictool.c:97:15: warning: unused function 'read_exposure' [-Wunused-function]
static  double read_exposure(FILE* fp)
               ^
1 warning generated.
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o geometry/g3vector.o geometry/g3vector.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o geometry/gbasic.o geometry/gbasic.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o geometry/g3affine.o geometry/g3affine.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o geometry/g3sphere.o geometry/g3sphere.c -I. -Igeometry
gcc -c -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -Wall  -o geometry/g3flist.o geometry/g3flist.c -I. -Igeometry
gcc -g  -DMSDOS  -DPICT_GLARE -DFLOAT=double -O3  -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
bash-3.2$





_______________________________________________
Radiance-general mailing list
Radiance-general at radiance-online.org<mailto:Radiance-general at radiance-online.org>http://www.radiance-online.org/mailman/listinfo/radiance-general



--
Dr.-Ing. Jan Wienold
Head of Team Passive Systems and Daylighting
Fraunhofer-Institut für Solare Energiesysteme
Thermal Systems and Buildings
Heidenhofstr. 2, 79110 Freiburg, Germany
Phone: +49(0)761 4588 5133 Fax:+49(0)761 4588 9133
jan.wienold at ise.fraunhofer.de<mailto:jan.wienold at ise.fraunhofer.de>http://www.ise.fraunhofer.de

In office:
Mo,Tue: 8:30-18:00
We,Thu: 8:30-16:00
Fr:  8:30-15:30

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


More information about the Radiance-general mailing list