Android Issues
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- android, cmake, cpp
- Domain
- build-system, mobile-dev
Research direction
Start with boost/circular_buffer/base.hpp and reproduce the reported build using the Android NDK, CMake, and Boost 1.70 configurations described. Compare the results from the two referenced Android Boost build repositories; done means the missing declarations and includes are resolved or the cause is clearly identified and validated in the Android integration.
Written by the indexing model from the issue text.
Description
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!

- Dominant language
- C++
- Stars
- 65
- Forks
- 64
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/circular_buffer
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
boostorg/circular_buffer#53 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
boostorg/circular_buffer#51 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
boostorg/circular_buffer#48 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
boostorg/circular_buffer#47 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
boostorg/circular_buffer#46 · 4 comments ·
All issues in boostorg/circular_buffer
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
ArthurSonzogni/FTXUI#1363 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
ginkgo-project/ginkgo#2108 ·
-
bug build
Difficulty 1/5 Under an hour Newbie friendliness 91/100
facebookincubator/velox#19194 ·
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW Openfuzz
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ClickHouse/ClickHouse#122114 ·