iPhone 的 libssh2 编译失败

发布于 2024-10-04 15:51:22 字数 365 浏览 0 评论 0原文

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

在我的研究中,我找到了这些说明如何编译它。但是当我尝试它时,我总是得到

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

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

Currently i'm trying to compile libssh2 to run on the iPhone.

On my research i've found those instructions how to compile it. But when i try it i always get

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

any ideas whats wrong? or can any one who already compiled libssh2 upload the compiled files for me?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

简美 2024-10-11 15:51:25

您是否尝试设置 CFLAGS 和 CPPFLAGS?

export CFLAGS=-m32
export CPPFLAGS=-m32

Did you try setting the CFLAGS and CPPFLAGS?

export CFLAGS=-m32
export CPPFLAGS=-m32
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文