Compiling rad4Rall on W7 64 bit Cygwin

Radiance group,

I tried to compile rad4Rall on a Windows 7 64 Bit Cygwin system. After
making this change to ezxml.h:
http://luminance.londonmet.ac.uk/radiance_mailinglists/general/2010-October/007397.html
it compiled but with errors.

The first error I could find was:

persist.c:42: error: conflicting types for ‘sighandler_t’
/usr/include/signal.h:11: error: previous declaration of ‘sighandler_t’
was here
make: *** [persist.o] Error 1

Same as Claus had here
http://luminance.londonmet.ac.uk/radiance_mailinglists/general/2010-October/007402.html

Was there ever a resolution?

As a fix, would it be reasonable to merge a full set of Cygwin Radiance
3R7 bin and lib files with a partial set of 4.0 files, and just keep the
4.0 files where duplicates occur? Looks like the non-duplicates were
lookamb, rpict, rtrace, rview, and rvu. Also, rayinit.cal and
glazing.cal were not in the lib directory. Although, these are some
pretty major files not to have compile, I just ran oconv and rpict on an
old project and it seemed to work fine.

Thanks for any help.

Mark de la Fuente

[{--Wm. Tao & Associates, Inc.--}] This message and content is
privileged, intended only for recipients named and/or addressed. If the
receiver/reader is not a representative of the intended recipient, any
review, forwarding, dissemination or copying of this message or its
content, in part or in whole, is prohibited. If you have received this
message in error, please notify the sender immediately by Reply email,
and Delete the original message and attachments.

Hi Mark,
I ”resolved” the sighandler issue by applying the fix I found at:
http://www.radiance-online.org/pipermail/radiance-dev/2006-February/000676.html
Quoting:
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!

Doing exactly “as I was told” I arrived at error free compilation, and I have had no problems running RADIANCE programs since.

Best,
Claus

[cid:[email protected]]

···

From: Mark de la Fuente [mailto:[email protected]]
Sent: 15. december 2010 00:30
To: Radiance
Subject: [Radiance-general] Compiling rad4Rall on W7 64 bit Cygwin

Radiance group,

I tried to compile rad4Rall on a Windows 7 64 Bit Cygwin system. After making this change to ezxml.h: http://luminance.londonmet.ac.uk/radiance_mailinglists/general/2010-October/007397.html it compiled but with errors.

The first error I could find was:

persist.c:42: error: conflicting types for ‘sighandler_t’
/usr/include/signal.h:11: error: previous declaration of ‘sighandler_t’ was here
make: *** [persist.o] Error 1

Same as Claus had here http://luminance.londonmet.ac.uk/radiance_mailinglists/general/2010-October/007402.html

Was there ever a resolution?

As a fix, would it be reasonable to merge a full set of Cygwin Radiance 3R7 bin and lib files with a partial set of 4.0 files, and just keep the 4.0 files where duplicates occur? Looks like the non-duplicates were lookamb, rpict, rtrace, rview, and rvu. Also, rayinit.cal and glazing.cal were not in the lib directory. Although, these are some pretty major files not to have compile, I just ran oconv and rpict on an old project and it seemed to work fine.

Thanks for any help.

Mark de la Fuente

________________________________

No virus found in this message.
Checked by AVG - www.avg.com<http://www.avg.com>
Version: 10.0.1170 / Virus Database: 426/3315 - Release Date: 12/14/10

I changed the code in the head to use a different identifier -- since this is just a local type for persist.c, there's no reason for it to conflict with a system-defined type.

Cheers,
-Greg

···

From: Claus Brøndgaard Madsen <[email protected]>
Date: December 14, 2010 11:41:00 PM PST

Hi Mark,

I ”resolved” the sighandler issue by applying the fix I found at:

http://www.radiance-online.org/pipermail/radiance-dev/2006-February/000676.html

Quoting:

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!

Doing exactly “as I was told” I arrived at error free compilation, and I have had no problems running RADIANCE programs since.

Best,

Claus

------------
From: Mark de la Fuente [mailto:[email protected]]
Sent: 15. december 2010 00:30
To: Radiance

Radiance group,

