scons

Further to Marija's email, the following notes were sent to me by my colleague the other day. This may be redundant info, but Dan made the following changes:

C:\working\radiance\ray\src\common\SCronstruct:
line 32) RTIO = Split('''fdate.c fgetline.c fgetval.c fgetword.c fputword.c loadvars.c portio.c wordfile.c words.c header.c''') -> RTIO = Split('''fdate.c fgetline.c fgetval.c fgetword.c fputword.c loadvars.c portio.c wordfile.c words.c header.c timegm.c''')

line 47) ALL = RTSCENE + RTPIC + STD + RTNET + env.get('RAD_COMPAT',[]) -> ALL = RTSCENE + RTPIC + STD + RTNET

C:\working\radiance\ray\src\rt\SCronstruct:
line 21) raycalls = env.Object(source="raycalls.c') -> raycalls = env.Object(source="raycalls.c")

...and this allowed him to compile with MinGW.

Geez, I hate working on stuff I don't understand... I just checked in the minimal set of changes Rob suggested below, and am looking forward (yeah) to feedback on whether it works or not. I gave up on the RAD_COMPAT environment setting.

-Greg

···

From: Rob Guglielmetti <[email protected]>
Date: June 2, 2010 8:02:57 AM PDT

Further to Marija's email, the following notes were sent to me by my colleague the other day. This may be redundant info, but Dan made the following changes:

C:\working\radiance\ray\src\common\SCronstruct:
line 32) RTIO = Split('''fdate.c fgetline.c fgetval.c fgetword.c fputword.c loadvars.c portio.c wordfile.c words.c header.c''') -> RTIO = Split('''fdate.c fgetline.c fgetval.c fgetword.c fputword.c loadvars.c portio.c wordfile.c words.c header.c timegm.c''')

line 47) ALL = RTSCENE + RTPIC + STD + RTNET + env.get('RAD_COMPAT',[]) -> ALL = RTSCENE + RTPIC + STD + RTNET

C:\working\radiance\ray\src\rt\SCronstruct:
line 21) raycalls = env.Object(source="raycalls.c') -> raycalls = env.Object(source="raycalls.c")

...and this allowed him to compile with MinGW.

Sorry, I was just passing along some info that I don't understand either, really. Just hoping that the work these other folks are doing moves the community closer to easily compiled Windows binaries of Radiance. I still think everyone should learn to love Linux or OSX, but this seems unlikely...

···

________________________________________
From: [email protected] [[email protected]] On Behalf Of Gregory J. Ward [[email protected]]
Sent: Wednesday, June 02, 2010 10:00 AM
To: code development
Subject: Re: [Radiance-dev] scons

Geez, I hate working on stuff I don't understand... I just checked in
the minimal set of changes Rob suggested below, and am looking forward
(yeah) to feedback on whether it works or not. I gave up on the
RAD_COMPAT environment setting.

-Greg

From: Rob Guglielmetti <[email protected]>
Date: June 2, 2010 8:02:57 AM PDT

Further to Marija's email, the following notes were sent to me by my
colleague the other day. This may be redundant info, but Dan made
the following changes:

C:\working\radiance\ray\src\common\SCronstruct:
line 32) RTIO = Split('''fdate.c fgetline.c fgetval.c fgetword.c
fputword.c loadvars.c portio.c wordfile.c words.c header.c''') ->
RTIO = Split('''fdate.c fgetline.c fgetval.c fgetword.c fputword.c
loadvars.c portio.c wordfile.c words.c header.c timegm.c''')

line 47) ALL = RTSCENE + RTPIC + STD + RTNET + env.get('RAD_COMPAT',
[]) -> ALL = RTSCENE + RTPIC + STD + RTNET

