Monday 15 April 2013

android - Building AOSP master branch fails in Mac OSX -



android - Building AOSP master branch fails in Mac OSX -

i trying build master branch of aosp, fails next error:

host c++: validatekeymaps <= frameworks/base/tools/validatekeymaps/main.cpp in file included frameworks/base/tools/validatekeymaps/main.cpp:17: in file included frameworks/native/include/input/keycharactermap.h:26: in file included frameworks/native/include/input/input.h:25: system/core/include/utils/vector.h:20:10: fatal error: 'new' file not found #include <new> ^ 1 error generated. make: *** [out/host/darwin-x86/obj/executables/validatekeymaps_intermediates/main.o] error 1

does has thought on this? "new" file should present? how solve this? help appreciated.

i believe clang error. clang not need .h header extensions. wouldn't bet life on suggest updating host clang newest or newer version. host problem. i've seen before, don't remember all, plus i'm on ubuntu , don't build aosp. see recent alter added -werror system/core seek doing host clang update... if have file, update may prepare host include paths.

one more thought. try: echo $(host_toolchain_root) if don't location may have clang new... reason/reference:

https://android.googlesource.com/platform/build/+/master/core/combo/host_darwin-x86_64.mk:

# gcc location clang; updated when clang updated # host_toolchain_root darwin-specific define host_toolchain_for_clang := $(host_toolchain_root)

android make android-source

No comments:

Post a Comment