0
最近Cocos2d-xをv3.12に更新し、「Hello World!」を作成しました。プロジェクトが、CLIコマンドが失敗した怒鳴る示すようにログインし、:Cocos2d-x v3.12コンパイルが失敗する
make: Entering directory `/home/..../proj.android'
[armeabi] StaticLibrary : libcocos2d.a
[armeabi] Compile++ thumb: cocostudio_static <= WidgetReader.cpp
/home/<user>/AndroidTools/crystax-ndk-10.3.1/toolchains/llvm-3.7/prebuilt/linux-x86_64/bin/clang++: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
make: *** [obj/local/armeabi/objs/cocostudio_static/WidgetReader/WidgetReader.o] Error 127
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/...../proj.android'
Error running command, return code: 2.
をパスが言及したクラン++ファイル/ツールチェーンを含んでいます、私は他の依存関係をインストールする必要がありますか? Fedoraの24を実行している
編集:ココスでコンパイルしようと
は、私は別のエラー
make: Entering directory '/home/.....<projectDir>...../proj.android'
Android NDK: WARNING: APP_PLATFORM android-23 is larger than android:minSdkVersion 9 in ./AndroidManifest.xml
[armeabi] Compile++ thumb: MyGame_shared <= main.cpp
[armeabi] Compile++ thumb: MyGame_shared <= AppDelegate.cpp
[armeabi] Compile++ thumb: MyGame_shared <= HelloWorldScene.cpp
/home/<user>/AndroidTools/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
/home/<user>/AndroidTools/android-sdk-linux/ndk-bundle/build/core/build-binary.mk:462: recipe for target 'obj/local/armeabi/objs-debug/MyGame_shared/__/__/Classes/AppDelegate.o' failed
make: *** [obj/local/armeabi/objs-debug/MyGame_shared/__/__/Classes/AppDelegate.o] Error 127
make: *** Waiting for unfinished jobs....
/home/<user>/AndroidTools/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
/home/<user>/AndroidTools/android-sdk-linux/ndk-bundle/build/core/build-binary.mk:462: recipe for target 'obj/local/armeabi/objs-debug/MyGame_shared/hellocpp/main.o' failed
make: *** [obj/local/armeabi/objs-debug/MyGame_shared/hellocpp/main.o] Error 127
/home/<user>/AndroidTools/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
/home/<user>/AndroidTools/android-sdk-linux/ndk-bundle/build/core/build-binary.mk:462: recipe for target 'obj/local/armeabi/objs-debug/MyGame_shared/__/__/Classes/HelloWorldScene.o' failed
make: *** [obj/local/armeabi/objs-debug/MyGame_shared/__/__/Classes/HelloWorldScene.o] Error 127
make: Leaving directory '/home/.....<projectDir>...../proj.android'
Error running command, return code: 2.
を取得し、私は次のように問題
の理由かもしれないと思うのAndroid NDKのV11を推奨error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
しかし、私は必要なライブラリとファイルをすべてインストールしましたが、特定のlibをチェックする必要がありますか、それとも他の方法で解決できるのでしょうか?