Re: Library not loaded - wrong path?
Re: Library not loaded - wrong path?
- Subject: Re: Library not loaded - wrong path?
- From: Nicholaz Beresford <email@hidden>
- Date: Wed, 10 Sep 2008 03:10:11 +0200
Michael Williamson wrote:
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 ...
Either at compile time or google or man for "install_name_tool" which
can fudge the location in your app after linking to the library.
(something like
install_name_tool -change
@executable_path/../Resources/CEGUI.framework/Versions/A/CEGUI
@executable_path/../Frameworks/CEGUI.framework/Versions/A/CEGUI
yourapp.app/Content/MacOS/yourapp
in a script (post)build step)
Nick
_______________________________________________
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