MobileVLC for iphoneos4.3

前几天还说编译vlc for iphone buildMobileVLC.sh改进了很多,解决了一些以前的bug,好很多,这些都是表像。安装Xcode 4.0后,再编译,差错一个都不少,陆陆续续搞了一个星期,大致理顺。

=======================================
准备好文件,可备份MobileVLC,进行多次编译调试
=======================================
git clone git://git.videolan.org/MobileVLC.git
cd MobileVLC
mkdir -p ImportedSources
cd ImportedSources
git clone git://git.videolan.org/vlc.git
git clone git://github.com/pdherbemont/MediaLibraryKit.git

=======================================
因为Xcode4.0的变化,修改MobileVLC/ImportedSources/vlc/extras/contrib/bootstrap
=======================================
增加:EXTRA_LDFLAGS=”${EXTRA_LDFLAGS} -isysroot ${IOS_SDK_ROOT}”

case “$DISTRO” in
ios)
if test -z “$IOS_SDK_ROOT”; then
error “The bootstrap script requires the IOS_SDK_ROOT environment ”
error “variable to be set when building for iOS”
exit 1
fi
add_makefile_cfg “IOS_SDK_ROOT = ${IOS_SDK_ROOT}”
EXTRA_LDFLAGS=”${EXTRA_LDFLAGS} -isysroot ${IOS_SDK_ROOT}”

=======================================
修改MobileVLC/ImportedSources/vlc/extras/package/ios/build.sh,字写错
=======================================
把–with-macosx-sdk=${OS_SDK_ROOT}改成–with-macosx-sdk=${IOS_SDK_ROOT}

=======================================
修改MobileVLCKit工程中的MobileVLC/ImportedSources/vlc/projects/macosx/framework/MobileVLCKit/AggregateStaticPlugins.sh,找不到库文件,直接删除掉
=======================================
#plugins+=”audio_filter/bandlimited_resampler ”
#plugins+=”demux/ts ”
#plugins+=”misc/xtag

=======================================
试编译
=======================================
cd MobileVLC/
./buildMobileVLC.sh -v -k iphoneos4.3

ffmpeg ok
libVLC ok
MobileVLCKit.xcodeproj ok
MobileMediaLibraryKit.xcodeproj ok
MobileVLC/MobileVLC.xcodeproj armv7与armv6冲突,算你狠

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值