Errors building on Windows
I am coming back to building and debugging Wireshark after a while and cannot get it to build any more. I had no problem previously but the build method seems to have changed again. I followed the instructions here but can't get CMake to set up properly:
cmake -G "Visual Studio 15 2017 Win64" ..\wireshark -- The C compiler identification is MSVC 19.16.27027.1 -- The CXX compiler identification is MSVC 19.16.27027.1 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/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.10.1 -- Found POWERSHELL: C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -- Building for win64 using Visual Studio 15 2017 Win64 Working in C:\Users\robcra01\Documents\WiresharkUM\Clean\wireshark-win64-libs Tag 2019-07-17 found. Skipping. -- CMake build type: RelWithDebInfo -- V: 3.1.1-Arm, MaV: 3, MiV: 1, PL: 1, EV: -Arm. -- Performing Test C_Qspectre_VALID -- Performing Test C_Qspectre_VALID - Success -- Performing Test CXX_Qspectre_VALID -- Performing Test CXX_Qspectre_VALID - Success -- Linker flags: /LARGEADDRESSAWARE /MANIFEST:NO /INCREMENTAL:NO /RELEASE /guard:cf -- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.21.0.windows.1") -- Found GLIB2: C:/Users/robcra01/Documents/WiresharkUM/Clean/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: C:/Users/robcra01/Documents/WiresharkUM/Clean/wireshark-win64-libs/vcpkg-export-20190318-win64ws/installed/x64-windows/lib/gmodule-2.0.lib -- Found GTHREAD2: C:/Users/robcra01/Documents/WiresharkUM/Clean/wireshark-win64-libs/vcpkg-export-20190318-win64ws/installed/x64-windows/lib/gthread-2.0.lib -- Found GCRYPT: C:/Users/robcra01/Documents/WiresharkUM/Clean/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 LEX: C:/Program Files/win_flex_bison/win_flex.exe -- Found YACC: C:/Program Files/win_flex_bison/win_bison.exe -- Found Perl: C:/cygwin64/bin/perl.exe (found version "5.26.3") -- Found PythonInterp: C:/Users/robcra01/AppData/Local/Programs/Python/Python37/python.exe (found suitable version "3.7.2", minimum required is "3.4") -- Found LIBSSH: C:/Users/robcra01/Documents/WiresharkUM/Clean/wireshark-win64-libs/libssh-0.7.3-win64ws/lib/ssh.lib (found suitable version "0.7.3", minimum required is "0.6") -- Found PCAP: C:/Users/robcra01/Documents/WiresharkUM/Clean/wireshark-win64-libs/WpdPack/Lib/x64/wpcap.lib -- Looking for pcap_get_selectable_fd -- Looking for pcap_get_selectable_fd - not found -- Looking for pcap_set_tstamp_precision -- Looking for pcap_set_tstamp_precision - not found -- Looking for ...