atopavirgil

Results 15 comments of atopavirgil

Yes still not solved the problem. The library builds and can be used in Linux and Windows. We are trying to port the project using it to Android. I'm using...

This is the port file used in VCPKG to build the library: vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO libtom/libtommath REF v1.2.0 SHA512 500bce4467d6cdb0b014e6c66d3b994a8d63b51475db6c3cd77c15c8368fbab4e3b5c458fcd5b35838b74c457a33c15b42d2356964f5ef2a0bd31fd544735c9a HEAD_REF develop ) if(VCPKG_TARGET_IS_WINDOWS) vcpkg_check_linkage(ONLY_STATIC_LIBRARY) if(VCPKG_CRT_LINKAGE STREQUAL "dynamic") set(CRTFLAG...

Any suggestion what needs to be changed in this "port" file to fix the problem ? As I mentioned, the port file and the library work for an x86 standard...

I think this is the problem. Looking at objdump, for libtommath and the other libraries build in the same folder, **it looks like libtommath is not cross-compiled but build for...

stdout-arm64-android.log [stdout-arm64-android.log](https://github.com/libtom/libtommath/files/8080345/stdout-arm64-android.log)

build-out.log [build-out.log](https://github.com/libtom/libtommath/files/8080338/build-out.log)

I will try later with the "develop" branch, if you think that fixes the problem. I tried ( changed the port file, remove, install libtommath again in vcpkg). I hope...

I did the dump for the static lib, and also for another static build one Goggle "benchmark". The "benchmark" lib is also build as static only even if the triplet...

> Can you please try out if using the [add-cmake-support](https://github.com/libtom/libtommath/tree/add-cmake-support) branch solves your issue? > > I guess this also simplifies your build recipe a lot. Thank I will try....

> You are correct , the path to NDK is in the environment variable. In fact there is a good description here for building Android via VCPKG , and it...