XCode 2.0 and ICU
XCode 2.0 and ICU
- Subject: XCode 2.0 and ICU
- From: Marshall Clow <email@hidden>
- Date: Tue, 3 May 2005 13:44:43 -0700
So, I'm trying to write some code that uses ICU <http://icu.sourceforge.net/>.
The install/build process for ICU went fine, and I have a folder full
of dylibs, organized like this:
libicuXXX.dylib (a symlink to libicuXXX.dylib.32.0)
libicuXXX.dylib.32 (a symlink to libicuXXX.dylib.32.0)
libicuXXX.dylib.32.0 (the real dylib)
So, I want to link against this library. I add libicuXXX.dylib to my
project. Fine.
Try to link, get "Can't find libicuXXX.sylib". Swear, pull up the
inspector, and
add the location of the dylibs to "Library search paths". Grumble.
Why didn't XCode
do this when I added the dylib? Ok.
Try to link - this time it succeeded. But the program doesn't run -
undefined symbols.
Grrr. Turn off ZeroLink, and link again.
Now it doesn't link. All the symbols that I used in libicuXXX.dylib
are undefined. Open
up the "Show Build Results" window, and look there. No help. Split
the window, and
find the actual commands used, and look there.
A-ha! There, hidden in the detritus, is a clue.
warning: skipping file 'blah/blah/libicuXXX.dylib.32.0' (unexpected
type 'file' in Frameworks and Libraries build phase)
So, it appears that XCode is looking at the file I added
"libicuXXX.dylib" and saying "This is a dylib, lets pass it to the
linker" but then later it decides that since the symlink points to a
file named "libicuXXX.dylib.32.0" that it will just ignore that file.
--
-- Marshall
Marshall Clow Idio Software <mailto:email@hidden>
It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.
_______________________________________________
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