Re: Linker can't find library file but it's in my project
Re: Linker can't find library file but it's in my project
- Subject: Re: Linker can't find library file but it's in my project
- From: Rick Mann <email@hidden>
- Date: Sat, 17 Jun 2006 17:53:36 -0700
On Jun 17, 2006, at 13:07 , Chris Espinosa wrote:
You're using an SDK for Universal development, but your libUSB is
is in your local system's /usr/local and not in the SDK.
The two conventional fixes for this are to either make a symlink
from /Developer/SDKs/MacOSX1.4u.sdk/usr/local/lib to /usr/local/
lib, or to remove the Librsry from your project and add -l/usr/
local/lib/libUSB.dylib to your Other Linker Flags.
I added the symlink, and that fixed the problem. Thanks, Chris!
This seems like a bit of a shortcoming in XCode. I mean, it clearly
finds the library and links against it (if I remove the library, it
complains about many missing symbols). What is going on when it
fails, and why isn't XCode smart enough to just figure it out
(without me making a symlink in my SDKs folder)?
--
Rick
_______________________________________________
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