Re: Library not loaded - wrong path?
Re: Library not loaded - wrong path?
- Subject: Re: Library not loaded - wrong path?
- From: "Michael Williamson" <email@hidden>
- Date: Wed, 10 Sep 2008 10:38:29 +1000
So either I need to
a) change the framework install path,
b) or copy the framework to Resources instead.
For now I've done (b) just to get it working, and that fixed my problem (Thanks!)
But (a) seems preferable, since frameworks should probably live in "Frameworks"?
I couldn't see where to change the install path.
Is it determined and fixed at the time of compiling the framework?
This is a 3rd party framework, downloaded in a precompiled form. I could download the source instead and build it myself if I really have to ...
- Michael
On Wed, Sep 10, 2008 at 9:56 AM, Sherm Pendley
<email@hidden> wrote:
On Tue, Sep 9, 2008 at 6:57 PM, Michael Williamson
<email@hidden> wrote:
I'm getting this error when I try to run my built app bundle, either from Finder or from XCode
dyld: Library not loaded: @executable_path/../Resources/CEGUI.framework/Versions/A/CEGUI
Referenced from: /Users/wally/rtr/dev/code/build/Debug/rtr.app/Contents/MacOS/rtr
Reason: image not found
From the above error, it seems to be looking for the framework in
<app bundle>/Contents/Resources
Yep.
and I don't know why it's looking in the former location. Can anyone explain this?
The framework's install path is set to '@executable_path/../Resources'.
sherm--
--
Cocoa programming in Perl:
http://camelbones.sourceforge.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden