有关此问题的一些问题。但答案没有帮助。我尝试为Android生成D8。 The v8 guide说gyp已被弃用。我的步骤在这里:
编译会引发一些错误。
In file included from ../../third_party/icu/source/common/unicode/unistr.h:33:0,
from ../../third_party/icu/source/common/unicode/locid.h:36,
from ../../third_party/icu/source/i18n/unicode/dcfmtsym.h:36,
from ../../third_party/icu/source/i18n/unicode/decimfmt.h:38,
from ../../third_party/icu/source/i18n/digitlst.h:32,
from ../../third_party/icu/source/i18n/visibledigits.cpp:18:
../../third_party/icu/source/common/unicode/std_string.h:35:18: fatal error: string: No such file or directory
#include <string>
^
compilation terminated.
[6/939] CC obj/third_party/icu/icui18n/utmscale.o
ninja: build stopped: subcommand failed.
我该如何解决?
答案 0 :(得分:0)
你忘记了
android_ndk_major_version=14