【问题标题】:linphone library compile issue xcode 7.3 MAC OS El Capitan v10.11.4linphone 库编译问题 xcode 7.3 MAC OS El Capitan v10.11.4
【发布时间】:2016-06-22 13:39:47
【问题描述】:

我已经从 git 下载了 linphone 开源 VoIP 项目。 按照link 中给出的步骤进行操作,但我坚持了一个步骤

将主机字符串链接到模拟器 SDK

$ sudo ln -s /usr/bin/strings /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/strings

->我检查了下面的路径 “/usr/bin/strings”,发现 'strings' 没有找到,另外一条路径也不起作用 '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/strings'

->当时命令运行失败,原因如下

ln: failed to create symbolic link '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/strings': No such file or directory

-> 在构建时我收到了以下输出。

 *******************************************************************************
This makefile is deprecated. Please see README.md for compilation instructions. Here are some equivalents:
Equivalent of make is: cd ../../ && ./prepare.py && make
Equivalent of make enable_gpl_third_parties=no is: cd ../../ && ./prepare.py -DENABLE_GPL_THIRD_PARTIES=NO && make
Equivalent of make enable_debug=yes is: cd ../../ && ./prepare.py -d && make
Equivalent of make enable_i386=yes is: cd ../../ && ./prepare.py all && make
Equivalent of make enable_zrpt=yes enable_opus=yes enable_ffmpeg is: cd ../../ && ./prepare.py -DENABLE_ZRTP=YES -DENABLE_OPUS=YES -DENABLE_FFMPEG=YES && make
*******************************************************************************

下面的链接我已经提到了

1)https://libraries.io/github/mfrager/linphone-iphone

2) https://github.com/BelledonneCommunications/linphone/blob/master/README.macos.md

3)https://ohthehugemanatee.org/blog/2015/10/01/how-i-got-el-capitain-working-with-my-developer-tools/

【问题讨论】:

    标签: ios macos sip voip linphone


    【解决方案1】:

    ->我检查了下面的路径“/usr/bin/strings”,发现没有找到“strings”,并且另一个路径不起作用

    首先你必须在这个路径生成strings文件。 之后请检查您的 Xcode 在 Applications 中的名称是否为 Xcode.app 或 Xcode7.3.app


    This makefile is deprecated. Please see README.md for compilation instructions.
    

    对于这个错误,可能是因为你在尝试

    $ make all
    

    这个命令 试试这个:

    ./prepare.py && make
    

    有关更多信息,关于自制啤酒等,请正确遵循(正如您提到的那样,您正在关注它): building linphone-sdk

    同时授予 linphone-sdk 目录和所有其他相关文件的所有 权限(rwxrwxrwx)

    我在 iOS 项目中关注了这个。
    希望对您有所帮助!

    【讨论】:

      【解决方案2】:

      对于 HomeBrew,请确保运行:

      然后酿造更新 酿造医生

      仔细检查。另请参阅http://www.successmonkey.co.nz/blog/building-linphone-for-ios

      安装依赖项后,运行 ./prepare.py 并 make 编译所有内容(在 submodules/linphone/mediastreamer2/src/basemsfactory.cs 中进行了简单修复),然后使用 Xcode 构建最终应用程序。

      【讨论】:

        猜你喜欢
        • 2023-03-29
        • 1970-01-01
        • 2016-12-15
        • 2016-10-12
        • 1970-01-01
        • 2016-08-21
        • 1970-01-01
        • 1970-01-01
        • 2018-02-28
        相关资源
        最近更新 更多