In file included from libs/mpi/src/cartesian_communicator.cpp:9:
In file included from /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/../sysroot/usr/include/c++/v1/algorithm:1710:
In file included from /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/../sysroot/usr/include/c++/v1/type_traits:538:
/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/../sysroot/usr/include/c++/v1/cstdint:149:5: error: <cstdint> tried including <stdint.h> but didn't find libc++'s <stdint.h> header. This usually means that your header search paths are not configured properly. The header search paths should contain the C++ Standard Library headers before any C Standard Library, and you are probably using compiler flags that make that not be the case.
# error <cstdint> tried including <stdint.h> but didn't find libc++'s <stdint.h> header. \
^
And have found that removing the -I"/usr/include" flag and executing that command directly it compiles fine.
The problem is that I have not found where that flag was introduced.
Did tried grepping for -I.*/include and /usr/include and other similar expressions but did not found any meaningful result.
I'm trying to compile Boost 1.84.0.
Hi, I'm trying to compile Boost for Android, this is the code that I'm using.
The build fails and this command popup (over many other error messages).
With this error message:
And have found that removing the
-I"/usr/include"
flag and executing that command directly it compiles fine. The problem is that I have not found where that flag was introduced. Did tried grepping for -I.*/include and /usr/include and other similar expressions but did not found any meaningful result. I'm trying to compile Boost 1.84.0.