How to compile Linphone for iPhone ? Couldn't find libmediastreamer_base.a libmediastreamer_voip.a

一世执手 提交于 2019-12-02 10:20:26

问题


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 ?


回答1:


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.




回答2:


  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.




回答3:


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



来源:https://stackoverflow.com/questions/15832290/how-to-compile-linphone-for-iphone-couldnt-find-libmediastreamer-base-a-libme

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!