我正在尝试在 OS X 10.8.2 上构建 VLCKit。截至今天(2013.01.27),我已经安装了最新的 Xcode。到目前为止我做了什么:
git clone git://git.videolan.org/vlc-bindings/VLCKit.git
cd VLCKit
xcodebuild -alltargets -configuration Release -project VLCKit.xcodeproj ARCHS="x86_64" -sdk macosx10.8
一段时间后,我收到以下错误:
Undefined symbols for architecture x86_64:
"_iconv", referenced from:
_sub_recode in libass.a(ass.o)
_FcSfntNameTranscode in libfontconfig.a(fcfreetype.o)
"_iconv_close", referenced from:
_sub_recode in libass.a(ass.o)
_FcSfntNameTranscode in libfontconfig.a(fcfreetype.o)
"_iconv_open", referenced from:
_sub_recode in libass.a(ass.o)
_FcSfntNameTranscode in libfontconfig.a(fcfreetype.o)
CCLD libtelx_plugin.la
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [liblibass_plugin.la] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
我错过了什么吗?如何在 10.8.2 上编译 VLCKit?请帮忙!