Hi Christian, All:

I just checked in the changes you recommended along with a new compatibility module for timegm() that Ling tested for me. I hope it all works, but I have no way to try it out. Could someone give it a go? The HEAD should update by tomorrow (Friday).

Cheers,
-Greg

From: Christian Kohler <[email protected]>
Date: May 21, 2010 5:22:41 PM PDT

Here are some changes to make to the Scons scripts, to get 4.0 to
compile on Windows using MinGW. These were compiled on Windows 7, but
it should work for XP as well.

************
This one was previously reported on the dev-list.
/ray/build_utils/find_libs.py

Change:
v = env.FindFile('Verdana.fnt', './lib')

to:
v = env.FindFile('Veerdana.fnt', './lib')
***********

***********
Add some new files to the script:
/ray/src/rt/SConscript

Change:
 duphead = env.Object(source="duphead.c")
 persist = env.Object(source="persist.c")
 ambio = env.Object(source="ambio.c")

to:
 duphead = env.Object(source="duphead.c")
 persist = env.Object(source="persist.c")
 ambio = env.Object(source="ambio.c")
 rayfifo = env.Object(source="rayfifo.c")
 raypwin = env.Object(source="raypwin.c")
 raycalls = env.Object(source="raycalls.c")

Change:
rtsrc = ['rtrace.c', duphead, persist, rtmain]

to:
rtsrc = ['rtrace.c', duphead, persist, rtmain, rayfifo, raypwin, raycalls]
************

*********
I couldn't figure out how to cleanly set the tools environment from
win32 (which uses the Microsoft Visual Studio compiler) to mingw.
I made this crude change to the main Sconscript, please tell me the
proper way to force it to use the mingw environment:
/ray/SConstruct

Change:
# Set up build environment
-env = Environment()

to:
# Set up build environment
env = Environment(tools = ['mingw'])
*********

Christian

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

Reply via email to