我想安裝構建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(以修復代碼),但沒有任何效果。
我意識到這是一個相當誇張地問,但我不知道如何解決這個問題。提前致謝。