@@ -26,6 +26,21 @@ environment:
2626 #
2727 # For now, we disable the remote capture build there.
2828 #
29+ # To work around a rpoblem that has popped up in some places, wherein
30+ # building for ARM64 gives a warning that _CountOneBits64 isn't
31+ # defined, force the VS 2019 ARM64 builds to use the 10.0.22621.0
32+ # SDK. This problem was happening to us, and some others online
33+ # reported it, including
34+ #
35+ # https://zhuanlan.zhihu.com/p/1935500669210572158
36+ #
37+ # which, after translation by Google Translate, indicates that the
38+ # workaround is to use the older SDK.
39+ #
40+ # THe problem showed up after an upgrade of the AppVeyor image.
41+ # It may be that the VS 2019 VC headers and the Windows 11 SDK
42+ # (10.0.26100.0) don't work together.
43+ #
2944 matrix :
3045 # VS 2017, WinPcap, 32-bit and 64-bit x86, with remote
3146 - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2017
@@ -92,13 +107,13 @@ environment:
92107 # VS 2019, Npcap, 64-bit ARM, without remote
93108 - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2019
94109 GENERATOR : " Visual Studio 16 2019"
95- PLATFORM : ARM64
110+ PLATFORM : ARM64,version=10.0.22621.0
96111 SDK : npcap-sdk
97112 REMOTE : -DENABLE_REMOTE=NO
98113 # VS 2019, Npcap, 64-bit ARM, with remote
99114 - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2019
100115 GENERATOR : " Visual Studio 16 2019"
101- PLATFORM : ARM64
116+ PLATFORM : ARM64,version=10.0.22621.0
102117 SDK : npcap-sdk
103118 OPENSSL_ROOT_DIR : -DOPENSSL_ROOT_DIR=C:\OpenSSL-v33-Win64\bin
104119 # VS 2022, WinPcap, 32-bit and 64-bit x86, without remote
0 commit comments