Succeeded by -- creating C:\Project\wireshark, cloning in to 
C:\Project\wireshark\wireshark, making C:\Project\wireshark\build, and running 
CMake from within C:\Project\wireshark\build

 

My build directory was also a peer, but not named ‘build’, and not under 
C:\Project\wireshark. How odd. Only 10 nuisance warnings about overriding ‘/W3’ 
with ‘/w’.

 

Thank you,

Jay Turner

 

From: Wireshark-dev <wireshark-dev-boun...@wireshark.org> On Behalf Of Roland 
Knall
Sent: Thursday, May 4, 2023 1:51 AM
To: Developer support list for Wireshark <wireshark-dev@wireshark.org>
Subject: Re: [Wireshark-dev] Wireshark 4.0.1 clone and build fails with test 
failures and complaints about paths prefixed in the source directory

 

It is preferred, that WIRESHARK_BASE_DIR is defined at the top directory, and 
not underneath the source directory. Also, it cannot be omitted as documented 
in our build documentation. Additionally, it is recommended to do an 
out-of-source build, to better be able to update the sources if needed.

 

So, create a directory called c:\projects\wireshark. Checkout the sourcecode to 
c:\projects\wireshark\wireshark, create a directory c:\projects\wireshark\build 
and start your cmake with that directory as build, 
c:\projects\wireshark\wireshark as src and WIRESHARK_BASE_DIR as 
c:\projects\wireshark.

 

If you still run into issues, jump on the Discord and we will try to figure it 
out. The link for it, you will find on the Wireshark start page.

 

cheers

Roland

 

Am Do., 4. Mai 2023 um 04:10 Uhr schrieb <jayrturne...@gmail.com 
<mailto:jayrturne...@gmail.com> >:

The issues with building from a git clone are:

1.      I clone into C:\Project\wireshark. The make adds libraries to 
C:\Project\wireshark\wireshark-win64-libs and then complains at the end that 
targets contain paths that are prefixed in the source directory.
2.      I want to use C:\Project\wireshark and place libs in 
C:\Project\wireshark-win64-libs, but I have other problems if I don’t define 
the WIRESHARK_BASE_DIR and just define WIRESHARK_LIB_DIR as 
C:\Project\wireshark-win64-libs and execute cmake from C:\Project\wsbuild.
3.      The cmake command says “Working in 
C:\Project\wireshark\wireshark-win64-libs” even though I start in 
C:\Project\wsbuild
4.      Setup does “Looking for …” and does not find lots of header files (i.e. 
arpa.h, grp.h, sys/types.h etc.)
5.      Performing Test HAVE_STRUCT_* routines fail
6.      After “Configuring done”, many CMake Errors in epan/CmakeLists.txt 
occur. These all complain about Target … contain paths that are prefixed in the 
source directory. But CMake and Wireshark placed the libraries in 
wireshark-win64-lib under the source directory.

I’ve developed a custom dissector and maintained in for 20 years, but that’s 
all before version 4.x. I’ve read the Developer’s Guide and I think I’ve 
performed the steps correctly.

 

Here is the command line listing of my process:

 

C:\Project>git clone https://gitlab.com/wireshark/wireshark.git

Cloning into 'wireshark'...

remote: Enumerating objects: 692482, done.

remote: Counting objects: 100% (1388/1388), done.

remote: Compressing objects: 100% (613/613), done.

remote: Total 692482 (delta 785), reused 1369 (delta 774), pack-reused 691094

8.48 MiB | 10.42 MiB/s

Receiving objects: 100% (692482/692482), 750.34 MiB | 10.87 MiB/s, done.

Resolving deltas: 100% (558635/558635), done.

Updating files: 100% (6567/6567), done.

 

C:\Project>choco upgrade all

Chocolatey v1.3.1

Upgrading the following packages:

all

By upgrading, you accept licenses for the packages.

asciidoctorj v2.5.7 is the latest version available based on your source(s).

chocolatey v1.3.1 is the latest version available based on your source(s).

chocolatey-compatibility.extension v1.0.0 is the latest version available based 
on your source(s).

chocolatey-core.extension v1.4.0 is the latest version available based on your 
source(s).

