【问题标题】:PJSIP in xcode not working,Gossip Example code is also not compiling?xcode 中的 PJSIP 不起作用,Gossip 示例代码也无法编译?
【发布时间】:2014-08-31 11:51:41
【问题描述】:

我在这里与您分享我的问题。自过去 3 天以来,我一直在研究 PJSIP,但仍未找到解决方案。 我知道在 PJSIP api 中,我需要包装类以使它们在 xcode 上可用。 但在研发期间,我得到了这个链接:

https://github.com/chakrit/gossip

在这里,所有内容都包含在 Objective-C 中,但这并没有被编译。它给我带来了文件丢失的问题。 最初它给 config_site.h 丢失了,所以我从这个链接下载了 PJSIP 库:

http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone

并将 pjsip 文件夹拖放到我的项目中。但它仍然存在问题。

所以,如果有人有任何使用 pjsip 进行通话和聊天的解决方案,请支持我。

【问题讨论】:

  • 任何帮助将不胜感激,请回复

标签: ios iphone xcode ios7 cocos2d-iphone


【解决方案1】:

你好在这个链接gossip github

他们证明了一些构建 pjsips 的命令,遵循这些命令

  1. 首先在终端执行以下命令(克隆八卦源代码)

    git clone git://github.com/chakrit/gossip.git
    cd gossip
    git submodule init
    git submodule update --recursive
    
  2. 要构建 pjsip,请执行以下命令

    例如,要为 arm64 创建新版本,请尝试以下操作:

    $ cd gossip $ cd pjsip $ ./pjsip arm64 $ ./pjsip info arm64

    (或)要在您的机器上创建新的胖二进制文件,请尝试以下操作

    cd gossip cd pjsip ./pjsip all ./pjsip info .

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-08-04
    • 2018-10-14
    • 2015-08-13
    • 2015-07-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多