[Radiance-general] evalglare: Bad CPU type in executable

Guglielmetti, Robert Robert.Guglielmetti at nrel.gov
Tue Nov 17 14:26:20 PST 2015


By default, the NREL Mac installer puts everything in:

/usr/local/radiance/bin (programs)
/usr/local/radiance/lib (library/cal files)
/usr/local/radiance/man (little green men and manual pages)

So yeah, you need to update your environment ($PATH and $RAYPATH) or change the installation location (which I'm 97% certain you can do with the installer (and that it works)) to match your environment.

You can always check to see what your system is using for executables by typing "which <program_name>" at the cli, which returns the full pathname of the system executable (regardless of how many versions you have scattered about), e.g.:

$ which evalglare
/usr/local/radiance/bin/evalglare

I'd also get the latest installer while you're at it:

https://github.com/NREL/Radiance/releases/tag/5.0.a.6

HTH!

- Rob


On 11/17/15, 3:13 PM, "Kyle Konis" <kskonis at gmail.com<mailto:kskonis at gmail.com>> wrote:

Hi Jan and Rob,

Thanks for the quick response,

No, i just used the NREL installers . . .

Specifically : radiance-5.0.0-Darwin.dmg<https://github.com/NREL/Radiance/releases/download/5.0/radiance-5.0.0-Darwin.dmg>

from
https://github.com/NREL/Radiance/releases/tag/5.0

But here's a clue . . .

Since i have an old version of evalglare (and radiance) on my machine, i deleted evalglare just to see if the installer would replace it.

I also deleted the radiance program "total"

I opened the radiance installer and followed all the steps, and got the "Installation was successful"  screen.

However no evalglare in /usr/local/ray/bin/evalglare

and no /usr/local/ray/bin/total

So i think my prior issue is probably that i had a very old version of evalglare on my machine.

And the new issue is that i am expecting the installer to overwrite the files in /usr/local/ray/bin/ and it seems to not be doing this ( ? )


-Kyle

On Tue, Nov 17, 2015 at 1:43 PM, Jan Wienold <jan.wienold at epfl.ch<mailto:jan.wienold at epfl.ch>> wrote:
hi kyle,
did you try to compile radiance as well?
i just did it yesterday (official 5.0 release) for mavericks and yosemite and both installed completely (including evalglare v17) without problems in less than 3min.
(of course you need the xcode and x11 package as well).
Jan



On November 17, 2015 10:26:24 PM CET, Kyle Konis <kskonis at gmail.com<mailto:kskonis at gmail.com>> wrote:
Dear list,

I recently tried using evalglare on my mac (OS X Mavericks 10.9.5) and received the following feedback from the terminal (when entering    evalglare -v)

/usr/local/ray/bin/evalglare: Bad CPU type in executable

A quick google of this kind of error suggests that i need an updated binary file, or need to compile evalglare from source on my machine
https://discussions.apple.com/thread/6130828

I though it would be problem solved by installing the new Radiance binaries from NREL
https://github.com/NREL/Radiance/releases

But i get the same error

Any suggestions here?

best,

-Kyle



________________________________

Radiance-general mailing list
Radiance-general at radiance-online.org<mailto:Radiance-general at radiance-online.org>
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

_______________________________________________
Radiance-general mailing list
Radiance-general at radiance-online.org<mailto:Radiance-general at radiance-online.org>
http://www.radiance-online.org/mailman/listinfo/radiance-general





More information about the Radiance-general mailing list