installing evalglare

Daer List, I am trying compile evalgrale on OSX but I am getting following
error. I am sure that it is quite trivial problem since I am not much
familiar with compiling programs. Did anyone had such a problem or can
someone advice me how to install it correctly or maybe I just should move
unpacked program to right directory and run it there. I could find missing
file GL/gl.h in Mesa 3-D graphics package and copy it to the /usr/include
where it should probably be, but by this only first part of error was solved
(above the line).
Thank you very much for any advices.
David

David:evalglare Dave$ make
gcc -c -g -DMSDOS -DPICT_GLARE -DFLOAT=double -O3 -Wall -o pictool.o
pictool.c -I. -Igeometry
In file included from pictool.h:12,
                 from pictool.c:1:
geometry/g3affine.h:14:19: error: GL/gl.h: No such file or directory
In file included from pictool.h:12,
                 from pictool.c:1:
geometry/g3affine.h:26: error: syntax error before 'GLdouble'
geometry/g3affine.h:27: error: syntax error before 'GLdouble'

···

---------------------------------------------------------------------------------
pictool.c: In function 'read_exposure':
pictool.c:89: error: nested functions are disabled, use -fnested-functions
to re-enable
pictool.c: In function 'pict_read_fp':
pictool.c:228: warning: unused variable 'ex'
pictool.c: In function 'pict_write_fp':
pictool.c:519: warning: unused variable 'argv'
pictool.c:518: warning: unused variable 'argc'
make: *** [pictool.o] Error 1

Hello,

Greg Ward managed to get evalglare to compile back in '09 at the Radiance
Workshop. I don't recall what changes he made to make it happen, but he got
it to work. It appears that this compiled executable is contained in the OS
X binary archive available for download from www.radiance-online.org. I have
had a few "bus error"s when using this version, but it works on many images.
Maybe you could try that version? Option B is to use the windows version on
a VM, which is what I usually do.

- Rob

···

On Thu, Mar 24, 2011 at 9:59 PM, David Appelfeld <[email protected]>wrote:

Daer List, I am trying compile evalgrale on OSX but I am getting following
error. I am sure that it is quite trivial problem since I am not much
familiar with compiling programs. Did anyone had such a problem or can
someone advice me how to install it correctly or maybe I just should move
unpacked program to right directory and run it there. I could find missing
file GL/gl.h in Mesa 3-D graphics package and copy it to the /usr/include
where it should probably be, but by this only first part of error was solved
(above the line).
Thank you very much for any advices.
David

David:evalglare Dave$ make
gcc -c -g -DMSDOS -DPICT_GLARE -DFLOAT=double -O3 -Wall -o pictool.o
pictool.c -I. -Igeometry
In file included from pictool.h:12,
                 from pictool.c:1:
geometry/g3affine.h:14:19: error: GL/gl.h: No such file or directory
In file included from pictool.h:12,
                 from pictool.c:1:
geometry/g3affine.h:26: error: syntax error before 'GLdouble'
geometry/g3affine.h:27: error: syntax error before 'GLdouble'

---------------------------------------------------------------------------------
pictool.c: In function 'read_exposure':
pictool.c:89: error: nested functions are disabled, use -fnested-functions
to re-enable
pictool.c: In function 'pict_read_fp':
pictool.c:228: warning: unused variable 'ex'
pictool.c: In function 'pict_write_fp':
pictool.c:519: warning: unused variable 'argv'
pictool.c:518: warning: unused variable 'argc'
make: *** [pictool.o] Error 1

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