Running CMake on Windows for Wireshark fails near the end
I have followed the guide here https://www.wireshark.org/docs/wsdg_h... and CMake almost succeeds. Below is the output. What am I missing to make this work?
C:\Dev\builds\wireshark>cmake -G "Visual Studio 16 2019" -A x64 ..\..\wireshark
-- The C compiler identification is MSVC 19.27.29111.0
-- The CXX compiler identification is MSVC 19.27.29111.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Generating build using CMake 3.17.20032601-MSVC_2
-- LTO/IPO is enabled
-- Found PowerShell: C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe
-- Building for win64 using Visual Studio 16 2019
Working in C:\Dev\wireshark\wireshark-win64-libs
Tag 2020-08-09 found. Skipping.
-- CMake build type: RelWithDebInfo
-- V: 3.3.0, MaV: 3, MiV: 3, PL: 0, EV: .
-- Performing Test C_Qspectre_VALID
-- Performing Test C_Qspectre_VALID - Failed
-- Performing Test CXX_Qspectre_VALID
-- Performing Test CXX_Qspectre_VALID - Failed
-- Linker flags: /LARGEADDRESSAWARE /MANIFEST:NO /INCREMENTAL:NO /RELEASE /guard:cf
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.28.0.windows.1")
-- Found GLIB2: debug;C:/Dev/wireshark/wireshark-win64-libs/vcpkg-export-20190318-win64ws/installed/x64-windows/debug/lib/glib-2.0.lib;optimized;C:/Dev/wireshark/wireshark-win64-libs/vcpkg-export-20190318-win64ws/installed/x64-windows/lib/glib-2.0.lib (found suitable version "2.52.3", minimum required is "2.32.0")
-- Found GMODULE2: debug;C:/Dev/wireshark/wireshark-win64-libs/vcpkg-export-20190318-win64ws/installed/x64-windows/debug/lib/gmodule-2.0.lib;optimized;C:/Dev/wireshark/wireshark-win64-libs/vcpkg-export-20190318-win64ws/installed/x64-windows/lib/gmodule-2.0.lib
-- Found GTHREAD2: debug;C:/Dev/wireshark/wireshark-win64-libs/vcpkg-export-20190318-win64ws/installed/x64-windows/debug/lib/gthread-2.0.lib;optimized;C:/Dev/wireshark/wireshark-win64-libs/vcpkg-export-20190318-win64ws/installed/x64-windows/lib/gthread-2.0.lib
-- Found GCRYPT: C:/Dev/wireshark/wireshark-win64-libs/libgcrypt-1.8.3-win64ws/bin/libgcrypt-20.lib (found suitable version "1.8.3", minimum required is "1.4.2")
-- Found CARES: C:/Dev/wireshark/wireshark-win64-libs/c-ares-1.15.0-win64ws/installed/x64-windows/lib/cares.lib (found suitable version "1.15.0", minimum required is "1.5.0")
-- Found LEX: C:/ProgramData/chocolatey/bin/win_flex.exe
-- Found YACC: C:/ProgramData/chocolatey/bin/win_bison.exe
-- Found Perl: C:/Strawberry/perl/bin/perl.exe (found version "5.32.0")
-- Found Python3: C:/Python38/python.exe (found suitable version "3.8.6", minimum required is "3.4") found components: Interpreter
-- Found LIBSSH: C:/Dev/wireshark/wireshark-win64-libs/libssh-0.7.3-win64ws/lib/ssh.lib ...