编译xbmc遇到的问题

从github上下载的最新的版本,

 
-----------------------------------------------------------------------------
3.1 Install Cross libs and runtime environment
-----------------------------------------------------------------------------
 $ cd $HOME/XBMC
  $ cd tools/darwin/depends
 $ ./bootstrap
 $ ./configure --with-darwin=ios
 $ make
-----------------------------------------------------------------------------
4. How to compile
-----------------------------------------------------------------------------
Both Xcode and Terminal compilation require that build environment be setup
from the step 3.1.
 $ cd $HOME/XBMC
 $ make -C tools/darwin/depends/xbmc
 $ make clean
 $ make xcode_depends
 $ make -C lib/addons/script.module.pil


编译到 make Xcode-depends时出错

./libavutil/arm/intmath.h:106:14: error: invalid operand in inline asm: 'adds   $1, ${2:R}, ${2:Q}, lsr #31  
itet   ne                     
mvnne  $1, #1<<31             
moveq  $0, ${2:Q}                
eorne  $0, $1,  ${2:R}, asr #31  

网上着了一下,已经有老外讨论了。记录一下

https://github.com/yuvi/gas-preprocessor/issues/16

http://stackoverflow.com/questions/7874667/trying-to-compile-last-ffmpeg-iphone-error-invalid-operand-in-inline-asm


基本上

1)首选是换sdk, 换4.2,4.3都可

2)禁用 asm 

./configure --disable-asm ...

3)禁用某条语句


编译完成后在xcode中编译工程,到最后出错:

/Users/UserName/Library/Developer/Xcode/DerivedData/xxx-beqfpakeslcfgjghvltweyjadfjk/Build/Intermediates/xxx.build/Debug-iphoneos/xxx.build/Script-B354780B144C8CA2002C6922.sh: line 4: /Developer/xcode-crack/gen_entitlements.py: No such file or directory

Solution:Build Phases中删除Run Script(在最新的代码工程中叫code sign)
分析是项目在破解Xcode上开发的,为了能装到真机,做了免费证书
gen_entitlements.py: <wbr>No <wbr>such <wbr>file <wbr>or <wbr>directory

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值