Tried 1.1, 1.0.1 & 1.0 of Scons. None work & I bizarrely get more
deprecation warnings with 1.1 & older versions than I do with 1.2 or
1.3.
C:\TEMP\rad3R9all\ray>C:\Python26\Scripts\scons install
scons: Reading SConscript files ...
C:\Python26\Lib\site-packages\scons-1.1.0\SCons\Platform\posix.py:38:
DeprecationWarning: The popen2 module is deprecated. Use the subprocess
module.
import popen2
C:\Python26\Lib\site-packages\scons-1.1.0\SCons\Tool\msvs.py:37:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
scons: warning: The env.SourceSignatures() method is deprecated;
convert your build to use the env.Decider() method instead.
File "C:\TEMP\rad3R9all\ray\SConstruct", line 7, in <module>
Detected platform "win32" (nt).
Reading configuration "platform\mingw.cfg"
Checking for C library GL... (cached) no
meta
cv
gen
ot
scons: warning: Two different environments were specified for target
bbox.o,
but they appear to have the same action: $CC -o $TARGET -c
$CFLAGS CCFLAGS _CCCOMCOM $SOURCES
File "C:\TEMP\rad3R9all\ray\src\ot\SConscript", line 18, in <module>
scons: warning: Two different environments were specified for target
o_face.o,
but they appear to have the same action: $CC -o $TARGET -c
$CFLAGS CCFLAGS _CCCOMCOM $SOURCES
File "C:\TEMP\rad3R9all\ray\src\ot\SConscript", line 18, in <module>
rt
px
hd
util
cal
scons: done reading SConscript files.
scons: Building targets ...
Install file: "src\gen\clockface.hex" as
"C:\radiance3.9\share\lib\clockface.hex"
scons: *** [C:\radiance3.9\share\lib\clockface.hex] Exception
Traceback (most recent call last):
File "C:\Python26\Lib\site-packages\scons-1.1.0\SCons\Taskmaster.py",
line 220, in execute
self.targets[0].build()
File
"C:\Python26\Lib\site-packages\scons-1.1.0\SCons\Node\__init__.py", line
370, in build
apply(self.get_executor(), (self,), kw)
File "C:\Python26\Lib\site-packages\scons-1.1.0\SCons\Executor.py",
line 145, in __call__
return self.do_execute(target, kw)
File "C:\Python26\Lib\site-packages\scons-1.1.0\SCons\Executor.py",
line 131, in do_execute
status = apply(act, (self.targets, self.get_sources(), env), kw)
File "C:\Python26\Lib\site-packages\scons-1.1.0\SCons\Action.py", line
467, in __call__
stat = self.execute(target, source, env)
File "C:\Python26\Lib\site-packages\scons-1.1.0\SCons\Action.py", line
908, in execute
result = self.execfunction(target=target, source=rsources, env=env)
File
"C:\Python26\Lib\site-packages\scons-1.1.0\SCons\Tool\install.py", line
79, in installFunc
"Installing source %s into target s: target and source lists must
have same length\."(map(str, source), map(str, target))
AssertionError: Installing source ['src\\gen\\clockface.hex',
'lib\\clockface.hex'] into target
['C:\\radiance3.9\\share\\lib\\clockface.hex']: target and source lists
must have same length.
scons: building terminated because of errors.
Palbinder Sandher
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
**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
···
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Pally
Sandher
Sent: 26 April 2010 15:12
To: code development
Subject: RE: [Radiance-dev] SCons + Windows for Radiance 4.0?
If you let me know which version of Scons is best to use I'd happily
track it down & install it as I'm doing all this building on a virtual
machine anyway.
I was following the How-To guide at
http://www.bozzograo.net/radiancewiki/doku.php?id=how_to_compile_radianc
e_using_the_mingw_tools_and_scons & had to figure out that Python 2.x is
required for Scons, not Python 3.x so picking the right version of Scons
too would be a great help. Looking at their repository in Sourceforge
there are 1.1, 1.0.1 & 1.0.0 available. Once I figure it out I'll update
the Wiki page.
Tried updating to Python 2.6.5 & Scons 1.3.0, still the same issues as
you'd expect. Going to try Scons 1.1.0 now & see how it goes.
Palbinder Sandher
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
**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
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Georg
Mischler
Sent: 26 April 2010 15:02
To: code development
Subject: RE: [Radiance-dev] SCons + Windows for Radiance 4.0?
Pally Sandher wrote:
I'm also interested in getting Radiance v4.0 to compile on Windows.
Ran into the same problems as Daniel Macumber.
The main problem is that the scripts were written for an older and
slightly incompatible version of SCons, which results in the deprecation
warnings, and probably the error as well.
Windows vs. unix is not an issue here.
I just moved and DSL isn't conntected yet at my new place, so it may
take some time until I'm able to look into it.
But then, SCons isn't quite as arcane as you seem to think, and the
tracebacks tell you *exactly* where to look... 
-schorsch
--
Georg Mischler -- simulations developer -- schorsch at schorsch com
+schorsch.com+ -- lighting design tools -- http://www.schorsch.com/
_______________________________________________
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