Skip to content

Commit 616cff1

Browse files
committed
tested and verified with boost 1.69.0 (and ndk 18b)
1 parent 04c653f commit 616cff1

5 files changed

Lines changed: 5 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Build and/or simply download the Boost C++ Libraries for the Android platform, w
44
The [Boost C++ Libraries](http://www.boost.org/), are possibly *the* most popular and generally useful c++ libraries. It would be nice to be able to use them when developing (native c++ or hybrid java/c++ with Google's [Ndk](https://developer.android.com/ndk/)) apps and/or libraries for Android devices.
55
The Boost libraries are written to be cross platform, and are available in source code format. However, building the libraries for a given target platform is not a very simple or cross platform experience, at least in practice. Building the Boost libraries for Android can be very difficult and time consuming. This project aims to lower the barrier by offering a simple customizable build script you can use to build Boost for Android (abstracting away all the details of the underlying custom boost build system), and even providing standard prebuilt binaries to get you started fast.
66

7-
Tested with **Boost 1.68.0** and **Google's Ndk 18b** (current versions as of Oct 2018).
7+
Tested with **Boost 1.69.0** and **Google's Ndk 18b** (current versions as of Jan 2019).
88

99

1010

@@ -30,7 +30,7 @@ You can just download a current set of standard (shared, clang/llvm) prebuilt bi
3030
> ls /home/declan/Documents/zone/mid/lib/boost/1.68.0
3131
boost boost-build.jam boostcpp.jam boost.css boost.png ....
3232
```
33-
*__Note__:* If you are using ndk 18 you may have to modify the boost source code according to [this](https://github.com/boostorg/asio/pull/91). Currently Boost (1.68.0) doesn't support clang 7 which is the default compiler with ndk 18. This workaround should solve the problem until boost adds support for clang 7.
33+
*__Note__:* If you are using ndk 18 and boost <= 1.68.0, you may have to modify the boost source code according to [this](https://github.com/boostorg/asio/pull/91). Boost (<= 1.68.0) doesn't support clang 7 which is the default compiler with ndk 18. This workaround should solve the problem until boost adds support for clang 7, which it seems to have done in 1.69.0.
3434

3535
* Clone this repo:
3636

doIt.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ BOOST_SRC_DIR=/home/declan/Documents/zone/low/boost_src
1717
#------------------------------------------------------------------------------------------
1818
# Specify the version of boost youre building
1919
#BOOST_VERSION=1.64.0
20-
BOOST_VERSION=1.68.0
20+
BOOST_VERSION=1.69.0
2121

2222
#------------------------------------------------------------------------------------------
2323
# Specify path to the (Google) Ndk (by default downloded to "..sdk/ndk-bundle" by android studio)
@@ -36,7 +36,7 @@ rm $logFile
3636

3737

3838

39-
# The options --stdlibs, --abis and --linkage can be one or more of the listed posible values. If you specify more than one, then separate individual values by a comma
39+
# The options --stdlibs, --abis and --linkage can be one or more of the listed possible values. If you specify more than one, then separate individual values by a comma
4040
#------------------------------------------------------------------------------------------
4141
# which compiler to use // gnu-4.9 removed as of ndk 16
4242
STD_LIBS="llvm"

example_app/.idea/caches/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

example_app/local.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ sdk.dir=/home/declan/Documents/zone/mid/lib/android/sdk
1111
ndk.dir=/home/declan/Documents/zone/mid/lib/android/sdk/ndk-bundle
1212

1313
# boost install dir: should directly contain "include", "libs" subdirs
14-
boost.dir=/home/declan/Documents/zone/low/Boost-for-Android/build/boost/1.68.0
14+
boost.dir=/home/declan/Documents/zone/low/Boost-for-Android/build/boost/1.69.0
1515

example_app/screenshot.png

-368 Bytes
Loading

0 commit comments

Comments
 (0)