I'm unable to build boost armeabi-v7a on windows
NDK VERSION = android-ndk-r18
BOOST VERSION = boost_1_68_0
build-android.sh --with-libraries=chrono,date_time,filesystem,system,thread --arch=armeabi-v7a C:/android-ndk-r18
expr: warning: unportable BRE: `^\\([^\\-].*\\)$': using `^' as the first character
of the basic regular expression is not portable; it is being ignored
expr: warning: unportable BRE: `^\\(--[^=]*\\)=.*$': using `^' as the first character
of the basic regular expression is not portable; it is being ignored
expr: warning: unportable BRE: `^--[^=]*=\\(.*\\)$': using `^' as the first character
of the basic regular expression is not portable; it is being ignored
expr: warning: unportable BRE: `^\\([^\\-].*\\)$': using `^' as the first character
of the basic regular expression is not portable; it is being ignored
To follow build in another terminal, please use: tail -F /c/Boost-for-Android-master/logs/myst-log-5944.log
Building boost version: 1.68.0
Cleaning: boost_1_68_0
Cleaning: ./build/
Detected Android NDK version 18.0
Building with TOOLSET=clang CXXPATH=/c/android-ndk-r18/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ CFLAGS= CXXFLAGS=
Unpacking boost
Performing boost bootstrap
Building Boost.Build engine
Bootstrapping is done. To build, run:
.\b2
To adjust configuration, edit 'project-config.jam'.
Further information:
- Command line help:
.\b2 --help
- Getting started guide:
http://boost.org/more/getting_started/windows.html
- Boost.Build documentation:
http://www.boost.org/build/doc/html/index.html
patching file boost/config/user.hpp
patching file boost/asio/detail/config.hpp
patching file boost/system/error_code.hpp
patching file libs/filesystem/src/operations.cpp
# ---------------
# Build using NDK
# ---------------
Building boost for android for armeabi-v7a
Adding pathname: /c/android-ndk-r18/toolchains/llvm/prebuilt/windows-x86_64/
bin
C:\Boost-for-Android-master\boost_1_68_0\tools/build/src\user-config.jam:70:
Unescaped special character in argument <compileflags>$(AndroidNDKRoot)/toolchains/aarch64-linux-an
droid-4.9/prebuilt/${PlatformOS}-x86_64
C:\Boost-for-Android-master\boost_1_68_0\tools/build/src\user-config.jam:107
: Unescaped special character in argument <compileflags>$(AndroidNDKRoot)/toolchains/arm-linux-andro
ideabi-4.9/prebuilt/${PlatformOS}-x86_64
C:\Boost-for-Android-master\boost_1_68_0\tools/build/src\user-config.jam:149
: Unescaped special character in argument <compileflags>$(AndroidNDKRoot)/toolchains/arm-linux-andro
ideabi-4.9/prebuilt/${PlatformOS}-x86_64
C:\Boost-for-Android-master\boost_1_68_0\tools/build/src\user-config.jam:191
: Unescaped special character in argument <compileflags>$(AndroidNDKRoot)/toolchains/mips64el-linux-
android-4.9/prebuilt/${PlatformOS}-x86_64
C:\Boost-for-Android-master\boost_1_68_0\tools/build/src\user-config.jam:229
: Unescaped special character in argument <compileflags>$(AndroidNDKRoot)/toolchains/mips64el-linux-
android-4.9/prebuilt/${PlatformOS}-x86_64
C:\Boost-for-Android-master\boost_1_68_0\tools/build/src\user-config.jam:267
: Unescaped special character in argument <compileflags>$(AndroidNDKRoot)/toolchains/x86-4.9/prebuil
t/${PlatformOS}-x86_64
C:\Boost-for-Android-master\boost_1_68_0\tools/build/src\user-config.jam:305
: Unescaped special character in argument <compileflags>$(AndroidNDKRoot)/toolchains/x86_64-4.9/preb
uilt/${PlatformOS}-x86_64
Performing configuration checks
- default address-model : none
- default architecture : none
- symlinks supported : yes
- lockfree boost::atomic_flag : no
Component configuration:
- atomic : not building
- chrono : building
- container : not building
- context : not building
- contract : not building
- coroutine : not building
- date_time : building
- exception : not building
- fiber : not building
- filesystem : building
- graph : not building
- graph_parallel : not building
- iostreams : not building
- locale : not building
- log : not building
- math : not building
- mpi : not building
- program_options : not building
- python : not building
- random : not building
- regex : not building
- serialization : not building
- signals : not building
- stacktrace : not building
- system : building
- test : not building
- thread : building
- timer : not building
- type_erasure : not building
- wave : not building
...patience...
...found 29641 targets...
...updating 14797 targets...
common.copy ..\build\out\armeabi-v7a\include\boost-1_68\boost\align.hpp
C:\Boost-for-Android-master\boost_1_68_0\boost\align.hpp
1 file(s) copied.
common.copy ..\build\out\armeabi-v7a\include\boost-1_68\boost\chrono\stopwatches.hpp
C:\Boost-for-Android-master\boost_1_68_0\libs\chrono\stopwatches\include\boo
st\chrono\stopwatches.hpp
1 file(s) copied.
common.copy ..\build\out\armeabi-v7a\include\boost-1_68\boost\aligned_storage.hpp
C:\Boost-for-Android-master\boost_1_68_0\boost\aligned_storage.hpp
1 file(s) copied.
common.copy ..\build\out\armeabi-v7a\include\boost-1_68\boost\chrono\stopwatches\dont_start.hpp
C:\Boost-for-Android-master\boost_1_68_0\libs\chrono\stopwatches\include\boo
st\chrono\stopwatches\dont_start.hpp
1 file(s) copied.
common.copy ..\build\out\armeabi-v7a\include\boost-1_68\boost\chrono\stopwatches\laps_stopwatch.hpp
C:\Boost-for-Android-master\boost_1_68_0\libs\chrono\stopwatches\include\boo
st\chrono\stopwatches\laps_stopwatch.hpp
1 file(s) copied.
common.copy ..\build\out\armeabi-v7a\include\boost-1_68\boost\chrono\stopwatches\simple_stopwatch.hp
p
C:\Boost-for-Android-master\boost_1_68_0\libs\chrono\stopwatches\include\boo
st\chrono\stopwatches\simple_stopwatch.hpp
1 file(s) copied.
common.copy ..\build\out\armeabi-v7a\include\boost-1_68\boost\chrono\stopwatches\stopwatch.hpp
C:\Boost-for-Android-master\boost_1_68_0\libs\chrono\stopwatches\include\boo
st\chrono\stopwatches\stopwatch.hpp
1 file(s) copied.
clang-linux.compile.c++.without-pth ..\build\build\armeabi-v7a\boost\bin.v2\libs\system\build\clang-
linux-armeabiv7a\release\link-static\target-os-android\threading-multi\error_code.o
c:\mingw\mingw32\bin\as.exe: unrecognized option `-mfpu=neon'
clang++.exe: error: assembler command failed with exit code 1 (use -v to see invocation)
"c:/android-ndk-r18/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++" -
c -x c++ -O3 -Wall -Wno-inline -fexceptions -frtti -ffunction-sections -funwind-tables -fstack-protector-strong -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -Ic:/android-ndk-r18/sources/cxx-stl/llvm-libc++/include -Ic:/android-ndk-r18/sources/cxx-stl/llvm-libc++abi/include -Ic:/android-ndk-r18/sources/android/support/include -DANDROID -Wa,--noexecstack -Wformat -Werror=format-se
curity -DNDEBUG -O2 -g -gcc-toolchain c:/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/${PlatformOS}-x86_64 -target armv7-none-linux-androideabi15 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -fpic -fno-integrated-as --sysroot c:/android-ndk-r18/sysroot -isystem c:/android-ndk-r18/sysroot/usr/inclu
de/arm-linux-androideabi -D__ANDROID_API__=15 -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -I"." -o "..\build\build\armeabi-v7a\boost\bin.v2\libs\system\build\clang-linux-armeabiv7a\rel
ease\link-static\target-os-android\threading-multi\error_code.o" "libs\system\src\error_code.cpp"
...failed clang-linux.compile.c++.without-pth ..\build\build\armeabi-v7a\boost\bin.v2\libs\system\bu
ild\clang-linux-armeabiv7a\release\link-static\target-os-android\threading-multi\error_code.o...
common.copy ..\build\out\armeabi-v7a\include\boost-1_68\boost\chrono\stopwatches\strict_stopwatch.hpp
I'm unable to build boost armeabi-v7a on windows NDK VERSION = android-ndk-r18 BOOST VERSION = boost_1_68_0