Live555 compile for iOS build error

I'm trying to build MobileVLC on OS X Lion, against iOS SDK 5.0. So far, no dice.

Followed the given instructions, however, build stops and fails here: [info] Building contrib for iOS in '/Users/shamil/Documents/MobileVLC/ImportedSources/vlc/contrib-builddir-ios-i686-apple-darwin10

Current log: ./buildMobileVLC.sh -s [info] Preparing build dirs [info] Building [info] Building vlc [info] Building libvlc for the iOS [info] Using i386 with SDK version 4.2 [info] Building contrib for iOS in '/Users/shamil/Documents/MobileVLC/ImportedSources/vlc/contrib-builddir-ios-i686-apple-darwin10'

The error is given as follows:

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/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.

I've bolded the one which I think is causing it to fail. Now - how do I fix THIS error?



Add "-L$(SDKROOT)/usr/lib/system" to LDFLAGS variable.

Where SDKROOT is the directory that points to the latest iOS.

e.g: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值