Status: Unconfirmed
Owner: ----
New issue 1788 by v-yay...@
microsoft.com: How to build Google_VP9 on windows arm64ec using MSVC
https://bugs.chromium.org/p/webm/issues/detail?id=1788Summary:
We try MSVC to run on x64, it works. But we tried to build for target arm64ec, this project failed to build. How to build Google_VP9 on windows arm64ec using MSVC? Could you please help look at this issue? Thanks in advance.
steps of x64:
1. Open a VS 2019 x64 prompt
2. set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=amd64
3. git clone
https://github.com/webmproject/libvpx F:\libvpx
3. cd F:\gitP\webmproject\libvpx\..
4. set PATH=F:\gitP\webmproject\libvpx\..\tools;%PATH%
set PATH=F:\gitP\webmproject\libvpx\..\tools\msys32\usr\bin;%PATH%
set VP9_SRC_PATH=F:\libvpx
set MSYS2_PATH_TYPE=inherit
set VP9_TARGET=x86_64-win64-vs16
set VP9_BUILD_DIR=build_x64
5. .\tools\msys32\usr\bin\sh.exe --login -i -c "/F/gitP/webmproject/libvpx/../tools/build.sh"
steps of arm64ec:
1. Open a VS 2019 x64 prompt
2. set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=arm64
3. git clone
https://github.com/webmproject/libvpx F:\libvpx
3. cd F:\gitP\webmproject\libvpx\..
4. set PATH=F:\gitP\webmproject\libvpx\..\tools;%PATH%
set PATH=F:\gitP\webmproject\libvpx\..\tools\msys32\usr\bin;%PATH%
set VP9_SRC_PATH=F:\libvpx
set MSYS2_PATH_TYPE=inherit
set VP9_TARGET=ARM64EC-win64-vs16
set VP9_BUILD_DIR=build_ARM64EC
5. .\tools\msys32\usr\bin\sh.exe --login -i -c "/F/gitP/webmproject/libvpx/../tools/build.sh"
Error message:
Starting build in F:\libvpx for target ARM64EC-win64-vs16 in build_ARM64EC
Configure build
enabling static_msvcrt
enabling unit_tests
enabling vp8_encoder
enabling vp8_decoder
enabling vp9_encoder
enabling vp9_decoder
Unrecognized toolchain 'ARM64EC-win64-vs16'
Configuration failed. This could reflect a misconfiguration of your
toolchains, improper options selected, or another problem. If you
don't see any useful error messages above, the next step is to look
at the configure error log file (config.log) to determine what
configure was trying to do when it died.
Failed to configure!
--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings