Opened 10 years ago

Closed 10 years ago

#7527 closed Bugs (fixed)

Compilation broken on Android

Reported by: anonymous Owned by: John Maddock
Milestone: To Be Determined Component: TR1
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc: psiha@…

Description

Before using boost::tr1 when ANDROID is defined I have to "help" boost\tr1\detail\config_all.hpp with: #define BOOST_TR1_GCC_INCLUDE_PATH include. Otherwise the wrong path is deduced and compilation fails (tested with ANDROID NDK r8b and the GCC 4.6 toolset).

Change History (6)

comment:1 by Domagoj Šarić, 10 years ago

Cc: psiha@… added

comment:2 by Domagoj Šarić, 10 years ago

Cc: psiha@… removed
Component: NoneTR1
Owner: set to John Maddock

comment:3 by Domagoj Šarić, 10 years ago

Cc: psiha@… added

comment:4 by anonymous, 10 years ago

Do you have a patch? To what should BOOST_TR1_GCC_INCLUDE_PATH be set?

Thanks.

comment:5 by Domagoj Šarić, 10 years ago

As written in the description, it "should" be defined to simply "include". I placed "should" in quotes because this is what "worked for me" with NDK versions r8b and r8c and the GCC 4.6 toolset. In the current NDK r8d there are the GCC 4.4, 4.6, 4.7 and Clang 3.1 toolsets and maybe these require different treatment (haven't tested)...

The Android NDK does not require installation, merely unpacking from an archive (http://developer.android.com/tools/sdk/ndk/index.html) so you might be able to deduce the "correct course of action" by merely inspecting the (include) directory structure...

comment:6 by John Maddock, 10 years ago

Resolution: fixed
Status: newclosed

(In [82587]) Patch for Android support. Fixes #7527.

Note: See TracTickets for help on using tickets.