I tried to compile rad4Rall on a Windows 7 64 Bit Cygwin system. After making this change to ezxml.h: http://luminance.londonmet.ac.uk/radiance_mailinglists/general/2010-October/007397.html it compiled but with errors.

The first error I could find was:

persist.c:42: error: conflicting types for ‘sighandler_t’
/usr/include/signal.h:11: error: previous declaration of ‘sighandler_t’ was here
make: *** [persist.o] Error 1

Same as Claus had here http://luminance.londonmet.ac.uk/radiance_mailinglists/general/2010-October/007402.html

Was there ever a resolution?

As a fix, would it be reasonable to merge a full set of Cygwin Radiance 3R7 bin and lib files with a partial set of 4.0 files, and just keep the 4.0 files where duplicates occur? Looks like the non-duplicates were lookamb, rpict, rtrace, rview, and rvu. Also, rayinit.cal and glazing.cal were not in the lib directory. Although, these are some pretty major files not to have compile, I just ran oconv and rpict on an old project and it seemed to work fine.

Thanks for any help.

Mark de la Fuente

That did the trick. Thanks!

Mark

···

------------------------------

Date: Wed, 15 Dec 2010 08:41:00 +0100
From: Claus Br?ndgaard Madsen <[email protected]>
To: Radiance general discussion <[email protected]>
Subject: Re: [Radiance-general] Compiling rad4Rall on W7 64 bit Cygwin
Message-ID:
<E3[email protected]>
Content-Type: text/plain; charset="utf-8"

Hi Mark,
I ?resolved? the sighandler issue by applying the fix I found at:
http://www.radiance-online.org/pipermail/radiance-dev/2006-February/000676.html
Quoting:
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!

Doing exactly ?as I was told? I arrived at error free compilation, and I have had no problems running RADIANCE programs since.

Best,
Claus

[cid:[email protected]]

From: Mark de la Fuente [mailto:[email protected]]
Sent: 15. december 2010 00:30
To: Radiance
Subject: [Radiance-general] Compiling rad4Rall on W7 64 bit Cygwin

Radiance group,

I tried to compile rad4Rall on a Windows 7 64 Bit Cygwin system. After making this change to ezxml.h: http://luminance.londonmet.ac.uk/radiance_mailinglists/general/2010-October/007397.html it compiled but with errors.

The first error I could find was:

persist.c:42: error: conflicting types for ?sighandler_t?
/usr/include/signal.h:11: error: previous declaration of ?sighandler_t? was here
make: *** [persist.o] Error 1

Same as Claus had here http://luminance.londonmet.ac.uk/radiance_mailinglists/general/2010-October/007402.html

Was there ever a resolution?

As a fix, would it be reasonable to merge a full set of Cygwin Radiance 3R7 bin and lib files with a partial set of 4.0 files, and just keep the 4.0 files where duplicates occur? Looks like the non-duplicates were lookamb, rpict, rtrace, rview, and rvu. Also, rayinit.cal and glazing.cal were not in the lib directory. Although, these are some pretty major files not to have compile, I just ran oconv and rpict on an old project and it seemed to work fine.

Thanks for any help.

Mark de la Fuente

________________________________

No virus found in this message.
Checked by AVG - www.avg.com<http://www.avg.com>
Version: 10.0.1170 / Virus Database: 426/3315 - Release Date: 12/14/10
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20101215/c3e23a2e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 12406 bytes
Desc: image001.jpg
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20101215/c3e23a2e/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Claus Br?ndgaard Madsen.vcf
Type: text/x-vcard
Size: 6218 bytes
Desc: Claus Br?ndgaard Madsen.vcf
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20101215/c3e23a2e/attachment.vcf>

------------------------------

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

End of Radiance-general Digest, Vol 82, Issue 13
************************************************

[{--Wm. Tao & Associates, Inc.--}] This message and content is privileged, intended only for recipients named and/or addressed. If the receiver/reader is not a representative of the intended recipient, any review, forwarding, dissemination or copying of this message or its content, in part or in whole, is prohibited. If you have received this message in error, please notify the sender immediately by Reply email, and Delete the original message and attachments.