【发布时间】: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