Boost 1.74+ JNI NDK汇编CMAKE项目
我想为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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我正在使用 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.