zoukankan      html  css  js  c++  java
  • Linphone iOS SDK 编译

    1.安装预备
         检出代码 git clone git://git.linphone.org/linphone-iphone.git --recursive
         下载 MacPorts http://www.macports.org/install.php 
         Mountain Lion版本 https://distfiles.macports.org/MacPorts/MacPorts-2.2.0-10.8-MountainLion.pkg

    2.依照检出代码 README提示步骤,进行相关编译/安装
    首先搞定PATH配置,使用了zsh,如下操作
    添加/opt/local/bin
    echo "export PATH=$PATH" >> ~/.zshrc
    source ~/.zshrc


    #确认安装Xcode以及Macports
    sudo port install coreutils automake autoconf libtool intltool wget pkgconfig cmake gmake yasm grep doxygen ImageMagick optipng antlr3 
         时间超长 中间看看是否有failed的情况,剩下的就是等了
         如果是失败,看看是什么问题,要是超时的话,从中断的地方继续下载。

    #Install gas-preprosessor.pl version above Jully 2013
         $ wget --no-check-certificate https://raw.github.com/yuvi/gas-preprocessor/master/gas-preprocessor.pl
         超时? 直接去网站下吧
         $ sudo mv gas-preprocessor.pl /opt/local/bin/.
         $ sudo chmod +x /opt/local/bin/gas-preprocessor.pl

    #Link macport libtoolize to glibtoolize 
         $ sudo ln -s /opt/local/bin/glibtoolize /opt/local/bin/libtoolize 

    #Link host's strings to simulator SDK
    For Xcode prior to 4.3:
         $ sudo ln -s  /usr/bin/strings /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/strings
         For newer XCode:
         $ sudo ln -s  /usr/bin/strings /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/strings

    BUILDING THE SDK
    ****************

     * GPL third parties versus non GPL third parties

     This sdk can be generated in 2 flavors. Firt is with GPL third parties, it means liblinphone includes GPL third parties like FFMPEG or x264.
     If you choose this flavor, your final application must comply with GPL in any case. This is the default mode.

     To generate the liblinphone multi arch sdk in GPL mode, do:
         $ cd submodules/build
         $ make all

    *需要联网
    *花费1小时

    The resulting sdk is in liblinphone-sdk/ directory. 

    研究代码,走起~

  • 相关阅读:
    关闭firefox的plugincheck
    C# 三个定时器区别
    数字图像处理学习 01 图像的几何变换
    C++ dll的创建和使用
    使用Log4Cplus+配置文件打印日志
    Bmp图像的数据格式及读取
    GCC的使用和Makefile的编写
    day03 QT学习 常用控件 QLabel QPushButton QLineEdit使用 QSS介绍以及QObject子对象的遍历
    day02 QT学习 字符集和中文乱码的问题
    day01 QT学习 信号槽和QWidget介绍
  • 原文地址:https://www.cnblogs.com/junwang/p/3386022.html
Copyright © 2011-2022 走看看