Re: Adding a third party framework (core plot)
Re: Adding a third party framework (core plot)
- Subject: Re: Adding a third party framework (core plot)
- From: Christopher Nebel <email@hidden>
- Date: Mon, 24 May 2010 12:44:02 -0700
On May 19, 2010, at 1:53 PM, John C. Welch wrote:
> I followed the core plot howto for adding the framework to my project, (at
> <http://code.google.com/p/core-plot/wiki/UsingCorePlotInApplications>) but
> get:
>
> dyld: Library not loaded:
> @loader_path/../Frameworks/CorePlot.framework/Versions/A/CorePlot
> Referenced from: /Users/jwelch/Documents/Personal Stuff/scripts/Xcode
> Applications/ASOC Projects/WiFi Analyzer/build/Debug/WiFi
> Analyzer.app/Contents/MacOS/WiFi Analyzer
> Reason: image not found
>
> Tips, ideas?
Go read <http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/RunpathDependentLibraries.html#//apple_ref/doc/uid/TP40008306-SW1>. Presuming that you've got the library in the right place, which, judging from that error message, ought to be here:
WiFi Analyzer.app
Contents
MacOS
WiFi Analyzer <-- @executable_path points here, and @loader_path if the load is happening from here
Frameworks
CorePlot.framework
Versions
A
CorePlot <<< should be here.
...then there's probably a mis-match between CorePlot's install name (see the "dynamic library install name" build setting in Xcode) and your linking to it in your application.
--Chris Nebel
AppleScript Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden