Re: Unable to directly link against dynamic library libicucore
Re: Unable to directly link against dynamic library libicucore
- Subject: Re: Unable to directly link against dynamic library libicucore
- From: Paul Thomas <email@hidden>
- Date: Sat, 5 Apr 2008 15:05:45 +0100
On 3 Apr 2008, at 23:54, John Engelhart wrote: On Mar 30, 2008, at 4:49 PM, Sam Krishna wrote: (Running XCode 3.0 + Leopard 10.5.2 on intel)
I'm trying to use RegexKitLite to add some simple regex support for a Foundation tool. I've followed the instructions listed here to add the libicucore dynamic library to the 'External Frameworks and Libraries' folder (located at /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libicucore.dylib).
To the list at large, Does anyone have a best-practices way of adding libraries like icucore to an Xcode project? This seems kind of ridicules, there must be ten to fifteen steps to add a single library. Not to mention the hoops you have to jump through if you want to add a library that doesn't show up in the file chooser (i.e., /usr/local/lib).
I've just been bitten by this and I found that it works smoothly if you choose /usr/lib/libicucore.dylib instead of the SDK path version. So smoothly that you can drop the 'drag it in to the Link Binary With Libraries group' step - selecting the target in the previous step makes this automatic.
I've always been confused about the difference between the system libraries and the SDK libraries.
One caveat - the file chooser doesn't want you to browse the /usr directory, so you have to hit the '/' key to get a sheet to enter /usr into. Nasty business all round!
pt. |
_______________________________________________
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