cross build for win arm64
Has anyone tried to build dav1d v1.2.1 or v1.4.0 for Windows arm64? since v1.2.1 the method of using 'gas-preprocessor.pl' does not work (used to work for v1.0.0). so I tried to cross build dav1d for win arm64 with llvm in visual studio 2019. Though the building process passed, the tools binary dav1d.exe does not work on the win arm64 machine. the prompt error is as follows:
Is the cross-build file wrong, or is the meson setup script wrong? please help. thanks.
build script:
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat" x86_arm64
meson setup --cross-file .\ci\windows\win-arm64.meson --buildtype release -Dc_args=/guard:cf -Dc_link_args=/guard:cf --default-library static .\win_arm64_release
meson compile -C .\win_arm64_release
cross-build file "win-arm64.meson":
[binaries]
c = ['clang-cl', '--target=aarch64-win32-msvc']
ar = 'lib.exe'
[properties]
skip_sanity_check = true
[host_machine]
system = 'windows'
cpu_family = 'aarch64'
cpu = 'arm64'
endian = 'little'
I've also tried with "--default-library shared", same error.