[Radiance-dev] RE: Compile Problems with Interix
Andy Stone
andy.stone at bdsp.com
Fri Feb 10 12:24:36 CET 2006
Hi Marcus,
I came across this problem when compiling Radiance under Interix. I
resolved it by commenting out these three lines near the top of the file
persist.c:
typedef void (sighandler_t)(int);
static sighandler_t sig_io;
static sighandler_t sig_alrm;
I should warn you that I didn't look into the problem too deeply, so
that may or may not be the best solution!
There are a couple of other problems you might want to watch out for (I
ran into these when compiling an older version of Radiance so maybe
you'll be ok with the most recent version).
I had a problem compiling the tiff library (in ray/src/px/tiff). The
problem was caused by the config.guess file which didn't recognise
Interix. I found an updated version elsewhere which I can send to you
if you need it.
Finally, I found that I was getting some very strange results from rpict
(see
http://www.radiance-online.org/pipermail/radiance-dev/2003-November/0002
53.html). The problem seemed to be caused by Interix's implementation
of the frexp() function. At the time there was an alternative version
of that function with the Radiance source which fixed the problem. It
seems that the alternative was removed from the Radiance source at some
point since then, so that option is no longer available. You might have
a more recent version of Interix that does not require the fix (you will
know if you have the problem because all of the images produced by rpict
will be obviously wrong). Personally I switched to using Cygwin.
Best regards,
Andy Stone
> Date: Fri, 10 Feb 2006 03:29:33 +0000
> From: "Marcus Jacobs" <marcdevon at hotmail.com>
> Subject: [Radiance-dev] Compile Problems with Interix
> To: radiance-dev at radiance-online.org
> Message-ID: <BAY102-F32B1FAA42E71AA4A5CC5B5A4020 at phx.gbl>
> Content-Type: text/plain; format=flowed
>
> Dear Group,
>
> I am attempting to compile Radiance using Microsoft's Services for
Unix
> (Interix 3.5). There are some problems that I am encountering. I have
> gotten
> some of Radiance's utilities to compile (about 50 total) but I have
run
> into
> some issues in getting the core rendering programs (rpict and rtace)
to
> compile. I am willing to forgo rview while using Interix and use this
> feature with Cygwin. Here are there error messages that I received
while
> attempting to compile the core rendering utilities:
>
> persist.c:37: error: conflicting types for `sighandler_t'
> /usr/include/signal.h:40: error: previous declaration of
`sighandler_t'
> persist.c: In function `pfhold':
> persist.c:129: warning: passing arg 1 of `mkfifo' makes pointer from
> integer
> wit
> hout a cast
> persist.c:131: warning: passing arg 1 of `mkfifo' makes pointer from
> integer
> wit
> hout a cast
> persist.c:134: warning: passing arg 1 of `mkfifo' makes pointer from
> integer
> wit
> hout a cast
> persist.c:152: error: cast specifies function type
>
>
> ambient.c: In function `ambsync':
> ambient.c:891: warning: assignment makes pointer from integer without
a
> cast
>
>
>
> I should note that I am using the latest CVS snapshop (I downloaded
within
> the last 30 minutes). Can anyone help me?
>
>
> Thanks
>
> Marcus
>
More information about the Radiance-dev
mailing list