首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在OS X 10.8.2上编译VLCKit

在OS X 10.8.2上编译VLCKit
EN

Stack Overflow用户
提问于 2013-01-27 07:53:45
回答 1查看 2K关注 0票数 1

我正在尝试在OS X 10.8.2上构建VLCKit。我已经安装了最新的Xcode (2013.01.27)。到目前为止,我所做的:

代码语言:javascript
复制
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

一段时间后,我得到以下错误:

代码语言:javascript
复制
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?请帮帮我!

EN

回答 1

Stack Overflow用户

发布于 2013-02-07 01:58:48

请尝试克隆此存储库:

代码语言:javascript
复制
git clone git://git.videolan.org/vlc/vlc-2.0.git

然后使用以下命令进行构建:

代码语言:javascript
复制
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流时遇到了一些问题。对我来说,暂时的解决方案是在这里使用旧的稳定分支:

代码语言:javascript
复制
git clone git://git.videolan.org/vlc/vlc-1.1.git 
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/14542864

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档