![](/img/trans.png)
[英]Permission denied executing any gcc-compiled c program on OS X (10.8.2) Mountain Lion
[英]Compiling VLCKit on OS X 10.8.2
我正在尝试在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? 请帮忙!
尝试克隆此仓库:
git clone git://git.videolan.org/vlc/vlc-2.0.git
然后用:
cd vlc-2.0/projects/macosx/framework/
xcodebuild -target "Build Everything" -configuration Release -project VLCKit.xcodeproj ARCHS="x86_64" -sdk macosx10.6
初次尝试不太可能,因此请通读这些说明,尤其是疑难解答部分
http://wiki.videolan.org/OSXCompile
我刚刚构建了VLCKit 2.06,并且在播放UDP流时遇到一些问题。 对我来说,解决方案是暂时在这里使用旧的稳定分支:
git clone git://git.videolan.org/vlc/vlc-1.1.git
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.