2011-07-06 3 views
0

Je suis en train de construire MobileVLC sur OS X Leopard, en utilisant SDK iOS 4.3.Erreur dans la construction MobileVLCKit

suivi les instructions, cependant, construire des arrêts et ne donnés ici: [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' 

L'erreur est donnée comme suit:

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. 

également avant de changer pour en arriver là avec le sdk 4.3 J'ai dû changer le sdk en buildMobileVLC.sh à 4.3 de 4.2. Avant le changement j'ai eu l'erreur:

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

Comment réparer cette erreur? et peut réparer l'erreur xcodebuild d'une manière différente résoudre les deux problèmes?

Répondre

1

Edit: ImportedSources/vlc/extras/contrib/bootstrap

Ajouter: EXTRA_LDFLAGS = "$ {} EXTRA_LDFLAGS -isysroot $ {} IOS_SDK_ROOT"

Avant:

si le test -Z "$ IOS_SDK_ROOT"; puis erreur « Le script d'amorçage nécessite l'environnement IOS_SDK_ROOT » erreur « variable à régler lors de la construction pour iOS » sortie 1 fi

1

deux méthode: 1. vous feriez mieux d'installer iOS SDK 4.2 de package Xcode 3.2.5/3,26

  1. modifier votre script, ./MobileVLC/build_for_iOS.sh, changement 4.2 -> 4,3

après que vous pourriez aller plus loin