建筑物MobileVLC-> armc7 + ffmpeg问题

| 我正在尝试针对iOS SDK 5.0在OS X Lion上构建MobileVLC。到目前为止,还没有骰子。 按照给定的说明进行操作,但是,构建会在此处停止并失败: [info]在\'/ Users / shamil / Documents / MobileVLC / ImportedSources / vlc / contrib-builddir-ios-i686-apple-darwin10中为iOS构建contrib 当前日志: ./buildMobileVLC.sh -s [info]准备构建目录 [信息]大楼 [info] Building vlc [info]为iOS构建libvlc [info]将i386与SDK版本4.2一起使用 [info]在\'/ Users / shamil / Documents / MobileVLC / ImportedSources / vlc / contrib-builddir-ios-i686-apple-darwin10 \'中为iOS构建contrib 错误给出如下:
make[1]: *** [.ffmpeg] Error 1
make: *** [using-src] Error 2
/ImportedSources/vlc/contrib-builddir-ios-arm-apple-darwin10/build-src/ffmpeg/config.log告诉我:
ld: warning: directory not found for option \'L/Users/shamil/Documents/MobileVLC/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/lib\'
ld: warning: directory not found for option \'-L/Users/shamil/Documents/MobileVLC/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/lib\'
**ld: in /usr/lib/system/libcache.dylib, missing required architecture armv7 in file for architecture armv7**
collect2: ld returned 1 exit status
C compiler test failed.
我已经加粗了一个我认为会导致失败的代码。现在-如何解决此错误?     
已邀请:
        将\“-L $(SDKROOT)/ usr / lib / system \”添加到LDFLAGS变量。 其中SDKROOT是指向最新iOS的目录。 例如:/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk     
        这对我有用:   。/配置   --extra-ldflags = -L / Applications / Xcode.app / Contents // Developer / Platforms / iPhoneOS.platform / Developer / SDKs / iPhoneOS6.0.sdk / usr / lib / system   --enable-cross-compile --arch = arm --target-os = darwin --cc = \'/ Applications / Xcode.app / Contents / Developer / Platforms / iPhoneOS.platform / Developer / usr / bin / llvm-海湾合作委员会   -arch armv7 \'--sysroot = / Applications / Xcode.app / Contents / Developer / Platforms / iPhoneOS.platform / Developer / SDKs / iPhoneOS6.0.sdk   --cpu = cortex-a8 --enable-pic --extra-ldflags = \'-arch armv7 \'     

要回复问题请先登录注册