chocolatey-windowsupdate.extension v1.0.5 is the latest version available based 
on your source(s).

cmake v3.26.3 is the latest version available based on your source(s).

docbook-bundle v1.0.2 is the latest version available based on your source(s).

doxygen.install v1.9.6 is the latest version available based on your source(s).

KB2919355 v1.0.20160915 is the latest version available based on your source(s).

KB2919442 v1.0.20160915 is the latest version available based on your source(s).

KB2999226 v1.0.20181019 is the latest version available based on your source(s).

KB3033929 v1.0.5 is the latest version available based on your source(s).

KB3035131 v1.0.3 is the latest version available based on your source(s).

nsis v3.08 is the latest version available based on your source(s).

nsis.install v3.08 is the latest version available based on your source(s).

python3 v3.11.3 is the latest version available based on your source(s).

python311 v3.11.3 is the latest version available based on your source(s).

strawberryperl v5.32.1.1 is the latest version available based on your 
source(s).

vcredist140 v14.34.31938 is the latest version available based on your 
source(s).

vcredist2015 v14.0.24215.20170201 is the latest version available based on your 
source(s).

winflexbison v2.4.9.20170215 is the latest version available based on your 
source(s).

winflexbison3 v2.5.24.20210105 is the latest version available based on your 
source(s).

xsltproc v1.1.28.0 is the latest version available based on your source(s).

 

C:\Project> set

...

WIRESHARK_BASE_DIR=C:\Project\wireshark

WIRESHARK_QT6_PREFIX_PATH=C:\Qt\6.2.4\msvc2019_64

WIRESHARK_VERSION_EXTRA=-extra

...

 

C:\Project>cmake -version

cmake version 3.25.1-msvc1

 

