boostorg / boostorg/circular_buffer

Android Issues

Aperta
#28 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
65
Fork
64
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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!

![image](https://user-images.githubusercontent.com/15824440/58441625-7579e400-80b1-11e9-9cef-91507e0f7d6b.png)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia da boost/circular_buffer/base.hpp e riproduci la build segnalata utilizzando le configurazioni descritte di Android NDK, CMake e Boost 1.70. Confronta i risultati dei due repository di build Android Boost indicati; il lavoro è completato quando le dichiarazioni e gli include mancanti sono stati risolti oppure la causa è stata chiaramente identificata e convalidata nell’integrazione Android.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android, cmake, cpp
Ambito
build-system, mobile-dev
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.