How to compile Linphone for iPhone ? Couldn't

2019-02-26 11:17发布

I am trying to compile linphone source code. I've downloaded the code from Here. When I started the xcode all the libraries are missing. I have installed all ports specified in README file.

I did google and got libraries but still I could not find libmediastreamer_base.a and libmediastreamer_voip.a files.

Any help ?

3条回答
戒情不戒烟
2楼-- · 2019-02-26 11:55

Have you build libraries? Go to linphone source folder and enter commands:

$ cd submodules/build
$ make all 

or if you don't want make your project GPL compliant enter this commands instead:

$ cd submodules/build
$ make all enable_gpl_third_parties=no

This is all written in the README file. I also downloaded linphone source for the same link and I just followed README file. It all worked. Hope this helps.

查看更多
乱世女痞
3楼-- · 2019-02-26 12:03
  1. It seems that the sdk fold is not inclued.

    linphone-sdk/apple-darwin/lib/libmediastreamer_voip.a (and the other)

    You should add this path into your xcode "Build settings" -> "Header search paths"

  2. If these 2 files not exist in the folder, which means mediastreamer not compiled.

查看更多
地球回转人心会变
4楼-- · 2019-02-26 12:17

I think you are not downloaded the whole project. So, that it is showing missing files. Please use command terminal for full app downloaded from given below links.

https://www.linphone.org/technical-corner/linphone/downloads

查看更多
登录 后发表回答