CMake suite maintained and supported by Kitware (kitware.com/cmake 
<http://kitware.com/cmake> ).

 

C:\Project>mkdir wsbuild

C:\Project>cd wsbuild

 

C:\Project\wsbuild>cmake -G "Visual Studio 17 2022" -A x64 ..\wireshark

-- Using 3rd party repository

-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19045.

-- The C compiler identification is MSVC 19.35.32217.1

-- The CXX compiler identification is MSVC 19.35.32217.1

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Check for working C compiler: C:/Program Files/Microsoft Visual 
Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - skipped

-- Detecting C compile features

-- Detecting C compile features - done

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Check for working CXX compiler: C:/Program Files/Microsoft Visual 
Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - skipped

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- Generating build using CMake 3.25.1-msvc1

-- Using "Visual Studio 17 2022" generator (multi-config)

-- LTO/IPO is not enabled

-- Building for win64 and CPU target amd64

-- Found PowerShell: C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe

Working in C:\Project\wireshark\wireshark-win64-libs

Current library manifest not found. Refreshing.

Downloading 
https://dev-libs.wireshark.org/windows/packages/Npcap/npcap-1.75.exe into 
C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\npcap-1.75.exe

Downloading 
https://dev-libs.wireshark.org/windows/packages/USBPcap/USBPcapSetup-1.5.4.0.exe
 into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\USBPcapSetup-1.5.4.0.exe

Downloading 
https://dev-libs.wireshark.org/windows/packages/AirPcap/AirPcap_Devpack_4_1_0_1622.zip
 into C:\Project\wireshark\wireshark-win64-libs

Verifying 
C:\Project\wireshark\wireshark-win64-libs\AirPcap_Devpack_4_1_0_1622.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/bcg729/bcg729-1.0.4-win64ws.zip 
into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\bcg729-1.0.4-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/brotli/brotli-1.0.9-1-win64ws.zip
 into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\brotli-1.0.9-1-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/c-ares/c-ares-1.18.1-1-win64ws.zip
 into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\c-ares-1.18.1-1-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/gnutls/gnutls-3.6.3-1-win64ws.zip
 into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\gnutls-3.6.3-1-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/krb5/krb5-1.17-1-win64ws.zip 
into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\krb5-1.17-1-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/libgcrypt/libgcrypt-1.10.1-2-win64ws.zip
 into C:\Project\wireshark\wireshark-win64-libs

Verifying 
C:\Project\wireshark\wireshark-win64-libs\libgcrypt-1.10.1-2-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/libilbc/libilbc-2.0.2-3-win64ws.zip
 into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\libilbc-2.0.2-3-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/libmaxminddb/libmaxminddb-1.4.3-1-win64ws.zip
 into C:\Project\wireshark\wireshark-win64-libs

Verifying 
C:\Project\wireshark\wireshark-win64-libs\libmaxminddb-1.4.3-1-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/libpcap/libpcap-1.10.1-1-win64ws.zip
 into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\libpcap-1.10.1-1-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/libsmi/libsmi-svn-40773-win64ws.zip
 into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\libsmi-svn-40773-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/libssh/libssh-0.9.5-win64ws.zip 
into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\libssh-0.9.5-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/lua/lua-5.2.4-unicode-win64-vc14.zip
 into C:\Project\wireshark\wireshark-win64-libs

Verifying 
C:\Project\wireshark\wireshark-win64-libs\lua-5.2.4-unicode-win64-vc14.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/lz4/lz4-1.9.3-1-win64ws.zip 
into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\lz4-1.9.3-1-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/minizip/minizip-1.2.11-4-win64ws.zip
 into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\minizip-1.2.11-4-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/nghttp2/nghttp2-1.49.0-1-win64ws.zip
 into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\nghttp2-1.49.0-1-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/opus/opus-1.3.1-3-win64ws.zip 
into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\opus-1.3.1-3-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/pcre2/pcre2-10.40-1-win64ws.zip 
into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\pcre2-10.40-1-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/sbc/sbc-1.3-1-win64ws.zip into 
C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\sbc-1.3-1-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/snappy/snappy-1.1.9-1-win64ws.zip
 into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\snappy-1.1.9-1-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/spandsp/spandsp-0.0.6-2-win64ws.zip
 into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\spandsp-0.0.6-2-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/speexdsp/speexdsp-1.21.1-1-win64ws.zip
 into C:\Project\wireshark\wireshark-win64-libs

Verifying 
C:\Project\wireshark\wireshark-win64-libs\speexdsp-1.21.1-1-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/vcpkg-export/vcpkg-export-20220726-1-win64ws.zip
 into C:\Project\wireshark\wireshark-win64-libs

Verifying 
C:\Project\wireshark\wireshark-win64-libs\vcpkg-export-20220726-1-win64ws.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/WinSparkle/WinSparkle-0.5.7.zip 
into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\WinSparkle-0.5.7.zip

Downloading 
https://dev-libs.wireshark.org/windows/packages/zstd/zstd-1.5.2-1-win64ws.zip 
into C:\Project\wireshark\wireshark-win64-libs

Verifying C:\Project\wireshark\wireshark-win64-libs\zstd-1.5.2-1-win64ws.zip

-- V: 4.1.0-extra, MaV: 4, MiV: 1, PL: 0, EV: -extra.

-- 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.38.1.windows.1")

-- Found GLIB2: 
debug;C:/Project/wireshark/wireshark-win64-libs/vcpkg-export-20220726-1-win64ws/installed/x64-windows/debug/lib/glib-2.0.lib;optimized;C:/Project/wireshark/wireshark-win64-libs/vcpkg-export-20220726-1-win64ws/installed/x64-windows/lib/glib-2.0.lib
 (found suitable version "2.72.3", minimum required is "2.54.0")

-- Found GMODULE2: 
debug;C:/Project/wireshark/wireshark-win64-libs/vcpkg-export-20220726-1-win64ws/installed/x64-windows/debug/lib/gmodule-2.0.lib;optimized;C:/Project/wireshark/wireshark-win64-libs/vcpkg-export-20220726-1-win64ws/installed/x64-windows/lib/gmodule-2.0.lib

-- Found GTHREAD2: 
debug;C:/Project/wireshark/wireshark-win64-libs/vcpkg-export-20220726-1-win64ws/installed/x64-windows/debug/lib/gthread-2.0.lib;optimized;C:/Project/wireshark/wireshark-win64-libs/vcpkg-export-20220726-1-win64ws/installed/x64-windows/lib/gthread-2.0.lib

-- Found GCRYPT: 
C:/Project/wireshark/wireshark-win64-libs/libgcrypt-1.10.1-2-win64ws/installed/x64-windows/lib/libgcrypt.lib
 (found suitable version "1.10.1", minimum required is "1.8.0")

-- Found CARES: 
C:/Project/wireshark/wireshark-win64-libs/c-ares-1.18.1-1-win64ws/installed/x64-windows/lib/cares.lib
 (found suitable version "1.18.1", minimum required is "1.13.0")

-- Found LEX: C:/ProgramData/chocolatey/bin/win_flex.exe

-- Found Perl: C:/Strawberry/perl/bin/perl.exe (found version "5.32.1")

-- Found PCRE2: 
C:/Project/wireshark/wireshark-win64-libs/pcre2-10.40-1-win64ws/installed/x64-windows/lib/pcre2-8.lib

-- Found Python3: C:/Python311/python.exe (found suitable version "3.11.3", 
minimum required is "3.6") found components: Interpreter

-- Found LIBSSH: 
C:/Project/wireshark/wireshark-win64-libs/libssh-0.9.5-win64ws/installed/x64-windows/lib/ssh.lib
 (found suitable version "0.9.5", minimum required is "0.6")

-- Found PCAP: 
C:/Project/wireshark/wireshark-win64-libs/libpcap-1.10.1-1-win64ws/installed/x64-windows/include

-- Found AIRPCAP: 
C:/Project/wireshark/wireshark-win64-libs/AirPcap_Devpack_4_1_0_1622/Airpcap_Devpack/lib/airpcap.lib

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed

-- Looking for pthread_create in pthreads

-- Looking for pthread_create in pthreads - not found

-- Looking for pthread_create in pthread

-- Looking for pthread_create in pthread - not found

-- Found Threads: TRUE

-- Performing Test HAVE_STDATOMIC

-- Performing Test HAVE_STDATOMIC - Success

-- Found WrapAtomic: TRUE

-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)

