godotengine / godotengine/godot-cpp

libary libplayer.so for android not runing

Open
#352 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.7k
Forks
809
Avg merge
1d 3h
Merged PRs (30d)
8

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.