diff --git a/README.md b/README.md index 5442bbaf8..2dd2f4da1 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,11 @@ Build and/or simply download the Boost C++ Libraries for the Android platform, w 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. 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. -Tested with **Boost 1.69.0** and **Google's Ndk 18b** (current versions as of Jan 2019). +Tested with **Boost 1.69.0** and **Google's Ndk 19** (current versions as of Jan 2019). +Building on a Linux machine is officially supported. Mac and Windows should work fine too but the details of setting up the relevant environments (eg. Cygwin or Homebrew) is beyond the scope of what this project tries to do. +If you want to use an operating system other than Linux when building, the easiest option is to use virtual machines. On your OS of choice install VirtualBox, and with it create a Linux virtual machine with where you do the building. No matter what OS you use to build with, the resulting binaries can then be copied to any other, and used from then on as if you had built on there to start with (theyre cross compiled *for* android and have no memory of *where* they were built). Works with **clang** (llvm) *- as of ndk 16 google no longer supports gcc*. @@ -17,7 +19,7 @@ Creates binaries for multiple abis (**armeabi-v7a**, **arm64-v8a**, **x86**, **x *Tested with a development machine running OpenSuse Tumbleweed Linux.* ## Prebuilt -You can just download a current set of standard (shared, clang/llvm) prebuilt binaries [here](https://github.com/dec1/Boost-for-Android/releases) if you don't need to customize the build, or don't have access to a unix-like development machine. +You can just download a current set of standard prebuilt binaries [here](https://github.com/dec1/Boost-for-Android/releases) if you don't need to customize the build, or don't have access to a unix-like development machine. ## Build Yourself diff --git a/example_app/build.gradle b/example_app/build.gradle index 8d3ef8e5c..6c2bb63f6 100644 --- a/example_app/build.gradle +++ b/example_app/build.gradle @@ -7,7 +7,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:3.2.1' + classpath 'com.android.tools.build:gradle:3.3.0' // NOTE: Do not place your application dependencies here; they belong diff --git a/example_app/gradle/wrapper/gradle-wrapper.properties b/example_app/gradle/wrapper/gradle-wrapper.properties index f9458062e..d5be97ea6 100644 --- a/example_app/gradle/wrapper/gradle-wrapper.properties +++ b/example_app/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Tue Oct 09 15:12:26 CEST 2018 +#Wed Jan 23 13:39:54 CET 2019 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip diff --git a/example_app/local.properties b/example_app/local.properties index e92a92bd2..bdb6e3e28 100644 --- a/example_app/local.properties +++ b/example_app/local.properties @@ -1,14 +1,12 @@ -## This file is automatically generated by Android Studio. -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! -# -# This file should *NOT* be checked into Version Control Systems, +## This file must *NOT* be checked into Version Control Systems, # as it contains information specific to your local configuration. # # Location of the SDK. This is only used by Gradle. # For customization when using a Version Control System, please read the # header note. -sdk.dir=/home/declan/Documents/zone/mid/lib/android/sdk +#Wed Jan 23 12:36:43 CET 2019 ndk.dir=/home/declan/Documents/zone/mid/lib/android/sdk/ndk-bundle +sdk.dir=/home/declan/Documents/zone/mid/lib/android/sdk # boost install dir: should directly contain "include", "libs" subdirs boost.dir=/home/declan/Documents/zone/low/Boost-for-Android/build/boost/1.69.0