I am trying to build qtwebengine 5.15.2 with Yocto for am437x-evm TI Hardware. It fails with the below error:
| In file included from /usr/include/c++/7/math.h:36:0,
| from ../../../../git/src/3rdparty/chromium/third_party/icu/source/i18n/csrmbcs.cpp:18:
| /usr/include/c++/7/cmath:41:10: fatal error: bits/c++config.h: No such file or directory
| #include <bits/c++config.h>
| ^~~~~~~~~~~~~~~~~~
| compilation terminated.
| [10375/15405] CC host/obj/third_party/zlib/bundled_zlib/trees.o
| [10376/15405] CXX v8_snapshot/obj/third_party/icu/bundled_icui18n/csrsbcs.o
| [10377/15405] CXX host/obj/third_party/protobuf/protoc_lib/python_generator.o
| ninja: build stopped: subcommand failed.
I don't understand why it's trying to use the host header files while cross compiling
Anyone has any inputs on it