我搜索了適合Android使用的增強版教程。我發現this one。它似乎是它的教程,導致我發現的所有構建腳本(即this one)都是基於此構建的。適用於Android的建築增強版
它不適合我。不過,我試圖讓它工作,但事實並非如此。這已經令人沮喪了。
的第一件事是,有一個錯誤,告訴我:
Der Befehl ".." ist entweder falsch geschrieben oder konnte nicht gefunden werden.
這是德國爲:找不到命令「」
我不知道哪裏是來自。它連續出現4次。
另外這個錯誤,我得到這個錯誤:
cc1plus.exe: error: unrecognized command line option "-mthreads"
我發現這裏的解決方案: unrecognized command line option while compiling boost for android on cygwin
現在我仍然有 「..」 - 錯誤和:
Building the Boost C++ Libraries.
Performing configuration checks
- 32-bit : yes
- x86 : no
- power : no
- arm : yes
error: No best alternative for libs/context/build/asm_context_sources
next alternative: required properties: <abi>aapcs <architecture>arm <binary-
format>elf <toolset>gcc
not matched
next alternative: required properties: <abi>aapcs <architecture>arm <binary-
format>elf <toolset>qcc
not matched
next alternative: required properties: <abi>aapcs <architecture>arm <binary-
format>elf
not matched
next alternative: required properties: <abi>o32 <architecture>mips1 <binary-
format>elf <toolset>gcc
not matched
next alternative: required properties: <abi>o32 <architecture>mips1 <binary-
format>elf <toolset>qcc
not matched
next alternative: required properties: <abi>o32 <architecture>mips1 <binary-
format>elf
not matched
next alternative: required properties: <abi>sysv <address-model>32 <architec
ture>power <binary-format>elf <toolset>gcc
not matched
next alternative: required properties: <abi>sysv <address-model>32 <architec
ture>power <binary-format>elf <toolset>qcc
not matched
next alternative: required properties: <abi>sysv <address-model>32 <architec
ture>power <binary-format>elf
not matched
next alternative: required properties: <abi>sysv <address-model>64 <architec
ture>power <binary-format>elf <toolset>gcc
not matched
next alternative: required properties: <abi>sysv <address-model>64 <architec
ture>power <binary-format>elf <toolset>qcc
not matched
next alternative: required properties: <abi>sysv <address-model>64 <architec
ture>power <binary-format>elf
not matched
如果我沒有線索,那可能意味着什麼。而那不是一切。
我該怎麼辦錯了嗎?
你不是用android ndk構建的 – RDX