【问题标题】:Compilation of libssh2 for the iPhone fails为 iPhone 编译 libssh2 失败
【发布时间】:2013-09-25 20:19:06
【问题描述】:

目前我正在尝试编译 libssh2 以在 iPhone 上运行。

在我的研究中,我发现those instructions 如何编译它。但是当我尝试它时,我总是得到

configure: error: C preprocessor "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp" fails sanity check

任何想法有什么问题吗?或者任何已经编译过 libssh2 的人可以为我上传编译好的文件吗?

【问题讨论】:

    标签: iphone objective-c libssh


    【解决方案1】:

    您是否尝试设置 CFLAGS 和 CPPFLAGS?

    export CFLAGS=-m32
    export CPPFLAGS=-m32
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-30
      • 2014-06-01
      • 2021-10-07
      • 2014-06-03
      • 2013-05-14
      • 1970-01-01
      相关资源
      最近更新 更多