gzip error: unspecified iostream_category error
Hi, great work guys! I'm actually using one of your forks (https://github.com/dec1/Boost-for-Android), and getting this error:
gzip error: unspecified iostream_category error
I'm guessing this is because Boost is not being compiled with zlib.
I know that zlib is natively supported in Android NDK, so I tried to add it to the ./b2 command (this is the command my fork uses, instead of ./bjam like you use) like so:
run ./b2 -d+2 -q -j$NUM_JOBS \
variant=release \
...
...
-sZLIB_INCLUDE=$ANDROID_NDK_ROOT/sysroot/usr/include \
-sZLIB_LIBPATH=$ANDROID_NDK_ROOT/sysroot/usr/lib/$TCPREFIX \
install \
It does not work, and I'm even getting zlib: no in the build output.
Have you had any experience with compiling Boost with zlib for android? If so, can you guide as to how to accomplish that?
Thanks in advance.
I was dealing with support for zlib in equalitie/Boost-for-Android fork of this project, in this 67ed5c6e86 commit in particular. Unfortunately I had been lazy to push it to the upstream. You could try to cherry pick that commit. If it works for you, it would be awesome if you could create a PR.
zlib is detected properly with NDK r19, libboost_iostreams library links to zlib. NDK r19 has built-in standalone toolchain, which makes all things much simpler.
On Tue, Feb 19, 2019 at 8:59 PM Peter Jankuliak [email protected] wrote:
I was dealing with support for zlib in equalitie/Boost-for-Android fork of this project https://github.com/equalitie/Boost-for-Android, in this the 67ed5c6e86 commit https://github.com/equalitie/Boost-for-Android/commit/67ed5c6e8669073fd5cb939e5914662057514d00 in particular. Unfortunately I had been lazy to push it to the upstream. You could try to cherry pick that commit. If it works for you, it would be awesome if you could create a PR.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/moritz-wundke/Boost-for-Android/issues/162#issuecomment-465265315, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJewPF-kxK4zj3ruuIlSrQe0jNxZsv6ks5vPEmJgaJpZM4bCmKZ .
Thanks, working with NDK r19 :+1: