iOS SDK 4.3を使用して、OS X LeopardでMobileVLCをビルドしようとしています。
ただし、指定された指示に従いましたが、ビルドが停止し、ここで失敗します。[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 でこれを実現するために変更する前に、sdk をbuildMobileVLC.sh
4.2 から 4.3 に変更する必要がありました。変更前にエラーが発生しました:
xcodebuild: error: SDK "iphoneos4.2" cannot be located.
このエラーを修正するにはどうすればよいですか? xcodebuild
エラーを別の方法で修正すると、両方の問題を修正できますか?