2011-07-06 2 views
0

을 MobileVLCKit. 오류가 나는 <strong>아이폰 OS SDK 4.3</strong>를 사용하여, <strong>OS X 레오파드</strong>에 <strong>MobileVLC</strong>를 구축하기 위해 노력하고있어

는 주어진 지침은, 그러나, 중지를 구축 이어 여기에 실패

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. 

는 또한 순서 변경하기 전에 함께 여기까지를 얻기 위해 다음과 같이 [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' 

오류가 주어진다 sdk 4.3 buildMobileVLC.sh의 SDK를 4.2에서 4.3으로 변경해야했습니다. 변경하기 전에 오류가 발생했습니다 :

xcodebuild: error: SDK "iphoneos4.2" cannot be located. 

이 오류를 어떻게 수정합니까? xcodebuild 오류를 다른 방법으로 수정하면 두 가지 문제를 모두 해결할 수 있습니까?

답변

1

편집 : ImportedSources/VLC/엑스트라 /있는 contrib/

부트 스트랩 추가 : EXTRA_LDFLAGS = "$ {EXTRA_LDFLAGS} -isysroot $ {IOS_SDK_ROOT}"

전 :

경우 테스트 -z "$ IOS_SDK_ROOT"; 다음 오류가 1 번 출구 Fi를 오류 "iOS 용 빌드 할 때 변수가 설정되는", "부트 스트랩 스크립트는 IOS_SDK_ROOT 환경이 필요합니다"

1

두 가지 방법 1. 당신은 더 나은 패키지 엑스 코드에서 아이폰 OS SDK 4.2을 설치하는 것 당신이 더

을 갈 수도 그 후> 4.3

- 3.2.5/3.26

  1. 편집 스크립트는 ./MobileVLC/build_for_iOS.sh는 4.2 변경
관련 문제