2012-11-08 41 views
3

我搜索了適合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 

如果我沒有線索,那可能意味着什麼。而那不是一切。

Here the whole output

我該怎麼辦錯了嗎?

+0

你不是用android ndk構建的 – RDX

回答

0

的包括和庫路徑細節用戶配置不列入匹配與NDK PATH

PLZ檢查以下內容中提到包括路徑,並更新它作爲每NDK路徑

-I $(ANDROID_NDK)/源/cxx-stl/gnu-libstdc++/4.4.3/include

-I $(ANDROID_NDK)/來源/ CXX-STL/GNU-的libstdC++/4.4.3 /庫/ armeabi /包括

一旦你更新這個路徑,你不會得到錯誤。