Android Issues
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- android, cmake, cpp
调研方向
从 boost/circular_buffer/base.hpp 开始,使用所述的 Android NDK、CMake 和 Boost 1.70 配置重现报告中的构建。比较所引用的两个 Android Boost 构建仓库的结果;当缺失的声明和 include 得到解决,或原因被明确识别并在 Android 集成中得到验证时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Hi,
I am trying to integrate boost into an android application for use with the Android NDK. I am trying to integrate boost 1.70.
I have tried two different configurations (both on Android):
Configuration 1
Android Gradle Plugin version: 3.4.1
Gradle version: 5.1.1
CMake version: 3.14.4
Android NDK version: 19.2.5345600
Configuration 2
I upgraded to the latest beta versions of all the above, so 3.5.+, etc.
Both are using Clang compilers. I built the boost library in two different ways... Using the following two repositories:
https://github.com/Orphis/boost-cmake
https://github.com/moritz-wundke/Boost-for-Android
In all cases (both configurations and both build types), I was able to successfully generate the boost files and import them into my project.
The only boost class that I require is boost::circular_buffer (and it's corresponding classes it references).
Basically, boost itself seems to be missing includes that it needs.
In the file boost/circular_buffer/base.hpp, I have the following issues
- Missing include for details.hpp, otherwise it cannot find "cb_details::const_traits"
- "BOOST_CB_ASSERT" and ".is_valid( ... )" all seem to be missing imports, etc.
Note: other issues exist in other files, as well. I tried manually adding the 'recommended' imports, but that just caused a chain reaction of missing imports that I couldn't resolve.
I tried using the tagged 1.70 version so I expected it to be stable.
Thanks for your help!

- 主要语言
- C++
- 星标
- 65
- 派生
- 64
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
boostorg/circular_buffer 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 25/100
boostorg/circular_buffer#53 ·
-
难度 3/5 1-2 天 新手友好度 48/100
boostorg/circular_buffer#51 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
boostorg/circular_buffer#48 ·
-
难度 4/5 3-5 天 新手友好度 25/100
boostorg/circular_buffer#47 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 35/100
boostorg/circular_buffer#46 · 4 条评论 ·
查看 boostorg/circular_buffer 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
hyprwm/aquamarine#426 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
amnezia-vpn/amnezia-client#3222 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
sdatkinson/NeuralAmpModelerCore#342 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
valkey-io/valkey-search#1465 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
KhronosGroup/Vulkan-Tutorial#524 ·
维护者通常 1 天内回复