![]() ![]() ![]() I'm living with r13b and clang/stdc++ shared/c++11. I want to be able to run my native code on my host platform for unit tests etc. My goals are to write cross platform C++ code and utilize bunches of FOSS stuff to stand on the shoulders of giants/not reinvent the wheel. This appears to be wrong (masking some part of the libc++ headers) because when I run the compile by hand without the -isystem option, it works. isystem /opt/workspace/build/Linux/armeabi/toolchain/sysroot/usr/include ![]() opt/workspace/aws-sdk-cpp/toolchains/android/armeabi-standalone-clang-android-21-libc++_shared-13002/lib/gcc/arm-linux-androideabi/4.9.x/././././include/c++/4.9.x/cmath:314:9: error: no member named 'fpclassify' in the global namespaceÄigging deeper I find that the Ubuntu standalone tool chain has added opt/workspace/aws-sdk-cpp/toolchains/android/armeabi-standalone-clang-android-21-libc++_shared-13002/lib/gcc/arm-linux-androideabi/4.9.x/././././include/c++/4.9.x/cmath:313:9: error: no member named 'signbit' in the global namespace In file included from /opt/workspace/aws-sdk-cpp/toolchains/android/armeabi-standalone-clang-android-21-libc++_shared-13002/lib/gcc/arm-linux-androideabi/4.9.x/././././include/c++/4.9.x/complex:246: In file included from /opt/workspace/install/armeabi/boost/include/boost/type_traits/is_complex.hpp:11: In file included from /opt/workspace/install/armeabi/boost/include/boost/type_traits.hpp:93: In file included from /opt/workspace/avro/api/Boost.hh:60: In file included from /opt/workspace/avro/api/ResolverSchema.hh:27: In file included from /opt/workspace/avro/impl/:20: On Ubuntu, boost builds it's own libatomic (likely not finding the NDK versions) and avro fails with $ANDROID_NDK/build/tools/make-standalone-toolchain.sh -verbose -arch=arm -platform=android-21 -stl=libc++ -install-dir=$NDK_STANDALONE ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |