-
Notifications
You must be signed in to change notification settings - Fork 215
Description
Not sure why, maybe some building flags. The library is build using VCPKG and works under Windows and Linux x64. However build using an android triplet when linked in an execurable or another shared library getting this for a static build:
/home/adrian/Dev/android/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21/liblog.so -llog -landroid -static-libstdc++ -latomic -lm && :
ld: error: /home/cc/Dev/vcpkg/installed/arm64-android/lib/libtommath.a(bn_mp_abs.o) is incompatible with aarch64linux
ld: error: /home/cc/Dev/vcpkg/installed/arm64-android/lib/libtommath.a(bn_mp_add.o) is incompatible with aarch64linux
ld: error: /home/cc/Dev/vcpkg/installed/arm64-android/lib/libtommath.a(bn_mp_and.o) is incompatible with aarch64linux
ld: error: /home/cc/Dev/vcpkg/installed/arm64-android/lib/libtommath.a(bn_mp_clear.o) is incompatible with aarch64linux
...
If a dynamic build is used, same aerror but reffering to the full lib.
Any build flags missing ? Does the library work under arm64 ?