【问题标题】:build of MobileVLC for iOS fails为 iOS 构建 MobileVLC 失败
【发布时间】:2012-08-27 11:31:15
【问题描述】:

我正在尝试为 iOS 编译 VLC 播放器。

我从 repo 克隆了 git,尝试运行“buildMobileVLC.sh”(使用 this wiki documentation

$ git clone git://git.videolan.org/MobileVLC.git
$ cd MobileVLC
$ ./buildMobileVLC.sh

但结果我在终端下一个:

SDKROOT not specified, assuming /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
*** /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk does not exist, please install required SDK, or set SDKROOT manually. ***

这个

./buildMobileVLC.sh -k iphoneos5.0

解决不了问题

附:当我尝试时:

./buildMobileVLC.sh -h

它说

   -k       Specify which sdk to use (see 'xcodebuild -showsdks', current: iphoneos5.0)

我做错了什么?我应该安装 iPhone SDK 5.1,如果“是”,那么如何安装?

统一更新: 我变了

SDK_VERSION=5.0

在 /Users//MobileVLC/ImportedSources/vlc/extras/package/ios 的文件“build.sh”中

错误消失了,但终端中的新错误是:

./libavutil/arm/asm.S:180:cannot use register index with PC-relative addressing -- `ldr r4,[pc,r4]'
./libavutil/arm/asm.S:180:cannot use register index with PC-relative addressing -- `ldr lr,[pc,lr]'
clang: error: assembler command failed with exit code 1 (use -v to see invocation)
make[1]: *** [libavcodec/arm/ac3dsp_armv6.o] Error 1
make: *** [.ffmpeg] Error 2

【问题讨论】:

  • 为 iOS 编译 VLC 真是太痛苦了……勇敢点^^
  • “艺术有涂鸦软件工程有开源软件”:P
  • @Pierre,谢谢,但如果你能帮我解决这个问题会很好))
  • 我知道。我试了很多次都没有成功:'(

标签: iphone ios xcode terminal vlc


【解决方案1】:

是的,您应该安装 iOS SDK,您可以通过从 Appstore 安装 Xcode 来获取它。

错误提示找不到SDK,安装Xcode后会安装SDK。

使用新的 Xcode,SDK 位于 Xcode 捆绑包中,/Applications/Xcode.app/Contents/Developer 如果找不到 SDK,建议您将 SDKROOT 设置为此路径。


VLC 的移动版本似乎已损坏:http://forum.videolan.org/viewtopic.php?f=12&t=103322

【讨论】:

  • “不是线索”是什么意思?
  • 为什么不,你缺少iOS SDK,你只能通过安装Xcode来安装它。
猜你喜欢
  • 1970-01-01
  • 2021-04-30
  • 2019-02-25
  • 2020-12-28
  • 2020-08-18
  • 2021-09-13
  • 2020-09-15
  • 2016-10-03
  • 2013-06-15
相关资源
最近更新 更多