[Radiance-general] objline doesn't seem to work properly and X11 window flash and gone very quickly

Ji Zhang 张冀 hope.zh at gmail.com
Sat Jun 12 20:35:43 PDT 2010


Thank you very much, *John Mardaljevic, **Rob Guglielmetti, **Greg Ward, **and
Matt Franks, for your kind help!
*
Now the Radiance is installed and functioning well on my Mac OS.


On Sat, Jun 12, 2010 at 1:43 AM, Matt Franks <Matt.Franks at arup.com> wrote:

>  The developer tools are also on the Snow Leopard install DVD if you have
> it.
>
>
>
> *From:* radiance-general-bounces at radiance-online.org [mailto:
> radiance-general-bounces at radiance-online.org] *On Behalf Of *Rob
> Guglielmetti
> *Sent:* Friday, June 11, 2010 1:39 PM
> *To:* Radiance general discussion
> *Subject:* Re: [Radiance-general] objline doesn't seem to work properly
> and X11 window flash and gone very quickly
>
>
>
> Oops. Yeah, I guess step zero is: "get the developer tools installed on
> your system". Sorry about that!
>
>
>
> The developer tools (now called XCode) include the compiler and the program
> "make", which you need to compile the source code (and its absence on your
> system is causing all your error messages there). XCode is a free (but
> large) download from Apple:
>
>
>
> http://developer.apple.com/technologies/xcode.html
>
>
>
> You have to create a developer account, but its free and amounts to a
> login/password. Grab XCode and install it, making sure you install all the
> X11 dev stuff, then go back to that ray directory and try rerunning
> ./makeall install and we'll go from there.
>
>
>
> On Jun 11, 2010, at 11:30 AM, Ji Zhang Õż½ wrote:
>
>
>
>  Dear Rob, thank you very much for your detailed explanation!!!
>
> However, I still couldn't get the radiance installed in the default
> directories follow the steps suggested by you.
>
> The following are the messages shown in the Terminal during installation
> (within the area maked by #):
>
> ####################################################################
> Ji-ZHANGs-iMac:ray jizhang$ sudo ./makeall install
>
>         RADIANCE 4.0a INSTALLATION
>
> This script rebuilds all of the Radiance programs and installs
> them on your system.  You should read the file README before running
> this script.  You can type ^C (followed by return) at any time to abort.
>
> You must first answer the following questions.
>
> What is your preferred editor [vi]?
> Where do you want the executables [/usr/local/bin]?
> Current rmake command is:
> #!/bin/sh
> exec make "SPECIAL=ogl" \
>     "OPT=-O2" \
>     "MACH=-DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib"
> \
>     ARCH=Intel "COMPAT=" \
>     INSTDIR=/usr/local/bin \
>     LIBDIR=/Users/jizhang/Radiance_lib \
>     ESUFFIX= \
>     CC=cc CONFIGURE_ARCH=i386 "$@" -f Rmakefile
> Do you want to change it? n
> Making programs...
> ~/ray/src/common ~/ray/src
> In directory common...
> /usr/local/bin/rmake: line 2: exec: make: not found
> ~/ray/src
> ~/ray/src/rt ~/ray/src
> In directory rt...
> /usr/local/bin/rmake: line 2: exec: make: not found
> ~/ray/src
> ~/ray/src/meta ~/ray/src
> In directory meta...
> /usr/local/bin/rmake: line 2: exec: make: not found
> ~/ray/src
> ~/ray/src/cv ~/ray/src
> In directory cv...
> /usr/local/bin/rmake: line 2: exec: make: not found
> ~/ray/src
> ~/ray/src/gen ~/ray/src
> In directory gen...
> /usr/local/bin/rmake: line 2: exec: make: not found
> ~/ray/src
> ~/ray/src/ot ~/ray/src
> In directory ot...
> /usr/local/bin/rmake: line 2: exec: make: not found
> ~/ray/src
> ~/ray/src/px ~/ray/src
> In directory px...
> /usr/local/bin/rmake: line 2: exec: make: not found
> ~/ray/src
> ~/ray/src/hd ~/ray/src
> In directory hd...
> /usr/local/bin/rmake: line 2: exec: make: not found
> ~/ray/src
> ~/ray/src/util ~/ray/src
> In directory util...
> /usr/local/bin/rmake: line 2: exec: make: not found
> ~/ray/src
> ~/ray/src/cal ~/ray/src
> In directory cal...
> /usr/local/bin/rmake: line 2: exec: make: not found
> ~/ray/src
> There were some errors.
> ####################################################################
>
> When this "unsuccessful" installation finished, there seem to be no file at
> all in the /usr/local/lib/ray directory...
>
> and no radiance executable can be found in the /usr/local/bin directory
> either......
>
> So, can you help to take a look and point out what the problem here is?
>
> BTW, the Terminal I'm using in Mac OS X Snow Leopard is titled "Terminal -
> bash -95x50".
>
> Thank you!
>
> Ji
>
>  On Sat, Jun 12, 2010 at 1:02 AM, Rob Guglielmetti <rpg at rumblestrip.org>
> wrote:
>
> Hmmm, that's odd. The error means that the program could not open the file
> vchars.mta in a read-only capacity. Following a normal installation of
> Radiance on Mac OS X, that file should indeed live in
> /usr/local/lib/ray/meta and be read-only accessible to everyone.
>
>
>
> So yeah it's possible that something didn't go right during installation.
> The correct and not-totally-detailed procedures for installing Radiance on
> the Mac are:
>
>
>
> go to www.radiance-online.org, click the link on the left for "download
> radiance", and follow the procedures found under "Download official release
> from this server". Basically you grab the source code, and compile.
> Compiling on the Mac is easy, you run ./makeall install from the directory
> where you unpack the archive, and follow the prompts. You need to run this
> as an admin, and in Mac OS this is easy:
>
>
>
> sudo ./makeall install
>
>
>
> This will prompt you for the administrator password, and then you just
> follow the prompts.
>
>
>
> NOTE: you must have the directory /usr/local/lib/ray already existing so
> the installer can place all the library files. This is done with
>
>
>
> sudo mkdir /usr/local/lib/ray
>
>
>
> Maybe this was your problem the first time around? Here's a quick rundown
> of the steps:
>
>
>
> 1. download http://www.radiance-online.org/software/rad3R9all.tar.gz
>
> 2. at the command prompt, go to the directory where you saved the
> rad3R9all.tar.gz file
>
> 3. type: gunzip < rad3R9all.tar.gz | tar xf -
>
> 4. go to the archive directory (cd ray)
>
> 5. create /usr/local/lib/ray directory if it does not exist (sudo mkdir
> /usr/local/lib/ray)
>
> 6. type sudo ./makeall install (supply admin password when asked)
>
> 7. follow the prompts, responding to defaults; definitely answer 'y' when
> asked if you want to install libraries, accept default location
>
> 8. make the PATH changes recommended after installation.
>
>
>
> Give that a go, and retry objline.
>
>
>
> - Rob
>
>
>
> On Jun 11, 2010, at 10:37 AM, Ji Zhang Õż½ wrote:
>
>
>
>  Thanks, John!
>
> But I think the rad file I used should be OK because it only contains five
> simple boxes and I can use rvu to generate a rendering for it.
>
> Just now I tried to use the table.rad file got from Axel Jacobs' tutorial
> and the objline still doesn't work. Moreover, there's an error message
> showing in the Terminal:
>
> *fatal - cannot open file "/usr/local/lib/ray/meta/vchars.mta", mode "r"*
>
>
> I sense my Radiance has got big problem. What does this error message mean?
>
>
> Should I reinstall Radiance?
>
> What are the correct and detailed procedures to install Radiance on Mac OS
> X Snow Leopard?
>
> Thanks!
>
> Ji
>
>  On Fri, Jun 11, 2010 at 11:35 PM, John Mardaljevic <jm at dmu.ac.uk> wrote:
>
> Ji,
>
> Objline might bomb out if there are non-planar vertices in your model.
>
> -John
>
> -----------------------------------------------
> Dr. John Mardaljevic
> Reader in Daylight Modelling
> Institute of Energy and Sustainable Development
> De Montfort University
> The Gateway
> Leicester
> LE1 9BH, UK
> +44 (0) 116 257 7972
> +44 (0) 116 257 7981 (fax)
>
> jm at dmu.ac.uk
> http://www.iesd.dmu.ac.uk/~jm <http://www.iesd.dmu.ac.uk/%7Ejm>
>
>
>
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
>
>
>
> --
> ZHANG Ji Õż½ (PhD) :: Research Fellow :: Centre for Sustainable Asian
> Cities :: School of Design and Environment :: National University of
> Singapore :: 4 Architecture Drive,  Singapore, 117566 :: Contact: 65-6516
> 5046 :: Email: sdezj at nus.edu.sg
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
>
>
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
>
>
>
> --
> ZHANG Ji Õż½ (PhD) :: Research Fellow :: Centre for Sustainable Asian
> Cities :: School of Design and Environment :: National University of
> Singapore :: 4 Architecture Drive,  Singapore, 117566 :: Contact: 65-6516
> 5046 :: Email: sdezj at nus.edu.sg
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
>
>
> ____________________________________________________________
>
> Electronic mail messages entering and leaving Arup  business
> systems are scanned for acceptability of content and viruses
>
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
>


-- 
ZHANG Ji Õż½ (PhD) :: Research Fellow :: Centre for Sustainable Asian Cities
:: School of Design and Environment :: National University of Singapore :: 4
Architecture Drive,  Singapore, 117566 :: Contact: 65-6516 5046 :: Email:
sdezj at nus.edu.sg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://radiance-online.org/pipermail/radiance-general/attachments/20100613/3d173255/attachment.htm


More information about the Radiance-general mailing list