conan: C++ headers are not found when cross-building for Android
Hi,
I must have missed something obvious, but I’ve been unable to build a sample C++ code today.
I’m using this profile:
[build_requires]
android-toolchain/r16@theo/stable
[settings]
os=Android
arch=armv8
os.api_level=27
compiler=clang
compiler.version=5.0
compiler.libcxx=libc++
build_type=Release
[options]
[scopes]
[env]
The compiler complains about <iostream>
being missing…
Shouldn’t the android-toolchain
include directories be available to other recipes?
The self.cpp_info.cflags
are present though, I do not understand why the include dirs are not seen on the command line.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (15 by maintainers)
Thanks for the info, very useful! Reproduced, indeed a bug.