Re: Plugins loading frameworks
Re: Plugins loading frameworks
- Subject: Re: Plugins loading frameworks
- From: Sherm Pendley <email@hidden>
- Date: Wed, 26 Jul 2006 18:01:50 -0400
On Jul 26, 2006, at 5:49 PM, David Alter wrote:
I have a plugin that uses a third party framework. I include the
framework as part of the bundle in "Content/Resources/Frameworks"
directory. It appears that because it is a plugin it does not find
the framework. I can build this plugin as an application and it
finds the framework just fine. Fo now I have been putting the
framework in ~/Libraries/Frameworks/. That works fine too. I would
like to have the frameworks as part of my plugins bundle. Is there
some simple trick I can do for this to load?
For Tiger and newer, yes. Build the framework with an install_name
that begins with @loader_path instead of @executable_path. Or use
install_name_tool to change the framework's install_name.
sherm--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden