VLC는 한번에 제대로 컴파일된 적이 없네요. iOS 버전은 최근에 작업중인지 그나마 덜 고생하고 컴파일 성공했습니다. 프로젝트들이 얽혀있어 분석이 쉽진 않겠네요.
VLC compile하기
- VLC source를 작업 디렉토리에 풉니다. 그리고 vlc라는 이름으로 링크합니다.
$ tar jxvf VLC-1.1.0-iOS.tar.bz2
$ ln -s VLC-1.1.0-iOS vlc
$ cd vlc/extras/package/ios
- build_for_iOS.sh 을 열어서 SDK 버전을 수정합니다. 현재 최신버전은 4.2.sdk입니다. IOS_SDK_ROOT="${DEVROOT}/SDKs/iPhone${PLATFORM}3.2.sdk"
- build_for_iOS.sh 를 실행해서 컴파일해 보면 중간에 에러가 나면서 멈춥니다. patch file의 버전문제인데 ../../contrib/src-arm-apple-darwin10-ios/src/Patches/live-inet_ntop.patch의 161-185 라인을 참고해서 ../../contrib/src-arm-apple-darwin10-ios/src/live/liveMedia/RTSPServer.cpp을 직접 수정하면 됩니다. our_inet_ntoa()의 두번째 인자로 buf를 추가하기만 하면됩니다.
- 이제 build_for_iOS.sh를 실행해서 컴파일합니다. 완료되면 vlc/install-ios-OS에 해더와 라이브러리가 생성됩니다.
- MobileVLCKit의 static plugins를 build합니다.
$ cd vlc/projects/macosx/framework
$ xcodebuild -project MobileVLCKit.xcodeproj -target "Aggregate static plugins" -configuration "Release"
- MobileVLCKit의 MobileVLCKit의 SDK 버전을 최신버전으로 수정하고 build합니다.
$ open MobileVLCKit.xcodeproj
fix Targets/MobileVLCKit - Get Info / Build
Configuration : All Configurations
Architectures / Base SDK : Latest iOS
$ xcodebuild -project MobileVLCKit.xcodeproj -target "MobileVLCKit" -configuration "Release"
MediaLibraryKit compile하기
- 작업디렉토리(VLC-1.1.0-iOS와 같은 위치)에 MediaLibraryKit 디렉토리를 만들고 압축을 풉니다.
$ mkdir MediaLibraryKit && cd MediaLibraryKit
$ unzip MediaLibraryKit-1.1.0.zip
- External 디렉토리로 들어가 MobileVLCKit의 링크를 만듭니다.
$ ln -s ../../vlc/projects/macosx/framework/build/Release-iphoneos MobileVLCKit
- MediaLibraryKit의 SDK 버전을 최신버전으로 수정하고 build합니다.
$ open MobileMediaLibraryKit.xcodeproj
fix Targets/MobileMediaLibraryKit - Get Info / Build
Configuration : All Configurations
Architectures / Base SDK : Latest iOS
$ xcodebuild -project MobileMediaLibraryKit.xcodeproj -configuration "Release"
MobileVLC compile하기
- 작업디렉토리(VLC-1.1.0-iOS와 같은 위치)에서 MobileVLC의 압축을 풉니다.
$ tar zxvf MobileVLC-1.1.0.tar.gz
- External 밑에 있는 MediaLibraryKit와 MobileVLCKit의 링크가 제대로 되어있는지 확인합니다.
- MobileVLC의 SDK 버전을 최신버전으로 수정하고 build합니다.
$ open MobileVLC.xcodeproj
fix Targets/MobileVLC - Get Info / Build
Configuration : All Configurations
Architectures / Architectures : Standard (armv6 armv7)
Architectures / Base SDK : Latest iOS
build with Device-Release configurations
分享到:
相关推荐
编译原理——for循环语句的翻译,LR,四元式,有报告
编译原理 for 条件语句,while 语句的翻译及各种地质输出,大家慢慢找
Jar 反编译工具 For Windows
用C语言编译FOR语句,固定句型的编译。程序初学者,欢迎大家指正
Android 反编译工具 for mac
编译原理课程设计,for循环(简单优先法、输出三地址),代码加课设,功能强,可读性好,程序很小。
编译时报 Looking for pthread_create - not found 的解决办法 linux gcc 编译时报Looking for pthread_create - not found 其解决办法是...
该软件用于java的class文件反编译,实测好用,欢迎大家下载,有问题可以留言。。。。。
自己做的编译原理课程设计,得了优,关于for循环语句编译成四元式
交叉编译ppp for arm.doc
反编译的定义--计算机软件反向工程(Reverse engineering)也称为计算机软件还原工程,是指通过对他人软件的目标程序(比如可执行程序)进行“逆向分析、研究”工作,以推导出他人的软件产品所使用的思路、原理、...
4.0.2的编译过的ffmpeg全款so for Android,给有需要的朋友直接学习ffmpeg
apk反编译for macOS.zip 包含Mac 所用apktool,dex2jar, jd-gui,用于mac系统进行apk反编译
编译ffmpeg for android,在windows10下编译android平台可用的ffmpeg3.3
反编译工具for 3.5工具能将编译过的EXE、DLL等文件编译为源码,可支持C#,VB.net,VC.net等多种语言
关于ffmepg for wince的安装以及错误修改
ubuntu下 编译 ffmpeg for Android 的配置文件,包含编译出 armv7-a 和编译成 armv8-a的配置文件,仅仅这两个文件
iperf3_v3.11 for windows 最新编译
forshare v10修复版本,完美编译!
编译技术中,参照C语言,增加对于 for 语句处理