• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Plugins loading frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Plugins loading frameworks
      • From: David Alter <email@hidden>
References: 
 >Plugins loading frameworks (From: David Alter <email@hidden>)

  • Prev by Date: Re: Plugins loading frameworks
  • Next by Date: Re: NSString** in scanners
  • Previous by thread: Re: Plugins loading frameworks
  • Next by thread: Re: Plugins loading frameworks
  • Index(es):
    • Date
    • Thread