集成适用于iPhone的Linphone [英] Integrate Linphone for iPhone

查看:90
本文介绍了集成适用于iPhone的Linphone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的项目中实现Linphone,但我陷入了困境,现在不知道要去哪里.

I want to implement Linphone into my project but i'm stuck in between and I don't know where to go now.

我所做的是下载了linphone-iphone-master sdk大师https://github.com/BelledonneCommunications/linphone-iphone

What I've done is downloaded linphone-iphone-master sdk masterhttps://github.com/BelledonneCommunications/linphone-iphone

,然后来自gtihub的这个liblinphone-sdk和包含的lib,包含到它的文件夹.编译后给我这个错误.

and then this liblinphone-sdk from gtihub and included lib, include folder to it. After compiling it give me this error.

liblinphone SDK not found. Please refer to the README: you have to compile liblinphone SDK before building Linphone application.
Command /bin/sh failed with exit code 1

我也是这方面的新手,他搜索了很多东西,但找不到任何东西,也不知道该怎么办,请帮帮我.

I'm also a new to this and searched lot of things but couldn't find anything and don't know what to do please help me.

我还安装了家用冲泡器,它显示了我关注的网站,但没有成功.

I also installed home brew as it shows and there's this website which i'm following but getting no success.

推荐答案

如果您不想构建自己的SDK,则应使用此链接,并执行自述文件步骤.否则,如果要使用本地SDK编译代码,则应遵循以下步骤.

If you dont want to build your own SDK you should go for this link and do the readme file steps. Otherwise if want to compile the code using your local SDK you should follow this steps.

在构建SDK之前,请先在Mac上安装所有这些工具.

Before you build SDK first install all these tool on your mac.

  1. cmake> = 3.6
    • python = 2.7(如果禁用了C#包装器,则为python 3.7)
    • yasm
    • nasm
    • 氧气
    • Pystache(使用 pip install pystache )
    • 六个(使用 pip安装六个)

为此,我建议您首先在Mac上安装python 3.当您安装最后两个步骤时,它将使您免于遇到很多问题.并使用git命令下载

For this I recommended first install python 3 on your mac. it'll save you from lot of issues when you are installing last two steps. And download using this git command,

git clone https://gitlab.linphone.org/BC/public/linphone-sdk.git -递归

git clone https://gitlab.linphone.org/BC/public/linphone-sdk.git --recursive

之后,转到下载的文件夹并创建名为"build"的文件夹.然后进入该文件夹并执行以下步骤以构建本地SDK,

After that go to downloaded folder and make folder called "build". then go inside that folder and do these steps to build your local SDK,

  1. 执行CMake来配置项目: cmake ..
  2. 构建SDK: cmake --build.或者 cmake --build.--parallel<作业数量> (速度更快).
  1. Execute CMake to configure the project: cmake ..
  2. Build the SDK: cmake --build . or cmake --build . --parallel <number of jobs> (which is faster).

您可以在第二步中将一些选项传递给CMake以根据需要配置SDK.例如,要构建iOS SDK(默认为桌面): cmake .. -DLINPHONESDK_PLATFORM = IOS

You can pass some options to CMake at the second step to configure the SDK as you want. For instance, to build an iOS SDK (the default being Desktop): cmake .. -DLINPHONESDK_PLATFORM=IOS

如果要在本地SDK中使用其他任何功能,请在下载的文件中引用自述文件.

If you want to use any other features with your local SDK please refer the readme file in your downloaded file.

这篇关于集成适用于iPhone的Linphone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