Boost 1.74+ JNI NDK汇编CMAKE项目

发布于 2025-01-31 01:06:25 字数 326 浏览 3 评论 0原文

我想为Android JNI CMAKE项目编辑Boost。 我尝试了这个仓库 https://github.com/moritz-wundke/boost-for-for-for-for-for-for android

但是,使用NDK23为Boost V1.78的失败构建..

是否有任何教程或预先构建的方法在cmakelists.txt项目上。

感谢您的帮助

I would like to compile boost for Android JNI CMake project.
I tried with this repo
https://github.com/moritz-wundke/Boost-for-Android

but fail build for boost v1.78 with ndk23..

Is there any tutorial or prebuilt how to do it on CMakeLists.txt project.

Thanks for help

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

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

发布评论

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

评论(1

染火枫林 2025-02-07 01:06:25

我正在使用 https://github.com/orphis/orphis/boost-cmake 在我的cmake android中NDK项目效果很好,您可以查看此项目 https:// github .com/nkh-lab/ndk-vsomeip-hello-world 作为参考。您需要做的唯一额外的事情是添加 FindBoost.cmake 如果您在CMake文件中使用它,请使用find_package(boost)

I am using https://github.com/Orphis/boost-cmake in my CMake Android NDK projects and it works fine, you can look at this project https://github.com/nkh-lab/ndk-vsomeip-hello-world as a reference. The only extra thing you need to do is add FindBoost.cmake to serve find_package( Boost ) if you use it in your cmake files.

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