Re: How to use dynamic library in the Xcode
Re: How to use dynamic library in the Xcode
- Subject: Re: How to use dynamic library in the Xcode
- From: Stefan Werner <email@hidden>
- Date: Fri, 27 Jun 2008 07:36:10 +0200
Hi,
On Jun 27, 2008, at 7:20 AM, Wang Yongqing wrote:
Yes, I set the Other Linker Flags to "/usr/local/lib"
and Header Search Paths is "/usr/local/include/"
Library Search Paths is "/usr/local/lib"
I have added the /usr/local/lib/libpcsclite.1.0.0.dylib into my
project.
Remove "/usr/local/lib" from the other linker flags, then it should
hopefully work. Other linker flags are passed directly to ld, and ld
interprets a file path as a file to link against (even if it is, like
in your case, a directory).
-Stefan
_______________________________________________
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