Open IuryBorges1993 opened 4 years ago
I created one libary libplayer.so, notruning in android, only in linux.
Comands used:
generateing player.os:
./ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android29-clang -fPIC -o src/player.os -c src/player.cpp -g -O3 -std=c++14 -Igodot-cpp/include -Igodot-cpp/include/core -Igodot-cpp/include/gen -Igodot-cpp/godot_headers
generating gdlibrary.os:
./ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android29-clang -fPIC -o src/gdlibrary.os -c src/gdlibrary.cpp -g -O3 -std=c++14 -Igodot-cpp/include -Igodot-cpp/include/core -Igodot-cpp/include/gen -Igodot-cpp/godot_headers
only libplayer.so
./ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android29-clang -o bin/android/libplayer.so -shared src/player.os src/gdlibrary.os -Lgodot-cpp/bin -lgodot-cpp.android.debug.arm64v8
Project in github: https://github.com/IuryBorges1993/port-demo-kinematic_character-para-android
only android
detail: my phone is architecture arm64
Did you debug remotely using ADB? Does it crash? Is there an error?
What version of NDK?
I created one libary libplayer.so, notruning in android, only in linux.
Comands used:
generateing player.os:
./ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android29-clang -fPIC -o src/player.os -c src/player.cpp -g -O3 -std=c++14 -Igodot-cpp/include -Igodot-cpp/include/core -Igodot-cpp/include/gen -Igodot-cpp/godot_headers
generating gdlibrary.os:
./ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android29-clang -fPIC -o src/gdlibrary.os -c src/gdlibrary.cpp -g -O3 -std=c++14 -Igodot-cpp/include -Igodot-cpp/include/core -Igodot-cpp/include/gen -Igodot-cpp/godot_headers
only libplayer.so
./ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android29-clang -o bin/android/libplayer.so -shared src/player.os src/gdlibrary.os -Lgodot-cpp/bin -lgodot-cpp.android.debug.arm64v8
Project in github: https://github.com/IuryBorges1993/port-demo-kinematic_character-para-android
only android
detail: my phone is architecture arm64