Closed LGro closed 2 years ago
Hello,
We have not tested cross-compiling APSI. I believe it should work, however, when you specify the appropriate cache variables. You would need to specify the variables that appear in the error messages when configuring the source code, setting them to a specific value that indicates success. For example:
-DAPSI_FOURQ_ARM64_EXITCODE=0
-DAPSI_FOURQ_ARM64_EXITCODE__TRYRUN_OUTPUT=''
The other error about "arm64" not being an existing directory has been fixed in the latest source code but has not been updated in the vcpkg port yet. If you are modifying the port file to add the previously mentioned settings, you can update it to get the latest version of the source code. You can use commit 8a0a5cce4f7a1cb2558f33d79ac26c65fb8ece84 for the latest version.
Hope this helps.
This should be fixed in the latest release, 0.8.2.
To use APSI in an Android application, I'm trying to build it with
vcpkg install apsi:arm64-android
on an Arch Linux x64 machine but cmake fails with the output as given below.Is setting
APSI_FOURQ_ARM64_EXITCODE
andAPSI_FOURQ_ARM64_EXITCODE__TRYRUN_OUTPUT
something I should do? From/vcpkg/buildtrees/apsi/arm64-android-dbg/TryRunResults.cmake
:/vcpkg/buildtrees/apsi/config-arm64-android-dbg-err.log
/vcpkg/buildtrees/apsi/config-arm64-android-dbg-out.log