Hi Rafael,

On Sat, May 30, 2009 at 6:47 PM, Rafael Regis do Prado
<[email protected]> wrote:
> Hi, I started to use MacOSX last week, and I`m with some problems to run
> openSG apps (I`m beginner in openSG too =) ) in this system.
> I compiled the source from the cvs, in dbg mode and i also in opt mode, the
> compiled code is in the build folder.
> When I compile a example with a makefile using the opt our the dbg mode,
> there is no errors, but when I run the app, this error appears using:
> dyld: Library not loaded: libOSGWindowGLUT.dylib
>   Referenced from: /Users/rafael/Trabalho/IC/Tentativas/./01firstapp
>   Reason: image not found
> Trace/BPT trap
> Any suggestion?

you have to set your dynamic lib path according to where you installed
the OpenSG libs (.dylib extension on OS X). For example, if you're
using the bash shell type:

export DYLD_LIBRARY_PATH=/opt/local/lib/dbg/

or optionally:

export DYLD_LIBRARY_PATH=/opt/local/lib/dbg/:$DYLD_LIBRARY_PATH

It's basically the same environment variable as LD_LIBRARY_PATH under Linux.

HTH,

        Ákos

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to