install Evalglare on my Mac (version 10.8.4)

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$

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
[email protected]
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
[email protected]

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

Hi,

seams that, besides some warnings, the compilation went fine. However, the binary did not get installed yet. I do not remember now whether "make install" is provided by the Makefile, if not, copy the file evalglare into a directory which is in your path. E.g. /usr/local/bin.

Cheers, Lars.

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 <[email protected]<mailto:[email protected]>>
Reply-To: Radiance general discussion <[email protected]<mailto:[email protected]>>
Date: Friday, September 20, 2013 4:12 AM
To: Radiance general discussion <[email protected]<mailto:[email protected]>>
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
[email protected]<mailto:[email protected]>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
[email protected]<mailto:[email protected]>http://www.ise.fraunhofer.de

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

Hi Hongyi

the file "evalglare" in the folder evalglare should be the executable. If you do a 'ls -al' it should have some "x"-es in the mode (rwx--x--x or similar). All you need to do is copy it to a path that is in your PATH variable or call it with its full path, e.g. if "&gt;&quot; is your command line prompt you type in /usr/local/ray/evalglare/evalglare &lt;command line arguments&gt;&quot; after the &quot;>".

Best
Achim

···

On Sep 22, 2013, at 5:18 AM, "Cai, Hongyi" <[email protected]> wrote:

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 <[email protected]>
Reply-To: Radiance general discussion <[email protected]>
Date: Friday, September 20, 2013 4:12 AM
To: Radiance general discussion <[email protected]>
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
[email protected]://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
[email protected]://www.ise.fraunhofer.de

In office:
Mo,Tue: 8:30-18:00
We,Thu: 8:30-16:00
Fr: 8:30-15:30
_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

[email protected]

Thank you, Achim, the problem is solved, I can use evalglare now.

Thanks

Hongyi

···

From: Achim Geissler <[email protected]<mailto:[email protected]>>
Reply-To: Radiance general discussion <[email protected]<mailto:[email protected]>>
Date: Sunday, September 22, 2013 5:21 AM
To: Radiance general discussion <[email protected]<mailto:[email protected]>>
Subject: Re: [Radiance-general] install Evalglare on my Mac (version 10.8.4)

Hi Hongyi

the file "evalglare" in the folder evalglare should be the executable. If you do a 'ls -al' it should have some "x"-es in the mode (rwx--x--x or similar). All you need to do is copy it to a path that is in your PATH variable or call it with its full path, e.g. if "$>" is your command line prompt you type in /usr/local/ray/evalglare/evalglare <command line arguments>" after the "$>".

Best
Achim

On Sep 22, 2013, at 5:18 AM, "Cai, Hongyi" <[email protected]<mailto:[email protected]>> wrote:

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 <[email protected]<mailto:[email protected]>>
Reply-To: Radiance general discussion <[email protected]<mailto:[email protected]>>
Date: Friday, September 20, 2013 4:12 AM
To: Radiance general discussion <[email protected]<mailto:[email protected]>>
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
[email protected]<mailto:[email protected]>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
[email protected]<mailto:[email protected]>http://www.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

_______________________________________________
Radiance-general mailing list
[email protected]<mailto:[email protected]>
http://www.radiance-online.org/mailman/listinfo/radiance-general

[email protected]<mailto:[email protected]>