[Radiance-general] Installing gendaylit
Thomas Bleicher
tbleicher at arcor.de
Mon Feb 16 06:08:16 PST 2009
Hi Chandrayee.
You can use gcc. I just compiled it on Mac OS with gcc
4.01. I didn't use any flags ('CCOPTS=') and set 'CC=gcc'.
I always got an error when compiling it. Today I looked
this up and found that there is a macro fropen() that
conflicts with the definition in the gensky source file
fropen.c (on Mac OS X BSD at least). I renamed 'fropen'
to 'fzopen' in fropen.c and gendaylit.c and it worked!
You may also include 'string.h' to avoid a warning
about strcpy.
Hth and servus,
Thomas
On 16 Feb 2009, at 12:42, Chandrayee Basu wrote:
> Hi
>
> As per the installation specification in the README of Gendaylit, I
> tried to edit the COPTS of the makefile, but it is giving errors
> and the compilation is failing. The default COPTS is -Ae -g. Will
> it work with the gcc of linux. I had specified '-o' COPTS for linux
> and it says the undefined reference to the trigonometric functions
> and to 'main'. Is it necessary to use a HP-UX gcc compiler? Will it
> work if I use the ILP32 hp-gcc?
>
> Thank you
> Chandrayee
>
> --
> Chandrayee Basu (M.Tech)
> Schröfelhofstraße 12, WG 07/02
> 81375 München
> +49-89-289-22403
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
More information about the Radiance-general
mailing list