我想安装构建Android和模拟器上运行它的环境建设AOSP时。我最近进入了AOSP,目前正在阅读一些关于它的书。与它周围想惹我我得到了以下错误:错误使用-make
external/libcxx/include/cmath:1345:9: error: no member named 'llrint' in the global namespace; did you mean 'lrint'?
external/libcxx/include/cmath:1348:91: error: use of undeclared identifier 'llrintf'
external/libcxx/include/cmath:1349:91: error: use of undeclared identifier 'llrintl'
external/libcxx/include/cmath:1358:9: error: no member named 'llround' in the global namespace; did you mean 'lround'?
12 errors generated.
make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/hash.o] Error 1
make: *** Waiting for unfinished jobs....
12 errors generated.
make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/debug.o] Error 1
12 errors generated.
make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/random.o] Error 1
12 errors generated.
make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/algorithm.o] Error 1
在这些错误的总共12个,与文字之间,但我没有复制所有这些,因为他们是完全一样的。 (全部为:error没有名为“{double L} [SOMETHING]”的成员);你的意思是:{single L} [SOMETHING])
这是运行结果:1:source build/envsetup。 SH 2:午餐3:须藤使-j4
我使用埃尔卡皮坦跟从the official instructions。我遇到的唯一问题是XCode没有在其中创建一个带有正确SDK的/ developer/SDKs文件夹,所以我从Github手动下载SDK并将其放入SDK SDK文件夹(我制作的)中。这可能是问题吗?
,我试图建立的代码是未经修改的Android 6.0.1_r1。我试着再次运行repo-init和repo sync(以修复代码),但没有任何效果。
我意识到这是一个相当夸张地问,但我不知道如何解决这个问题。提前致谢。