@@ -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
@@ -93,12 +108,14 @@ environment:
93108 - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2019
94109 GENERATOR : " Visual Studio 16 2019"
95110 PLATFORM : ARM64
111+ CMAKE_SYSTEM_VERSION : version=10.0.22621.0
96112 SDK : npcap-sdk
97113 REMOTE : -DENABLE_REMOTE=NO
98114 # VS 2019, Npcap, 64-bit ARM, with remote
99115 - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2019
100116 GENERATOR : " Visual Studio 16 2019"
101117 PLATFORM : ARM64
118+ CMAKE_SYSTEM_VERSION : version=10.0.22621.0
102119 SDK : npcap-sdk
103120 OPENSSL_ROOT_DIR : -DOPENSSL_ROOT_DIR=C:\OpenSSL-v33-Win64\bin
104121 # VS 2022, WinPcap, 32-bit and 64-bit x86, without remote
0 commit comments