3

Android用のブーストを構築するためのチュートリアルを検索しました。私はこれを見つけました。それはチュートリアルのようです。私が見つけたすべてのビルドスクリプト(つまり、これ)がその上に構築されているためです。

私にはうまくいきません。しかし、私はそれを機能させようとしますが、機能しません。もう憂鬱です。

まず、次のようなエラーが表示されます。

    Der Befehl ".." ist entweder falsch geschrieben oder konnte nicht gefunden werden.

コマンド「..」が見つかりませんでした。

それがどこから来ているのか、私にはわかりません。4回連続で登場。

このエラーに加えて、次のエラーが発生しました。

    cc1plus.exe: error: unrecognized command line option "-mthreads"

ここでその解決策を見つけました: cygwinでandroidのブーストをコンパイル中に認識されないコマンドラインオプション

今でも「..」エラーがあります。

    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

私には手がかりがありませんが、それが何を意味するのか。そして、それがすべてではありません。

ここで出力全体

私は何を間違っていますか?

4

1 に答える 1

0

ユーザー設定に記載されているインクルードパスとライブラリパスの詳細がNDKPATHと一致しません

plzは次のインクルードパスを確認し、NDKパスに従って更新します

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

-I $(ANDROID_NDK)/ sources / cxx-stl / gnu-libstdc ++ / 4.4.3 / libs / armeabi / include

このパスを更新すると、エラーは発生しません。

于 2013-01-02T13:34:33.333 に答える