Re: Static library confusion
Re: Static library confusion
- Subject: Re: Static library confusion
- From: Jean-Daniel Dupas <email@hidden>
- Date: Wed, 7 Jan 2009 16:03:41 +0100
Le 7 janv. 09 à 15:12, Sherm Pendley a écrit :
On Jan 7, 2009, at 5:03 AM, email@hidden wrote:
This my problem. I am only linking to the static Library.
That's obviously what you *want* to do, but the error message you're
getting indicates that's not how your app is actually linked.
Disbelieving the evidence is usually not an effective debugging
technique. :-)
When you link with -l, the linker prefers dynamic libraries over
static when both are present. To force static linking, have a look at:
<http://developer.apple.com/qa/qa2006/qa1393.html>
sherm--
try
otool -L youapp
At least we will now for sure if it links on the static library or
something else.
_______________________________________________
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