我試圖建立MobileVLC上OS X Leopard的,使用的iOS SDK 4.3。錯誤建築MobileVLCKit
隨後作出批示,但是,建立停止,未能在這裏:[info] Building contrib for iOS in '/Users/matp/MobileVLC/ImportedSources/vlc/contrib-builddir-ios-arm-apple-darwin10'
Current log:./buildMobileVLC.sh
[info] Preparing build dirs
[info] Building
[info] Building vlc
[info] Building libvlc for the iOS
[info] Using armv7 with SDK version 4.3
[info] Building contrib for iOS in '/Users/matp/MobileVLC/ImportedSources/vlc/contrib-builddir-ios-arm-apple-darwin10'
誤差給出如下:
make[1]: *** [.ffmpeg] Error 1
make: *** [using-src] Error 2
/ImportedSources/vlc/contrib-builddir-ios-arm-apple-darwin10/build-src/ffmpeg/config.log tells me:
ld: warning: directory not found for option '-L/Users/matp/MobileVLC/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/lib'
ld: warning: directory not found for option '-L/Users/matp/MobileVLC/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/lib'
ld: file not found: /usr/lib/system/libcache.dylib for architecture armv7
collect2: ld returned 1 exit status
C compiler test failed.
另外爲了改變以前只要與得到這個sdk 4.3我必須將buildMobileVLC.sh
中的sdk從4.2更改爲4.3。在更改之前,我得到了以下錯誤:
xcodebuild: error: SDK "iphoneos4.2" cannot be located.
如何解決此錯誤?並可以修復xcodebuild
錯誤以不同的方式解決這兩個問題?