-- Found MaxMindDB: 
C:/Project/wireshark/wireshark-win64-libs/libmaxminddb-1.4.3-1-win64ws/installed/x64-windows/lib/libmaxminddb.lib

-- Found SMI: 
C:/Project/wireshark/wireshark-win64-libs/libsmi-svn-40773-win64ws/lib/libsmi-2.lib

-- Looking for smi_version_string

-- Looking for smi_version_string - not found

-- Found GNUTLS: 
C:/Project/wireshark/wireshark-win64-libs/gnutls-3.6.3-1-win64ws/bin/libgnutls-30.lib
 (found suitable version "3.6.3", minimum required is "3.5.8")

-- Found KERBEROS: 
C:/Project/wireshark/wireshark-win64-libs/krb5-1.17-1-win64ws/installed/x64-windows/lib/krb5_64.lib

-- Looking for heimdal_version

-- Looking for heimdal_version - not found

-- Looking for krb5_pac_verify

-- Looking for krb5_pac_verify - found

-- Looking for krb5_c_fx_cf2_simple

-- Looking for krb5_c_fx_cf2_simple - found

-- Looking for decode_krb5_enc_tkt_part

-- Looking for decode_krb5_enc_tkt_part - not found

-- Looking for encode_krb5_enc_tkt_part

-- Looking for encode_krb5_enc_tkt_part - not found

-- Found ZLIB: 
C:/Project/wireshark/wireshark-win64-libs/vcpkg-export-20220726-1-win64ws/installed/x64-windows/lib/zlib.lib

-- Found Minizip: 
C:/Project/wireshark/wireshark-win64-libs/minizip-1.2.11-4-win64ws/installed/x64-windows/lib/minizip.lib

-- Performing Test HAVE_MZCOMPAT_DOS_DATE

-- Performing Test HAVE_MZCOMPAT_DOS_DATE - Failed

-- Found BROTLI: 
C:/Project/wireshark/wireshark-win64-libs/brotli-1.0.9-1-win64ws/installed/x64-windows/lib/brotlidec.lib

-- Found LZ4: 
C:/Project/wireshark/wireshark-win64-libs/lz4-1.9.3-1-win64ws/installed/x64-windows/lib/lz4.lib

-- Looking for lz4frame.h

-- Looking for lz4frame.h - found