C:\working\radiance\ray\src\rt\SCronstruct:
line 21) raycalls = env.Object(source="raycalls.c') -> raycalls =
env.Object(source="raycalls.c")

...and this allowed him to compile with MinGW.

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

Don't get me wrong -- I do appreciate the help. The simpler and less ambiguous the instructions, the better, which is why I went with yours. If not all of the problems got addressed this time, I'm hoping to hear about it so I can fix it. It would be better if someone else took over management of the SCONS build system in the long run.

-Greg

···

From: "Guglielmetti, Robert" <[email protected]>
Date: June 2, 2010 9:07:02 AM PDT

Sorry, I was just passing along some info that I don't understand either, really. Just hoping that the work these other folks are doing moves the community closer to easily compiled Windows binaries of Radiance. I still think everyone should learn to love Linux or OSX, but this seems unlikely...

Greg,

The latest changes in CVS look good to us (getting rid of RAD_COMPAT, and
adding timegm.c and fixing the mismatched quotes on raycalls.c).

Just to confirm we used Scons 1.3.0 and gcc 3.4.5 to build

We'll do a test build in the morning with the nightly snapshot.

Christian

···

**************
Christian Kohler, [email protected], (510) 486-5040, http://windows.lbl.gov ,
Windows & Daylighting Research Group, Lawrence Berkeley National Laboratory
1 Cyclotron Rd, Berkeley, California, 94720, USA

On Wed, Jun 2, 2010 at 9:07 AM, Guglielmetti, Robert < [email protected]> wrote:

Sorry, I was just passing along some info that I don't understand either,
really. Just hoping that the work these other folks are doing moves the
community closer to easily compiled Windows binaries of Radiance. I still
think everyone should learn to love Linux or OSX, but this seems unlikely...
________________________________________
From: [email protected] [
[email protected]] On Behalf Of Gregory J. Ward [
[email protected]]
Sent: Wednesday, June 02, 2010 10:00 AM
To: code development
Subject: Re: [Radiance-dev] scons

Geez, I hate working on stuff I don't understand... I just checked in
the minimal set of changes Rob suggested below, and am looking forward
(yeah) to feedback on whether it works or not. I gave up on the
RAD_COMPAT environment setting.

-Greg

> From: Rob Guglielmetti <[email protected]>
> Date: June 2, 2010 8:02:57 AM PDT
>
> Further to Marija's email, the following notes were sent to me by my
> colleague the other day. This may be redundant info, but Dan made
> the following changes:
>
> C:\working\radiance\ray\src\common\SCronstruct:
> line 32) RTIO = Split('''fdate.c fgetline.c fgetval.c fgetword.c
> fputword.c loadvars.c portio.c wordfile.c words.c header.c''') ->
> RTIO = Split('''fdate.c fgetline.c fgetval.c fgetword.c fputword.c
> loadvars.c portio.c wordfile.c words.c header.c timegm.c''')
>
> line 47) ALL = RTSCENE + RTPIC + STD + RTNET + env.get('RAD_COMPAT',
> []) -> ALL = RTSCENE + RTPIC + STD + RTNET
>
> C:\working\radiance\ray\src\rt\SCronstruct:
> line 21) raycalls = env.Object(source="raycalls.c') -> raycalls =
> env.Object(source="raycalls.c")
>
>
> ...and this allowed him to compile with MinGW.

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

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

Finally got some time to try & get this to build.

1st issue -
http://www.radiance-online.org/software/snapshots/radiance-HEAD.zip
<http://www.radiance-online.org/software/snapshots/radiance-HEAD.zip>
hasn't been updated since 14th May 2008. Contrary to what the
radiance-online.org download page advises for Windows users you must use
radiance-HEAD.tgz to get the latest code (didn't check
radiance-HEAD.cpio.bz2). Also
http://radsite.lbl.gov/radiance/dist/rad4R0all.tar.gz
<http://radsite.lbl.gov/radiance/dist/rad4R0all.tar.gz> was last
updated on 18th March 2010 & thus won't build with MinGW/Scons since it
doesn't have the changes required.

Using MinGW 5.1.6 (gcc 3.4.5), Python 2.6.5 & Scons 2.0 final I can get
Radiance HEAD to build without any issues (built on XP 64-bit).

2nd issue - install command still fails due to duplicated files as
discussed previously on this list. To fix these I edited
ray/src/gen/Sconscript to remove duplicate installation of clockface.hex
& surf.cal & ray/src/cv/Sconscript to remove duplicate installation of
lamp.tab. it then works as expected.

3rd issue - Diff'ing the ray\bin directory against the install\bin
directory shows that the install command misses 2 built files from the
copy.

Binary Comparison of <C:\ray\bin> to <C:\radiance4.0\bin>
89 files in 0 folders

87 files match exactly

···

----------------------
<snipped>

2 folders and files only on left
--------------------------------
mgf2meta.exe
mkillum.exe

4th issue - Diff'ing the contents of
http://radsite.lbl.gov/radiance/dist/rad4R0_macosx.tar.gz against the
install\bin directory after building successfully & copying the 2
missing files over shows the following differences:

Binary Comparison of <C:\rad4R0_macosx> to <C:\radiance4.0\bin>

57 folders and files only on left
---------------------------------
commake
compamb
dayfact
dctimestep
debugcal
dmake
evalglare
falsecolor
fieldcomb
genambpos
genbackg
gendaylit
genklemsamp
genrhgrid
genskyvec
glare
glaze
glrad
markpath
normpat
normtiff
objline
objpict
objview
optics2rad
pbilat
pbilat2
pdelta
pdfblur
pgblur
phisto
pmblur
pmdblur
ra_pfm
ra_tiff
raddepend
ran2tiff
rhcopy
rhinfo
rholo
rhoptimize
rhpict
rlux
rmake
rvcalc
rview
rvu
trad
trad-orig
vinfo
x11meta
xglaresrc
ximage
xshowtrace
xyzimage

4 folders and files only on right
---------------------------------
genbeads.exe
genbranch.exe
gencatenary.exe
genmarble.exe

I understand a lot of the missing files from the OSX binaries will be
shell scripts & X window/GUI applications but stuff like ra_tiff missing
from the windows build is an issue. From looking at the man pages I
estimate about half of the 57 missing binaries are not applicable to
Windows so there are still around 20 missing binaries. If anyone can
help shed some light on how to get these apps building in Windows it
would be most appreciated.

Cheers,

  <http://www.iesve.com/>

Palbinder Sandher
Software Deployment &
IT Administrator

T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501

http://www.iesve.com <http://www.iesve.com/>

**Design, Simulate + Innovate with the <Virtual Environment>**

Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP

Email Disclaimer <http://www.iesve.com/disclaimer.html>

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Christian
Kohler
Sent: 03 June 2010 00:40
To: code development
Subject: Re: [Radiance-dev] scons

Greg,

The latest changes in CVS look good to us (getting rid of RAD_COMPAT,
and adding timegm.c and fixing the mismatched quotes on raycalls.c).

Just to confirm we used Scons 1.3.0 and gcc 3.4.5 to build

We'll do a test build in the morning with the nightly snapshot.

Christian
**************
Christian Kohler, [email protected], (510) 486-5040,
http://windows.lbl.gov ,
Windows & Daylighting Research Group, Lawrence Berkeley National
Laboratory
1 Cyclotron Rd, Berkeley, California, 94720, USA

On Wed, Jun 2, 2010 at 9:07 AM, Guglielmetti, Robert < [email protected]> wrote:

  Sorry, I was just passing along some info that I don't
understand either, really. Just hoping that the work these other folks
are doing moves the community closer to easily compiled Windows binaries
of Radiance. I still think everyone should learn to love Linux or OSX,
but this seems unlikely...
  ________________________________________
  From: [email protected] [
[email protected]] On Behalf Of Gregory J. Ward [
[email protected]]
  Sent: Wednesday, June 02, 2010 10:00 AM
  To: code development
  Subject: Re: [Radiance-dev] scons
  
  Geez, I hate working on stuff I don't understand... I just
checked in
  the minimal set of changes Rob suggested below, and am looking
forward
  (yeah) to feedback on whether it works or not. I gave up on the
  RAD_COMPAT environment setting.
  
  -Greg
  
  > From: Rob Guglielmetti <[email protected]>
  > Date: June 2, 2010 8:02:57 AM PDT
  >
  > Further to Marija's email, the following notes were sent to me
by my
  > colleague the other day. This may be redundant info, but Dan
made
  > the following changes:
  >
  > C:\working\radiance\ray\src\common\SCronstruct:
  > line 32) RTIO = Split('''fdate.c fgetline.c fgetval.c
fgetword.c
  > fputword.c loadvars.c portio.c wordfile.c words.c header.c''')
->
  > RTIO = Split('''fdate.c fgetline.c fgetval.c fgetword.c
fputword.c
  > loadvars.c portio.c wordfile.c words.c header.c timegm.c''')
  >
  > line 47) ALL = RTSCENE + RTPIC + STD + RTNET +
env.get('RAD_COMPAT',
  > []) -> ALL = RTSCENE + RTPIC + STD + RTNET
  >
  > C:\working\radiance\ray\src\rt\SCronstruct:
  > line 21) raycalls = env.Object(source="raycalls.c') ->
raycalls =
  > env.Object(source="raycalls.c")
  >
  >
  > ...and this allowed him to compile with MinGW.
  
  _______________________________________________
  Radiance-dev mailing list
  [email protected]
  http://www.radiance-online.org/mailman/listinfo/radiance-dev
  
  _______________________________________________
  Radiance-dev mailing list
  [email protected]
  http://www.radiance-online.org/mailman/listinfo/radiance-dev

Thanks, Pally.

I don't know what to do about most of this, as I don't understand the SCONS build system Schorsch developed. I did remove the outdated links to the zip archives from radiance-online.org. I would have liked to update these, but I don't know where they are supposed to get built or why they are not.

Regarding the problems with Radiance4R0.tar.gz, this file does not have the since-release changes to the HEAD, but the idea always is to drop the HEAD on top of whatever you have and update it that way, so I see nothing to do there. I have copied the 4R0 sources and libraries over to radiance-online, but I'm afraid it's a bit of a mess right now. The scripts aren't computing the correct patches, and a number of other things are broken there as no one is maintaining that website at the moment. (The usual resource allocation issues.)

On your 2nd issue below, I am looking at Sconscript and I see clockface.hex and surf.cal mentioned only once, so maybe this has already been fixed? As I said, I don't really understand this build system. If you can be more specific about which lines you had to change, that would be helpful.

I don't know what to say or do about your 3rd issue, as there could be any number of things going wrong, and no way for me to tell from here.

Best,
-Greg

···

From: "Pally Sandher" <[email protected]>
Date: June 29, 2010 4:49:16 AM PDT

Finally got some time to try & get this to build.

1st issue - http://www.radiance-online.org/software/snapshots/radiance-HEAD.zip hasn't been updated since 14th May 2008. Contrary to what the radiance-online.org download page advises for Windows users you must use radiance-HEAD.tgz to get the latest code (didn't check radiance-HEAD.cpio.bz2). Also http://radsite.lbl.gov/radiance/dist/rad4R0all.tar.gz was last updated on 18th March 2010 & thus won't build with MinGW/Scons since it doesn't have the changes required.

Using MinGW 5.1.6 (gcc 3.4.5), Python 2.6.5 & Scons 2.0 final I can get Radiance HEAD to build without any issues (built on XP 64-bit).

2nd issue - install command still fails due to duplicated files as discussed previously on this list. To fix these I edited ray/src/gen/Sconscript to remove duplicate installation of clockface.hex & surf.cal & ray/src/cv/Sconscript to remove duplicate installation of lamp.tab. it then works as expected.

3rd issue - Diff'ing the ray\bin directory against the install\bin directory shows that the install command misses 2 built files from the copy.

Binary Comparison of <C:\ray\bin> to <C:\radiance4.0\bin>
89 files in 0 folders

87 files match exactly
----------------------
<snipped>

2 folders and files only on left
--------------------------------
mgf2meta.exe
mkillum.exe
4th issue - Diff'ing the contents of http://radsite.lbl.gov/radiance/dist/rad4R0_macosx.tar.gz against the install\bin directory after building successfully & copying the 2 missing files over shows the following differences:

Binary Comparison of <C:\rad4R0_macosx> to <C:\radiance4.0\bin>
57 folders and files only on left
---------------------------------
commake
compamb
dayfact
dctimestep
debugcal
dmake
evalglare
falsecolor
fieldcomb
genambpos
genbackg
gendaylit
genklemsamp
genrhgrid
genskyvec
glare
glaze
glrad
markpath
normpat
normtiff
objline
objpict
objview
optics2rad
pbilat
pbilat2
pdelta
pdfblur
pgblur
phisto
pmblur
pmdblur
ra_pfm
ra_tiff
raddepend
ran2tiff
rhcopy
rhinfo
rholo
rhoptimize
rhpict
rlux
rmake
rvcalc
rview
rvu
trad
trad-orig
vinfo
x11meta
xglaresrc
ximage
xshowtrace
xyzimage

4 folders and files only on right
---------------------------------
genbeads.exe
genbranch.exe
gencatenary.exe
genmarble.exe
I understand a lot of the missing files from the OSX binaries will be shell scripts & X window/GUI applications but stuff like ra_tiff missing from the windows build is an issue. From looking at the man pages I estimate about half of the 57 missing binaries are not applicable to Windows so there are still around 20 missing binaries. If anyone can help shed some light on how to get these apps building in Windows it would be most appreciated.

Cheers,

(tried sending this last week but it was blocked for being 77 bytes
larger than the limit & it appears there are no list moderators around
to approve or decline messages so it's stuck in limbo)

The code on radsite.lbl.gov not being updated isn't much of an issue,
I'd just prefer to use that since it's a leaner package as it comes
without the CSAIL objects & other extras you get in the radiance-online
packages. It is the "official" release which I find rather surprising
that it was released without it ever being tested on Windows (3.9 built
fine & had the same install issues as 4.0 so the build breaking changes
were introduced between the 3.9 & 4.0 release). Also a lot of people are
wary about using a in-development version rather than an official
release but I guess with something like Radiance which isn't used by
Windows users in general since it needs to be built by the end user it's
not that big an issue.

The 2nd issue is that the files are listed for install in multiple
Sconscript files. They need to be in only one otherwise scons gets
confused when trying to copy the same file from 2 sources to 1
destination. The lines needing changed are
in ray/src/gen/Sconscript
from
LIBFILES = Split('illum.cal rev.cal skybright.cal surf.cal glaze1.cal
glaze2.cal clockface.hex')
to
LIBFILES = Split('illum.cal rev.cal skybright.cal glaze1.cal
glaze2.cal')

in ray/src/cv/Sconscript
from
LIBFILES = Split('source.cal tilt.cal lamp.tab window.cal')
to
LIBFILES = Split('source.cal tilt.cal window.cal')

The 3rd issue is probably just those files not being listed for install
in a Sconscript file. mkillum appears to be built by
ray/src/gen/Sconscript but it's commented out in the progs list & then
manually appended for the build. It's not manually appended for the
install though. Simple fix would be to move the manual append to the
progs list. mfg2meta seems to be the same situation in
ray/src/cv/Sconscript

4th issue is the one I'm most concerned with, everything else has a
workaround but a huge number of missing binaries is something that needs
looking in to. The code is there I guess it's just never been added to
the Scons build system for Windows builds & without spending a lot of
time learning the Radiance code on a Mac, I wouldn't know where to
start. The ones which are definitely not C-Shell Scripts or X11 window
apps are:

commake
dctimestep
dmake
evalglare
gendaylit
genklemsamp
genrhgrid
genskyvec
normtiff
ra_tiff
rmake
rvcalc
rvu

So around 20 was an overestimate & there could be some X11 window apps
in that list too but there are some major omissions like ra_tiff as
mentioned before.

Cheers,

  <http://www.iesve.com/>

Palbinder Sandher
Software Deployment &
IT Administrator

T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501

http://www.iesve.com <http://www.iesve.com/>

**Design, Simulate + Innovate with the <Virtual Environment>**

Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP

Email Disclaimer <http://www.iesve.com/disclaimer.html>

···

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Gregory
J. Ward
Sent: 29 June 2010 19:52
To: code development
Subject: Re: [Radiance-dev] scons

Thanks, Pally.

I don't know what to do about most of this, as I don't understand the
SCONS build system Schorsch developed. I did remove the outdated links
to the zip archives from radiance-online.org. I would have liked to
update these, but I don't know where they are supposed to get built or
why they are not.

Regarding the problems with Radiance4R0.tar.gz, this file does not have
the since-release changes to the HEAD, but the idea always is to drop
the HEAD on top of whatever you have and update it that way, so I see
nothing to do there. I have copied the 4R0 sources and libraries over
to radiance-online, but I'm afraid it's a bit of a mess right now. The
scripts aren't computing the correct patches, and a number of other
things are broken there as no one is maintaining that website at the
moment. (The usual resource allocation issues.)

On your 2nd issue below, I am looking at Sconscript and I see
clockface.hex and surf.cal mentioned only once, so maybe this has
already been fixed? As I said, I don't really understand this build
system. If you can be more specific about which lines you had to
change, that would be helpful.

I don't know what to say or do about your 3rd issue, as there could be
any number of things going wrong, and no way for me to tell from here.

Best,
-Greg

4th issue is the one I'm most concerned with, everything else has a
workaround but a huge number of missing binaries is something that needs
looking in to. The code is there I guess it's just never been added to the
Scons build system for Windows builds & without spending a lot of time
learning the Radiance code on a Mac, I wouldn't know where to start. The
ones which are definitely not C-Shell Scripts or X11 window apps are:

commake

shell script (/bin/sh) and not needed on Windows because of Scons

dctimestep

new in 4.0

dmake

shell script replaced by Scons

evalglare

that's old

gendaylit

new in 3.9 or 4.0

genklemsamp

Perl script (and new in 4.0)

genrhgrid

unknown to me but perhaps related to rholo which makes it a Unix only thing

genskyvec

Perl script (new in 4.0)

normtiff

also old (but rarely used I'd say)

ra_tiff

IIRC there were some problems with libtiff on Windows. This has only been
solved recently (since libtiff is part of the source).

rmake

replaced by scons

rvcalc

Perl script. Not useful without Perl ...

rvu

X11 only.

All in all about 4 established apps missing. Not bad for a build system
that's basically unmaintained.

Regards,
Thomas

···

On Wed, Jul 7, 2010 at 2:46 PM, Pally Sandher <[email protected]>wrote:

Hi Pally,

Thanks for the additional information. I can make the changes you suggest to remove the "duplicate" installs, but can you reassure me that I'm doing the right thing by pointing out WHERE these files are being duplicated? I can find no other mention of them in any of the SConscript builds.

As Thomas pointed out, Windows is not a maintained platform for Radiance at this point, and any changes I make to the SCONS files have associated risks, since I can't even test them. Nevertheless, I have checked in the changes you suggested and added in the one C program (dctimestep) that was missing. I don't know what to do about the Perl scripts, if anything. Suggestions are welcome.

Best,
-Greg

···

From: "Pally Sandher" <[email protected]>
Date: July 7, 2010 6:46:14 AM PDT

(tried sending this last week but it was blocked for being 77 bytes larger than the limit & it appears there are no list moderators around to approve or decline messages so it's stuck in limbo)

The code on radsite.lbl.gov not being updated isn't much of an issue, I'd just prefer to use that since it's a leaner package as it comes without the CSAIL objects & other extras you get in the radiance-online packages. It is the "official" release which I find rather surprising that it was released without it ever being tested on Windows (3.9 built fine & had the same install issues as 4.0 so the build breaking changes were introduced between the 3.9 & 4.0 release). Also a lot of people are wary about using a in-development version rather than an official release but I guess with something like Radiance which isn't used by Windows users in general since it needs to be built by the end user it's not that big an issue.

The 2nd issue is that the files are listed for install in multiple Sconscript files. They need to be in only one otherwise scons gets confused when trying to copy the same file from 2 sources to 1 destination. The lines needing changed are
in ray/src/gen/Sconscript
from
LIBFILES = Split('illum.cal rev.cal skybright.cal surf.cal glaze1.cal glaze2.cal clockface.hex')
to
LIBFILES = Split('illum.cal rev.cal skybright.cal glaze1.cal glaze2.cal')

in ray/src/cv/Sconscript
from
LIBFILES = Split('source.cal tilt.cal lamp.tab window.cal')
to
LIBFILES = Split('source.cal tilt.cal window.cal')

The 3rd issue is probably just those files not being listed for install in a Sconscript file. mkillum appears to be built by ray/src/gen/Sconscript but it's commented out in the progs list & then manually appended for the build. It's not manually appended for the install though. Simple fix would be to move the manual append to the progs list. mfg2meta seems to be the same situation in ray/src/cv/Sconscript

4th issue is the one I'm most concerned with, everything else has a workaround but a huge number of missing binaries is something that needs looking in to. The code is there I guess it's just never been added to the Scons build system for Windows builds & without spending a lot of time learning the Radiance code on a Mac, I wouldn't know where to start. The ones which are definitely not C-Shell Scripts or X11 window apps are:

commake
dctimestep
dmake
evalglare
gendaylit
genklemsamp
genrhgrid
genskyvec
normtiff
ra_tiff
rmake
rvcalc
rvu

So around 20 was an overestimate & there could be some X11 window apps in that list too but there are some major omissions like ra_tiff as mentioned before.

Cheers,

Palbinder Sandher
Software Deployment &
IT Administrator

T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501