Unable to directly link against dynamic library libicucore
Unable to directly link against dynamic library libicucore
- Subject: Unable to directly link against dynamic library libicucore
- From: Sam Krishna <email@hidden>
- Date: Sun, 30 Mar 2008 16:49:30 -0400
(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).
After adding it, I've tried to build the tool, and I keep getting this
warning:
warning: skipping file '/Developer/SDKs/MacOSX10.5.sdk/usr/lib/
libicucore.dylib' (unexpected file type 'compiled.mach-o' in
Frameworks & Libraries build phase)
Now, I can workaround this by putting in the '-licucore' flag in the
"Other Linker Flags" in the Build Inspector, but it seems kinda bogus.
Two Qs:
(1) Why would I get the above warning, given that 'compiled.mach-o' is
the native binary format on X?
(2) How do I directly link against said library w/o modifying the
"Other Linker Flags"?
Thanks!
_______________________________________________
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