-- Found SNAPPY: 
C:/Project/wireshark/wireshark-win64-libs/snappy-1.1.9-1-win64ws/installed/x64-windows/lib/snappy.lib

-- Found ZSTD: 
C:/Project/wireshark/wireshark-win64-libs/zstd-1.5.2-1-win64ws/installed/x64-windows/lib/zstd.lib
 (found suitable version "1.5.2", minimum required is "1.0.0")

-- Found NGHTTP2: 
C:/Project/wireshark/wireshark-win64-libs/nghttp2-1.49.0-1-win64ws/installed/x64-windows/lib/nghttp2.lib
 (Required is at least version "1.11.0")

-- Found LUA: 
C:/Project/wireshark/wireshark-win64-libs/lua-5.2.4-unicode-win64-vc14/lua52.lib
 (found suitable version "502", minimum required is "5.1")

-- Found SBC: 
C:/Project/wireshark/wireshark-win64-libs/sbc-1.3-win64ws/lib/sbc.lib

-- Found SPANDSP: 
C:/Project/wireshark/wireshark-win64-libs/spandsp-0.0.6-win64ws/lib/spandsp.lib

-- Found BCG729: 
C:/Project/wireshark/wireshark-win64-libs/bcg729-1.0.4-win64ws/lib/bcg729.lib

-- Could NOT find AMRNB (missing: AMRNB_LIBRARY AMRNB_INCLUDE_DIR)

-- Looking for WebRtcIlbcfix_DecoderCreate

-- Looking for WebRtcIlbcfix_DecoderCreate - found

-- Found ILBC: 
C:/Project/wireshark/wireshark-win64-libs/libilbc-2.0.2-3-win64ws/lib/libilbc.lib

-- Found OPUS: 
C:/Project/wireshark/wireshark-win64-libs/opus-1.3.1-3-win64ws/installed/x64-windows/lib/opus.lib

-- Found LibXml2: 
C:/Project/wireshark/wireshark-win64-libs/vcpkg-export-20220726-1-win64ws/installed/x64-windows/lib/libxml2.lib
 (found version "2.9.14")

-- Found WinSparkle: 
C:/Project/wireshark/wireshark-win64-libs/WinSparkle-0.5.7/x64/Release/WinSparkle.lib

-- Found Asciidoctor: C:/ProgramData/chocolatey/bin/asciidoctorj.exe (found 
suitable version "2.5.7", minimum required is "1.5")

-- Found DOXYGEN: C:/Program Files/doxygen/bin/doxygen.exe

-- Found SpeexDSP: 
C:/Project/wireshark/wireshark-win64-libs/speexdsp-1.21.1-1-win64ws/installed/x64-windows/lib/speexdsp.lib

-- Looking for gnutls_pkcs11_obj_list_import_url4

-- Looking for gnutls_pkcs11_obj_list_import_url4 - found

-- Looking for arpa/inet.h

-- Looking for arpa/inet.h - not found

-- Looking for grp.h

-- Looking for grp.h - not found

-- Looking for include files sys/types.h, ifaddrs.h

-- Looking for include files sys/types.h, ifaddrs.h - not found

-- Looking for netinet/in.h

-- Looking for netinet/in.h - not found

-- Looking for netdb.h

-- Looking for netdb.h - not found

-- Looking for pwd.h

-- Looking for pwd.h - not found

-- Looking for sys/select.h

-- Looking for sys/select.h - not found

-- Looking for sys/socket.h

-- Looking for sys/socket.h - not found

-- Looking for sys/time.h

-- Looking for sys/time.h - not found

-- Looking for sys/utsname.h

-- Looking for sys/utsname.h - not found

-- Looking for sys/wait.h

-- Looking for sys/wait.h - not found

-- Looking for unistd.h

-- Looking for unistd.h - not found

-- Looking for clock_gettime

-- Looking for clock_gettime - not found

-- Looking for timespec_get

-- Looking for timespec_get - found

-- Looking for getifaddrs

-- Looking for getifaddrs - not found

-- Looking for issetugid

-- Looking for issetugid - not found

-- Looking for setresgid

-- Looking for setresgid - not found

-- Looking for setresuid

-- Looking for setresuid - not found

-- Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE

-- Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE - Failed

-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIME

-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIME - Failed

