When I attempt a nirt command, I get the following...

dyld: Library not loaded: /Users/Morrison/brlcad.STABLE/.cmake/lib/librt.20.dylib
Referenced from: /usr/brlcad/rel-7.22.0/bin/nirt
Reason: image not found
Abnormal exit x5, terminating signal = 5

In my .bash_profile, I have the following export statements...

export BRLCAD_HOME=/usr/brlcad
export MAGICK_HOME=/usr/ImageMagick/release-6.7.2
export DYLD_LIBRARY_PATH=$MAGICK_HOME/lib/
export PATH=${PATH}:$BRLCAD_HOME/rel-7.22.0/bin:MAGICK_HOME/bin

Any ideas? I also notice rt and rtedge failing although I can still use the ray trace tool. Do I need an FB_FILE variable set as well?

Sent from my iPhone

On Jan 31, 2013, at 3:31 PM, "Christopher Sean Morrison" <brlcad@mac.com> wrote:



On Jan 31, 2013, at 12:48 PM, Bob Anderson <bob.anderson@survice.com> wrote:

I have in my .bash_profile a variable called DYLD_LIBRARY_PATH set to ImageMagik. You mentioned a DYLD_FALLBACK_LIBRARY_PATH. Do I need to add this? What do I set it to? NIRT failed and it mentioned DYLD path.

 
If you set up the symbolic link, you shouldn't need to set anything other than PATH (and MANPATH for docs).

Did you create the /usr/brlcad symlink?  What's the error you're seeing?  The variable you have set for ImageMagik might be causing problems.

Cheers!
Sean



 

From: Christopher Sean Morrison [mailto:brlcad@mac.com]
Sent: Wednesday, January 30, 2013 11:47 AM
To: BRL-CAD Developer Mailing List
Subject: Re: [brlcad-devel] Running BRLCAD 7.22 on MAC OSX from terminal

 

 

On Jan 30, 2013, at 10:45 AM, Bob Anderson <bob.anderson@survice.com> wrote:

Hi Sean,

 

I was pleased to see an updated BRLCAD version for MAC. I was also pleased that it installed like a typical mac app. However, the install did not put any path in the .bash_profile file that would allow me to run MGED from the terminal command line. I attempted to put the /bin and /lib directories in the PATH variable, but it did not seem to work.  What am I missing? Any assistance would be much appreciated.

 

 

Hi Bob, thanks for the feedback on the app.  It was sort of a quick "hey, I wonder ..." test before release to see if I could pull together a pretty drag-n-drop release quickly.  I've been loving it myself now that I can double-click .g files and launch mged by dragging them on the app, but there are some loose ends to be sorted out.  The path is one of them.

 

You can add it to your path, but notice the ':' in the application name.  That's a tricky problem since you have to escape the colon.  Even once you add it to your path, though, you also end up needing to set the DYLD_FALLBACK_LIBRARY_PATH variable too so that it finds the runtime libraries.

 

All that said, the easiest solution is to create a symbolic link.  First, create or go to /usr/brlcad:

 

sudo mkdir -p /usr/brlcad

cd /usr/brlcad

 

Then create a link into the application bundle for that version:

 

sudo ln -s /Applications/BRL-CAD\ :\ MGED\ 7.22.0.app/Contents/Resources/rel-7.22.0

Tab completion may help there in case I wrote the path wrong or you have it located somewhere else.  Once the link is created, it should all work if you add /usr/brlcad/rel-7.22.0/bin to your PATH.

 

Cheers!

Sean

 

 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel