Ask Your Question
0

build of wireshark using visual studio 16 2019, on windows 8.1 failing.

asked 2019-08-13 18:49:39 +0000

amit kumar gravatar image

updated 2019-08-13 22:26:54 +0000

grahamb gravatar image

Log:

C:\Development\wsbuild32>cmake -DENABLE_CHM_GUIDES=on -G "Visual Studio 16 2019" ..\wireshark
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 6.3.9600.
-- The C compiler identification is MSVC 19.22.27905.0
-- The CXX compiler identification is MSVC 19.22.27905.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.22.27905/bin/Hostx86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.22.27905/bin/Hostx86/x86/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/Community/VC/Tools/MSVC/14.22.27905/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.22.27905/bin/Hostx86/x86/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.14.19060802-MSVC_2
-- Found POWERSHELL: C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe
-- Building for win32 using Visual Studio 16 2019
Working in C:\Development\wireshark-win32-libs
Tag 2019-07-17 not found. Refreshing.
Found 7-zip at C:\Program Files\7-Zip\7z.exe
npcap-0.996.exe already there; not retrieving.
USBPcapSetup-1.5.2.0.exe already there; not retrieving.
AirPcap_Devpack_4_1_0_1622.zip already there; not retrieving.
bcg729-1.0.4-win32ws.zip already there; not retrieving.
brotli-1.0.2-4-win32ws.zip already there; not retrieving.
c-ares-1.15.0-win32ws.zip already there; not retrieving.
gnutls-3.6.3-1-win32ws.zip already there; not retrieving.
krb5-1.17-1-win32ws.zip already there; not retrieving.
libgcrypt-1.8.3-win32ws.zip already there; not retrieving.
libsmi-svn-40773-win32ws.zip already there; not retrieving.
libssh-0.7.3-1-win32ws.zip already there; not retrieving.
lua-5.2.4-unicode-win32-vc14.zip already there; not retrieving.
lz4-1.8.3-win32ws.zip already there; not retrieving.

7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18

Processing archive: C:\Development\wireshark-win32-libs\lz4-1.8.3-win32ws.zip

Extracting  lz4-1.8.3-win32ws
Extracting  lz4-1.8.3-win32ws\.vcpkg-root     Data Error
Extracting  lz4-1.8.3-win32ws\installed
Extracting  lz4-1.8.3-win32ws\installed\vcpkg
Extracting  lz4-1.8.3-win32ws\installed\vcpkg\info
Extracting  lz4-1.8.3-win32ws\installed\vcpkg\info\lz4_1.8.3_x86-windows.list
Extracting  lz4-1.8.3-win32ws\installed\x86-windows
Extracting  lz4-1.8.3-win32ws\installed\x86-windows\bin
Extracting  lz4-1.8.3-win32ws\installed\x86-windows\bin\lz4.dll
Extracting  lz4-1.8.3-win32ws\installed\x86-windows\bin\lz4.pdb
Extracting  lz4-1.8.3-win32ws\installed\x86-windows\debug
Extracting  lz4-1.8.3-win32ws\installed\x86-windows\debug\bin
Extracting  lz4-1.8.3-win32ws\installed\x86-windows\debug\bin\lz4d.dll
Extracting  lz4-1.8.3-win32ws\installed\x86-windows\debug\bin\lz4d.pdb
Extracting  lz4-1.8.3-win32ws\installed\x86-windows\debug\lib
Extracting  lz4-1.8.3-win32ws\installed\x86-windows\debug\lib\lz4d.lib
Extracting  lz4-1.8.3-win32ws\installed\x86-windows\include
Extracting  lz4-1.8.3-win32ws\installed\x86-windows\include\lz4.h
Extracting  lz4-1.8.3-win32ws\installed\x86-windows\include\lz4frame.h
Extracting ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-08-13 22:24:57 +0000

grahamb gravatar image

The unzipping of the lz4-1.8.3-win32ws package is failing, possibly due to a corrupt zip file.

Try deleting the lz4-1.8.3-win32ws.zip from C:\Development\wireshark-win32-libs and re-running the CMake generation step.

Other observations:

  1. You're building a 32 bit version. Unless you really need a 32 bit version for a 32 bit OS target, you're much better off building a 64 bit version as it can handle much larger files.
  2. You're building with VS 2019. While some folks have reported success with this compiler, the current releases (and development version) are built with VS 2017.
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-08-13 18:49:39 +0000

Seen: 527 times

Last updated: Aug 13 '19