-- Performing Test HAVE_STRUCT_STAT___ST_BIRTHTIME

-- Performing Test HAVE_STRUCT_STAT___ST_BIRTHTIME - Failed

-- Performing Test HAVE_STRUCT_TM_TM_ZONE

-- Performing Test HAVE_STRUCT_TM_TM_ZONE - Failed

-- Looking for tzname

-- Looking for tzname - not found

-- Looking for sys/types.h

-- Looking for sys/types.h - found

-- Looking for stdint.h

-- Looking for stdint.h - found

-- Looking for stddef.h

-- Looking for stddef.h - found

-- Check size of ssize_t

-- Check size of ssize_t - failed

-- Performing Test HAVE_C99_VSNPRINTF

-- Performing Test HAVE_C99_VSNPRINTF - Success

-- Found XSLTPROC: C:/ProgramData/chocolatey/bin/xsltproc.exe

-- Found python module asn2wrs: C:\Project\wireshark\tools\asn2wrs.py

-- Looking for ssh_userauth_agent

-- Looking for ssh_userauth_agent - not found

-- No SSE4.2 compiler flag enabled

-- Looking for emmintrin.h

-- Looking for emmintrin.h - found

-- Looking for nmmintrin.h

-- Looking for nmmintrin.h - found

-- Found python module make-plugin-reg: 
C:\Project\wireshark\tools\make-plugin-reg.py

-- C-Flags:  /Qspectre /MP /diagnostics:caret /Zo /utf-8 /guard:cf /w34295 
/w34100 /w34189 /wd4200 /DWIN32 /D_WINDOWS /W3

-- CXX-Flags:  /Qspectre /MP /diagnostics:caret /Zo /utf-8 /guard:cf /w34295 
/w34100 /w34189 /wd4200 /DWIN32 /D_WINDOWS /W3 /GR /EHsc

-- Warnings as errors enabled: /WX

-- The following OPTIONAL packages have been found:

 

* Git

* GMODULE2

* Perl

* LIBSSH (required version >= 0.6), Library for implementing SSH clients, 
<https://www.libssh.org/>

   extcap remote SSH interfaces (sshdump, ciscodump, wifidump)

* PCAP

* AIRPCAP

* Qt6Multimedia

* MaxMindDB, C library for the MaxMind DB file format, 
<https://github.com/maxmind/libmaxminddb>

   Support for GeoIP lookup

* SMI, Library to access SMI management information, 
<https://www.ibr.cs.tu-bs.de/projects/libsmi/>

   Support MIB and PIB parsing and OID resolution

* GNUTLS (required version >= 3.5.8)

* KERBEROS

* ZLIB

* Minizip, Mini zip and unzip based on zlib, <https://github.com/madler/zlib>

   Support for profiles import/export

* BROTLI

* LZ4, LZ4 is a fast lossless compression algorithm, <http://www.lz4.org>

   LZ4 decompression in CQL and Kafka dissectors, read compressed capture files

* SNAPPY, A fast compressor/decompressor from Google, 
<https://google.github.io/snappy/>

   Snappy decompression in CQL and Kafka dissectors

* ZSTD (required version >= 1.0.0), A compressor/decompressor from Facebook 
providing better compression than Snappy at a cost of speed, 
<https://facebook.github.io/zstd/>

   Zstd decompression in Kafka dissector, read compressed capture files

* NGHTTP2 (required version >= 1.11.0), HTTP/2 C library and tools, 
<https://nghttp2.org>

   Header decompression in HTTP2

* LUA (required version >= 5.1)

* SBC, Bluetooth low-complexity, subband codec (SBC) decoder, 
<https://git.kernel.org/pub/scm/bluetooth/sbc.git>

   Support for playing SBC codec in RTP player

* SPANDSP, a library of many DSP functions for telephony, 
<https://www.soft-switch.org>

   Support for G.722 and G.726 codecs in RTP player

* BCG729, G.729 decoder, <https://www.linphone.org/technical-corner/bcg729>

   Support for G.729 codec in RTP player

* ILBC, iLBC decoder, <https://github.com/TimothyGu/libilbc>

   Support for iLBC codec in RTP player

* OPUS, opus decoder, <https://opus-codec.org/>

   Support for opus codec in RTP player

* LibXml2

* WinSparkle

* DOXYGEN

* Asciidoctor (required version >= 1.5)

* XSLTPROC

 

-- The following REQUIRED packages have been found:

 

* PowerShell

* GLIB2 (required version >= 2.54.0)

* GTHREAD2

* GCRYPT (required version >= 1.8.0)

* CARES (required version >= 1.13.0), Library for asynchronous DNS requests, 
<https://c-ares.org/>

   DNS name resolution for captures

* LEX

* PCRE2, Regular expression pattern matching using the same syntax and 
semantics as Perl 5, <https://www.pcre.org>

   Support for regular expressions

* Python3 (required version >= 3.6)

* Qt6CoreTools (required version >= 6.2.4)

* Qt6Core

* Qt6GuiTools (required version >= 6.2.4)

* Qt6Gui

* Qt6LinguistTools

* Qt6PrintSupport

* Qt6WidgetsTools (required version >= 6.2.4)

* Qt6Widgets

* Qt6Concurrent

* Qt6Core5Compat

* SpeexDSP, SpeexDSP is a patent-free, Open Source/Free Software DSP library, 
<https://www.speex.org/>

   RTP audio resampling

 

-- The following OPTIONAL packages have not been found:

 

* WrapVulkanHeaders

* AMRNB, AMRNB decoder, <https://sourceforge.net/p/opencore-amr>

   Support for AMRNB codec in RTP player

 

-- Using VCINSTALLDIR: C:\Program Files\Microsoft Visual 
Studio\2022\Community\VC

-- Using C:\Program Files\Microsoft Visual 
Studio\2022\Community\VC\Redist\MSVC\14.34.31931\vc_redist.x64.exe for the NSIS 
installer.

-- Configuring done

CMake Error in epan/CMakeLists.txt:

  Target "epan" INTERFACE_INCLUDE_DIRECTORIES property contains path:

 

    
"C:/Project/wireshark/wireshark-win64-libs/vcpkg-export-20220726-1-win64ws/installed/x64-windows/include/glib-2.0"

 

  which is prefixed in the source directory.

 

 

CMake Error in epan/CMakeLists.txt:

  Target "epan" INTERFACE_INCLUDE_DIRECTORIES property contains path:

 

    
"C:/Project/wireshark/wireshark-win64-libs/vcpkg-export-20220726-1-win64ws/installed/x64-windows/lib/glib-2.0/include"

 

  which is prefixed in the source directory.

 

 

CMake Error in wsutil/CMakeLists.txt:

  Target "wsutil" INTERFACE_INCLUDE_DIRECTORIES property contains path:

 

    
"C:/Project/wireshark/wireshark-win64-libs/vcpkg-export-20220726-1-win64ws/installed/x64-windows/include/glib-2.0"

 

  which is prefixed in the source directory.

 

 

CMake Error in wsutil/CMakeLists.txt:

  Target "wsutil" INTERFACE_INCLUDE_DIRECTORIES property contains path:

 

    
"C:/Project/wireshark/wireshark-win64-libs/vcpkg-export-20220726-1-win64ws/installed/x64-windows/lib/glib-2.0/include"

 

  which is prefixed in the source directory.

 

 

CMake Error in wsutil/CMakeLists.txt:

  Target "wsutil" INTERFACE_INCLUDE_DIRECTORIES property contains path:

 

    
"C:/Project/wireshark/wireshark-win64-libs/libgcrypt-1.10.1-2-win64ws/installed/x64-windows/include"

 

  which is prefixed in the source directory.

 

 

CMake Error in wsutil/CMakeLists.txt:

  Target "wsutil" INTERFACE_INCLUDE_DIRECTORIES property contains path:

 

    "C:/Project/wireshark/wireshark-win64-libs/gnutls-3.6.3-1-win64ws/include"

 

  which is prefixed in the source directory.

 

 

-- Generating done

CMake Generate step failed.  Build files cannot be regenerated correctly.

 

C:\Project\wsbuild>

 

Thank you,

Jay Turner

 

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org 
<mailto:wireshark-dev@wireshark.org> >
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org 
<mailto:wireshark-dev-requ...@wireshark.org> ?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to