[Radiance-general] Radiance on Windows 7 Ultimate using SUA (it works!)

Ji Zhang hope.zh at gmail.com
Mon Aug 1 19:40:24 PDT 2011


Hi, Guy,

Wouldn't it be easier to install Radiance 3.8 or 3.9 in Win7 through
installing DaySim or DIVA for Rhino?

That's how I did in my Win7 64bit Ultimate and the installation will take
care of setting the path and all sort of things.

- Cheers, Ji



On Tue, Aug 2, 2011 at 6:02 AM, Guy Vaessen <guy.vaessen at gmail.com> wrote:

> > It might be possible to get full Radiance going under Windows 7
> > Ultimate, which has a Unix emulation environment.  However, doing this
> > requires development time and the purchase of a copy of Ultimate and
> > possibly a copy of the MS Visual Studio suite as well.  To run the
> > resulting package might also require users to buy Ultimate.
>
> > So...one more thing we might try, if we had the resources and if there
> > were enough interest.
>
> I just wanted to tell that I've tried it and it works! (A bit to my
> supprise.)
>
> I have: Windows 7 Ultimate 64 bits.
>
> I followed the guideline on the Radiance Wiki site:
> ./makeall install in ray folder
> chosing ~/radiance/bin installs on Windows in C:\user\yourname\radiance\bin
> I choose option 2) Linux (seems to be the best option).
>
> I encountered three problems, here are they, with solution.
>
> Problem 1: (Seems to be related to 64 bit system with 32 bit gcc and 64 bit
> or wrong archiver)
> This is the error:
> Error code 127
> AR_LIBRARIAN environment variable
>
> ===============================================================================
> Solution:
> Add: export PATH="/opt/gcc.4.2/bin:${PATH}" to
> C:\windows\SUA\etc\profile.lcl
> Also see: http://www.suacommunity.com/forum/tm.aspx?m=16624 for more
> detailled info.
>
>
> Problem 2:
> Making programs...
> /dev/fs/C/Windows/SUA/usr/examples/radiance/ray/src/common
> /dev/fs/C/Windows/SUA
> /usr/examples/radiance/ray/src
> In directory common...
> gcc -Dlinux -L/usr/X11R6/lib -L/usr/local/lib/x86 -L/usr/lib/x86
> -L/usr/local/li
> b/ray -I/usr/include/X11 -DNOSTEREO -O2 -c ezxml.c
> ezxml.c: In function 'ezxml_parse_fd':
> ezxml.c:647: error: '_SC_PAGESIZE' undeclared (first use in this function)
> ezxml.c:647: error: (Each undeclared identifier is reported only once
> ezxml.c:647: error: for each function it appears in.)
> *** Error code 1 (continuing)
> `install' not remade because of errors.
>
> ===============================================================================
> Solution: Included: #define EZXML_NOMMAP in ezxml.c
>
>
> Problem 3:
> In directory rt...
> gcc -I../common -L../lib -O2 -Dlinux -L/usr/X11R6/lib -L/usr/local/lib/x86
> -L/us
> r/lib/x86 -L/usr/local/lib/ray -I/usr/include/X11 -DNOSTEREO -o ./rtrace
> rtmain.
> o rtrace.o duphead.o persist.o ../lib/libraycalls.a ../lib/libradiance.a
> -lrtrad
>  -lm
> ../lib/librtrad.a(header.o):header.c:(.text+0x5b4): undefined reference to
> `_tim
> egm'
> collect2: ld returned 1 exit status
> *** Error code 1 (continuing)
>
> ===============================================================================
> Solution: Included timegm.o in src/common/Rmakefile
> Like:
> UTLOBJ = ezxml.o ccolor.o ccyrgb.o bsdf.o bsdf_m.o bsdf_t.o loadbsdf.o \
>  disk2square.o hilbert.o timegm.o
>
> That's all, after that I ran gendaylit and Mark Stock's benchmark test
> suite, and all works.
>
> Still need to install an XServer (Xming) and a NFS server (included in
> Windows 7 Ultimate).
> And run some more tests including rvu, trad, falsecolor, rpiece.
>
> I hope this is usefull,
>
> Guy
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20110802/1893ab49/attachment.html>


More information about the Radiance-general mailing list