Commit 894a4c7
committed
AppVeyor: Add a workaround for build with Visual Studio 2019 on ARM64
Avoid the SDK 10.0.26100.0. Use an older SDK: 10.0.22621.0.
Use when needed:
PLATFORM: ARM64,version=10.0.22621.0
The problem first appeared on 2025-11-07, after the 2025-11-06
image update (Visual Studio 2019/2022).
The errors were:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\winnt.h
(6343,27): warning C4013: '_CountOneBits64' undefined; assuming extern
returning int
When it was OK:
cmake version 4.1.0
-- The C compiler identification is MSVC 19.29.30159.0
Current:
cmake version 4.1.0
-- Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.17763.
-- The C compiler identification is MSVC 19.29.30159.0
[skip ci]1 parent 3ed0cd0 commit 894a4c7
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
0 commit comments