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: radiance-dev-boun...@radiance-online.org [mailto:radiance-dev-boun...@radiance-online.org] 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, cjkoh...@lbl.gov, (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 < robert.guglielme...@nrel.gov> 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: radiance-dev-boun...@radiance-online.org [ radiance-dev-boun...@radiance-online.org] On Behalf Of Gregory J. Ward [ gregoryjw...@gmail.com] 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 <r...@rumblestrip.org> > 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 Radiance-dev@radiance-online.org http://www.radiance-online.org/mailman/listinfo/radiance-dev _______________________________________________ Radiance-dev mailing list Radiance-dev@radiance-online.org http://www.radiance-online.org/mailman/listinfo/radiance-dev
<<attbc506.jpg>>
_______________________________________________ Radiance-dev mailing list Radiance-dev@radiance-online.org http://www.radiance-online.org/mailman/listinfo/radiance-dev