Skip navigation.
 
mlRe: Plugins loading frameworks
FROM : Sherm Pendley
DATE : Thu Jul 27 00:01:50 2006

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

Related mailsAuthorDate
mlPlugins loading frameworks David Alter Jul 26, 23:49
mlRe: Plugins loading frameworks Nick Zitzmann Jul 26, 23:57
mlRe: Plugins loading frameworks Sherm Pendley Jul 27, 00:01
mlRe: Plugins loading frameworks David Alter Jul 27, 01:41
mlRe: Plugins loading frameworks Nick Zitzmann Jul 27, 02:37