我正在尝试按照此Wiki在Mac OS 10.9上编译VLCKit:https://wiki.videolan.org/VLCKit/
我克隆了git://git.videolan.org/vlc-bindings/VLCKit.git
然后在Xcode 5.1中打开VLCKit.xcodeproj
最后运行“构建一切”。
但是构建由于这些问题而失败了:
运行VLC配置
PhaseScriptExecution bootstrap /Users/myname/Library/Developer/Xcode/DerivedData/VLCKit- bktcaifqrsqwbodqlfdqgsmkkdeb/Build/Intermediates/VLCKit.build/Debug/Run\ VLC\ configure.build/Script-631A90420D5A007D0014A2CE.sh
cd /Users/myname/Documents/PhcDev/VLCKit
/bin/sh -c \"/Users/myname/Library/Developer/Xcode/DerivedData/VLCKit- bktcaifqrsqwbodqlfdqgsmkkdeb/Build/Intermediates/VLCKit.build/Debug/Run\ VLC\ configure.build/Script-631A90420D5A007D0014A2CE.sh\"
/Users/myname/Library/Developer/Xcode/DerivedData/VLCKit-bktcaifqrsqwbodqlfdqgsmkkdeb/Build/Intermediates/VLCKit.build/Debug/Run VLC configure.build/Script-631A90420D5A007D0014A2CE.sh: line 16: ./bootstrap: No such file or directory
设置VLC贡献
PhaseScriptExecution make /Users/myname/Library/Developer/Xcode/DerivedData/VLCKit-bktcaifqrsqwbodqlfdqgsmkkdeb/Build/Intermediates/VLCKit.build/Debug/Setup\ VLC\ contribs.build/Script-633BD6E30D2ADF030012A314.sh
cd /Users/myname/Documents/PhcDev/VLCKit
/bin/sh -c \"/Users/myname/Library/Developer/Xcode/DerivedData/VLCKit-bktcaifqrsqwbodqlfdqgsmkkdeb/Build/Intermediates/VLCKit.build/Debug/Setup\ VLC\ contribs.build/Script-633BD6E30D2ADF030012A314.sh\"
Building tools
/Users/myname/Library/Developer/Xcode/DerivedData/VLCKit-bktcaifqrsqwbodqlfdqgsmkkdeb/Build/Intermediates/VLCKit.build/Debug/Setup VLC contribs.build/Script-633BD6E30D2ADF030012A314.sh: line 10: cd: /Users/myname/Documents/PhcDev/VLCKit/vlc-unstable/extras/tools: No such file or directory
/Users/myname/Library/Developer/Xcode/DerivedData/VLCKit-bktcaifqrsqwbodqlfdqgsmkkdeb/Build/Intermediates/VLCKit.build/Debug/Setup VLC contribs.build/Script-633BD6E30D2ADF030012A314.sh: line 11: ./bootstrap: No such file or directory
xcodebuild -project VLCKit.xcodeproj -target "Build Everything"
make: *** [build/Debug/VLCKit.framework] Interrupt: 2
Building a set of contribs for x86_64...
/Users/myname/Library/Developer/Xcode/DerivedData/VLCKit-bktcaifqrsqwbodqlfdqgsmkkdeb/Build/Intermediates/VLCKit.build/Debug/Setup VLC contribs.build/Script-633BD6E30D2ADF030012A314.sh: line 20: cd: /Users/myname/Documents/PhcDev/VLCKit/vlc-unstable/contrib: No such file or directory
Making contribs for x86_64
/Users/myname/Library/Developer/Xcode/DerivedData/VLCKit- bktcaifqrsqwbodqlfdqgsmkkdeb/Build/Intermediates/VLCKit.build/Debug/Setup VLC contribs.build/Script-633BD6E30D2ADF030012A314.sh: line 32: ../bootstrap: No such file or directory
make: *** No rule to make target `prebuilt'. Stop.
我错过了什么 ?有人可以帮忙吗?
最佳答案
我终于自己解决了我的问题。
这是我必须做的才能使其成功编译:
克隆项目
修改Xcode项目
变更编译器
清理
生成版本
希望这会有所帮助。
关于compilation - 在Mac OS 10.9上编译VLCKit,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/25123399/