Wireshark-dev: Re: [Wireshark-dev] Can't build GTK only using CMake on Windows7
From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Wed, 30 Mar 2016 11:01:03 +0100
Comments in-line:
So CMake is finding some Cygwin versions of libraries rather than the Windows native versions. Do you have Cygwin on your path? I recommend against this as it has caused problems in the past, even going back to nmake days. CMake looks for a Cygwin install in a few standard places, and if you have it somewhere odd, the location can be passed in using a WIRESHARK_CYGWIN_INSTALL_PATH environment variable.
--
On 30 March 2016 at 10:08, Robert Cragie <robert.cragie@xxxxxxxxxxxxx> wrote:
I updated cygwin and included asciidoc and the CMake output now doesn't show asciidoc as missing optional. Here is the output from CMake (I removed :cmake -G "Visual Studio 12 Win64" ..\wireshark-- The C compiler identification is MSVC 18.0.40629.0-- The CXX compiler identification is MSVC 18.0.40629.0-- Check for working C compiler using: Visual Studio 12 2013 Win64-- Check for working C compiler using: Visual Studio 12 2013 Win64 -- works-- Detecting C compiler ABI info-- Detecting C compiler ABI info - done-- Check for working CXX compiler using: Visual Studio 12 2013 Win64-- Check for working CXX compiler using: Visual Studio 12 2013 Win64 -- 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.5.1-- Found POWERSHELL: C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe-- Building for win64 using Visual Studio 12 2013 Win64Working in C:\Users\robcra01\Documents\WiresharkBitbucket\wireshark-win64-libsTag 2015-12-11 found. Skipping.-- No custom file found in C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-- Configuration types: Debug;Release;MinSizeRel;RelWithDebInfo-- CMAKE_C_FLAGS_RELWITHDEBINFO: /MD /Zi /O2 /Ob1 /D NDEBUG-- CMAKE_CXX_FLAGS_RELWITHDEBINFO: /MD /Zi /O2 /Ob1 /D NDEBUG-- V: 2.1.0-Thread, MaV: 2, MiV: 1, PL: 0, EV: -Thread.-- Found PythonInterp: C:/Python27/python.exe (found version "2.7.10")-- Found python module asn2wrs: C:\Users\robcra01\Documents\WiresharkBitbucket\wireshark\tools\asn2wrs.py-- Checking for c-compiler flag: /MP-- Performing Test C__MP_VALID-- Performing Test C__MP_VALID - Success-- Checking for c-compiler flag: /Zo-- Performing Test C__Zo_VALID-- Performing Test C__Zo_VALID - Success-- Checking for c-compiler flag: /w34295 /w34189-- Performing Test C__w34295_w34189_VALID-- Performing Test C__w34295_w34189_VALID - Success-- Checking for c++-compiler flag: /MP-- Performing Test CXX__MP_VALID-- Performing Test CXX__MP_VALID - Success-- Checking for c++-compiler flag: /Zo-- Performing Test CXX__Zo_VALID-- Performing Test CXX__Zo_VALID - Success-- Checking for c++-compiler flag: /w34295 /w34189-- Performing Test CXX__w34295_w34189_VALID-- Performing Test CXX__w34295_w34189_VALID - Successstatuscheck linker flag - test linker flags: -Wl,--as-needed-- Performing Test WS_LD_FLAG_VALID0-- Performing Test WS_LD_FLAG_VALID0 - Failedstatuscheck linker flag - test linker flags: -pie-- Performing Test WS_LD_FLAG_VALID1-- Performing Test WS_LD_FLAG_VALID1 - Failed-- 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 off64_t-- Check size of off64_t - failed-- Looking for fseeko-- Looking for fseeko - not found-- Looking for unistd.h-- Looking for unistd.h - not found-- Packagelist: AIRPCAP;CAP;CARES;GCRYPT;GEOIP;GLIB2;GMODULE2;GNUTLS;GTHREAD2;GTK2;Gettext;Git;HtmlViewer;KERBEROS;LEX;LIBSSH;LUA;M;PCAP;POD;PORTAUDIO;Perl;PythonInterp;Qt5Core;Qt5LinguistTools;Qt5Multimedia;Qt5PrintSupport;Qt5Svg;Qt5Widgets;Qt5WinExtras;SBC;SED;SETCAP;SH;SMI;WINSPARKLE;YACC;YAPP;ZLIB-- Found AIRPCAP: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/AirPcap_Devpack_4_1_0_1622/Airpcap_Devpack/include-- AIRPCAP FOUND-- AIRPCAP includes: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/AirPcap_Devpack_4_1_0_1622/Airpcap_Devpack/include-- AIRPCAP libs: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/AirPcap_Devpack_4_1_0_1622/Airpcap_Devpack/lib/airpcap.lib-- Found PkgConfig: C:/cygwin64/bin/pkg-config.exe (found version "0.29")-- Checking for one of the modules 'libcap'-- Could NOT find CAP (missing: CAP_LIBRARY CAP_INCLUDE_DIR)-- CAP NOT FOUND-- Found CARES: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/c-ares-1.9.1-1-win64ws/lib/libcares-2.lib-- CARES FOUND-- CARES includes: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/c-ares-1.9.1-1-win64ws/include-- CARES libs: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/c-ares-1.9.1-1-win64ws/lib/libcares-2.lib-- Found GCRYPT: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gnutls-3.2.15-2.9-win64ws/bin/libgcrypt-20.lib (found suitable version "1.6.2", minimum required is "1.4.2")-- GCRYPT FOUND-- GCRYPT includes: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gnutls-3.2.15-2.9-win64ws/include-- GCRYPT libs: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gnutls-3.2.15-2.9-win64ws/bin/libgcrypt-20.lib;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gnutls-3.2.15-2.9-win64ws/bin/libgpg-error6-0.lib-- Checking for one of the modules 'geoip'-- Found GEOIP: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/GeoIP-1.6.6-win64ws/lib/libGeoIP-1.lib-- Looking for GeoIP_country_name_by_ipnum_v6-- Looking for GeoIP_country_name_by_ipnum_v6 - found-- GEOIP FOUND-- GEOIP includes: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/GeoIP-1.6.6-win64ws/include-- GEOIP libs: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/GeoIP-1.6.6-win64ws/lib/libGeoIP-1.lib-- Checking for one of the modules 'glib-2.0>=2.14.0'-- Found GLIB2: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/lib/glib-2.0.lib-- GLIB2 FOUND-- GLIB2 includes: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/include/glib-2.0;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/lib/glib-2.0/include-- GLIB2 libs: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/lib/glib-2.0.lib-- Checking for one of the modules 'gmodule-2.0'-- GMODULE2 FOUND-- GMODULE2 includes: /usr/include/glib-2.0;/usr/lib/glib-2.0/include-- GMODULE2 libs: gmodule-2.0;glib-2.0;intl
This looks as though it's found a Cygwin version of GModule (/usr/include/glib-2.0). Do you have Cygwin on your path?
-- Checking for one of the modules 'gnutls'-- Found GNUTLS: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gnutls-3.2.15-2.9-win64ws/bin/libgnutls-28.lib (found suitable version "3.3.17", minimum required is "2.12.0")-- GNUTLS FOUND-- GNUTLS includes: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gnutls-3.2.15-2.9-win64ws/include-- GNUTLS libs: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gnutls-3.2.15-2.9-win64ws/bin/libgnutls-28.lib-- Checking for one of the modules 'gthread-2.0'-- GTHREAD2 FOUND-- GTHREAD2 includes: /usr/include/glib-2.0;/usr/lib/glib-2.0/include-- GTHREAD2 libs: gthread-2.0;glib-2.0;intl
Similarly this looks like a Cygwin version of Gthread.
-- Found GTK2_GTK: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/lib/gtk-win32-2.0.lib-- GTK2 FOUND-- GTK2 includes: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/include/gtk-2.0;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/include;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/include/freetype2;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/include/glib-2.0;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/lib/glib-2.0/include;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/include/atk-1.0;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/include/gdk-pixbuf-2.0;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/include/cairo;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/include/pango-1.0;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/lib/gtk-2.0/include-- GTK2 libs: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/lib/glib-2.0.lib;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/lib/gobject-2.0.lib;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/lib/atk-1.0.lib;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/lib/gmodule-2.0.lib;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/lib/gdk_pixbuf-2.0.lib;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/lib/cairo.lib;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/lib/pango-1.0.lib;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/lib/pangocairo-1.0.lib;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/lib/gdk-win32-2.0.lib;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/gtk2/lib/gtk-win32-2.0.lib-- Found Gettext: C:/cygwin64/bin/msgmerge.exe (found version "0.19.5.1")
This isn't normally found on windows builds, again a Cygwin issue.
-- GETTEXT FOUND-- Gettext includes:-- Gettext libs:-- Found Git: C:/cygwin64/bin/git.exe (found version "2.7.4")
Again a Cygwin version of git, much better to find a Win32 native version.
-- Git FOUND-- Git includes:-- Git libs:-- Found HtmlViewer: C:/Program Files (x86)/Google/Chrome/Application/chrome.exe-- HTML_VIEWER NOT FOUND-- Checking for one of the modules 'krb5;mit-krb5;heimdal-krb5'
This should find the wireshark-win64-libs/kfw-3-2-2-x64-ws version.
-- Looking for heimdal_version-- Looking for heimdal_version - not found-- KERBEROS FOUND-- KERBEROS includes:
missing the Windows version includes directory
-- KERBEROS libs: krb5;k5crypto;com_err
These look like Cygwin versions of the libs
-- Found LEX: C:/cygwin64/bin/flex.exe-- LEX FOUND-- LEX includes:-- LEX libs:-- LEX executable: C:/cygwin64/bin/flex.exe-- Could NOT find LIBSSH (missing: LIBSSH_LIBRARIES LIBSSH_INCLUDE_DIRS LIBSSH_VERSION) (Required is at least version "0.6")-- LIBSSH NOT FOUND-- Checking for one of the modules 'lua5.2;lua-5.2;lua52;lua5.1;lua-5.1;lua51;lua5.0;lua-5.0;lua50'-- Checking for one of the modules 'lua<=5.2.99'-- Found LUA: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/lua5.2.3/lua52.lib (found version "502")-- LUA FOUND-- LUA includes: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/lua5.2.3/include-- LUA libs: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/lua5.2.3/lua52.lib-- Could NOT find M (missing: M_LIBRARY)-- M NOT FOUND-- Found PCAP: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/WpdPack/Include-- Looking for pcap_open_dead-- Looking for pcap_open_dead - found-- Looking for pcap_freecode-- Looking for pcap_freecode - found-- Looking for pcap_breakloop-- Looking for pcap_breakloop - found-- Looking for pcap_create-- Looking for pcap_create - found-- Looking for pcap_datalink_name_to_val-- Looking for pcap_datalink_name_to_val - found-- Looking for pcap_datalink_val_to_description-- Looking for pcap_datalink_val_to_description - found-- Looking for pcap_datalink_val_to_name-- Looking for pcap_datalink_val_to_name - found-- Looking for pcap_findalldevs-- Looking for pcap_findalldevs - found-- Looking for pcap_free_datalinks-- Looking for pcap_free_datalinks - found-- Looking for pcap_get_selectable_fd-- Looking for pcap_get_selectable_fd - not found-- Looking for pcap_lib_version-- Looking for pcap_lib_version - found-- Looking for pcap_list_datalinks-- Looking for pcap_list_datalinks - found-- Looking for pcap_set_datalink-- Looking for pcap_set_datalink - found-- Looking for bpf_image-- Looking for bpf_image - found-- Looking for pcap_setsampling-- Looking for pcap_setsampling - found-- Looking for pcap_set_tstamp_precision-- Looking for pcap_set_tstamp_precision - not found-- Looking for pcap_open-- Looking for pcap_open - found-- PCAP FOUND-- PCAP includes: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/WpdPack/Include-- PCAP libs: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/WpdPack/Lib/x64/wpcap.lib-- Found POD: C:/cygwin64/bin/pod2man-- POD FOUND-- POD includes:-- POD libs:-- Checking for one of the modules 'portaudio-2.0'-- Found PORTAUDIO: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/portaudio_v19_2/include-- PORTAUDIO FOUND-- PORTAUDIO includes: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/portaudio_v19_2/include;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/portaudio_v19_2/src/common;C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/portaudio_v19_2/src/os/win-- PORTAUDIO libs:-- Found Perl: C:/cygwin64/bin/perl.exe (found version "5.22.1")-- PERL FOUND-- Perl includes:-- Perl libs:-- Perl executable: C:/cygwin64/bin/perl.exe-- Found PythonInterp: C:/Python27/python.exe (found suitable version "2.7.10", minimum required is "2")-- PYTHONINTERP FOUND-- PythonInterp includes:-- PythonInterp libs:-- Qt5Core FOUND-- Qt5Core includes: C:/Qt/5.6/msvc2013_64/include/;C:/Qt/5.6/msvc2013_64/include/QtCore;C:/Qt/5.6/msvc2013_64/.//mkspecs/win32-msvc2013-- Qt5Core libs: Qt5::Core-- Qt5Core definitions: -DQT_CORE_LIB-- Qt5LinguistTools FOUND-- Qt5LinguistTools includes:-- Qt5LinguistTools libs:-- Qt5Multimedia FOUND-- Qt5Multimedia includes: C:/Qt/5.6/msvc2013_64/include/;C:/Qt/5.6/msvc2013_64/include/QtMultimedia;C:/Qt/5.6/msvc2013_64/include/QtNetwork;C:/Qt/5.6/msvc2013_64/include/QtCore;C:/Qt/5.6/msvc2013_64/.//mkspecs/win32-msvc2013;C:/Qt/5.6/msvc2013_64/include/QtGui-- Qt5Multimedia libs: Qt5::Multimedia-- Qt5Multimedia definitions: -DQT_MULTIMEDIA_LIB;-DQT_NETWORK_LIB;-DQT_CORE_LIB;-DQT_GUI_LIB-- Qt5PrintSupport FOUND-- Qt5PrintSupport includes: C:/Qt/5.6/msvc2013_64/include/;C:/Qt/5.6/msvc2013_64/include/QtPrintSupport;C:/Qt/5.6/msvc2013_64/include/QtWidgets;C:/Qt/5.6/msvc2013_64/include/QtGui;C:/Qt/5.6/msvc2013_64/include/QtCore;C:/Qt/5.6/msvc2013_64/.//mkspecs/win32-msvc2013-- Qt5PrintSupport libs: Qt5::PrintSupport-- Qt5PrintSupport definitions: -DQT_PRINTSUPPORT_LIB;-DQT_WIDGETS_LIB;-DQT_GUI_LIB;-DQT_CORE_LIB-- Qt5Svg FOUND-- Qt5Svg includes: C:/Qt/5.6/msvc2013_64/include/;C:/Qt/5.6/msvc2013_64/include/QtSvg;C:/Qt/5.6/msvc2013_64/include/QtWidgets;C:/Qt/5.6/msvc2013_64/include/QtGui;C:/Qt/5.6/msvc2013_64/include/QtCore;C:/Qt/5.6/msvc2013_64/.//mkspecs/win32-msvc2013-- Qt5Svg libs: Qt5::Svg-- Qt5Svg definitions: -DQT_SVG_LIB;-DQT_WIDGETS_LIB;-DQT_GUI_LIB;-DQT_CORE_LIB-- Qt5Widgets FOUND-- Qt5Widgets includes: C:/Qt/5.6/msvc2013_64/include/;C:/Qt/5.6/msvc2013_64/include/QtWidgets;C:/Qt/5.6/msvc2013_64/include/QtGui;C:/Qt/5.6/msvc2013_64/include/QtCore;C:/Qt/5.6/msvc2013_64/.//mkspecs/win32-msvc2013-- Qt5Widgets libs: Qt5::Widgets-- Qt5Widgets definitions: -DQT_WIDGETS_LIB;-DQT_GUI_LIB;-DQT_CORE_LIB-- Qt5WinExtras FOUND-- Qt5WinExtras includes: C:/Qt/5.6/msvc2013_64/include/;C:/Qt/5.6/msvc2013_64/include/QtWinExtras;C:/Qt/5.6/msvc2013_64/include/QtGui;C:/Qt/5.6/msvc2013_64/include/QtCore;C:/Qt/5.6/msvc2013_64/.//mkspecs/win32-msvc2013-- Qt5WinExtras libs: Qt5::WinExtras-- Qt5WinExtras definitions: -DQT_WINEXTRAS_LIB;-DQT_GUI_LIB;-DQT_CORE_LIB-- Could NOT find SBC (missing: SBC_INCLUDE_DIR SBC_LIBRARY)-- SBC NOT FOUND-- Found SED: C:/cygwin64/bin/sed.exe-- SED FOUND-- SED includes:-- SED libs:-- SED executable: C:/cygwin64/bin/sed.exe-- Could NOT find SETCAP (missing: SETCAP_EXECUTABLE)-- SETCAP NOT FOUND-- Found SH: C:/cygwin64/bin/bash.exe-- SH FOUND-- SH includes:-- SH libs:-- SH executable: C:/cygwin64/bin/bash.exe-- Found SMI: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/libsmi-svn-40773-win64ws/lib/libsmi-2.lib-- SMI FOUND-- SMI includes: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/libsmi-svn-40773-win64ws/include-- SMI libs: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/libsmi-svn-40773-win64ws/lib/libsmi-2.lib-- Found WINSPARKLE: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/WinSparkle-0.3-44-g2c8d9d3-win64ws/WinSparkle.lib-- WINSPARKLE FOUND-- WINSPARKLE includes: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/WinSparkle-0.3-44-g2c8d9d3-win64ws-- WINSPARKLE libs: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/WinSparkle-0.3-44-g2c8d9d3-win64ws/WinSparkle.lib-- Found YACC: C:/cygwin64/bin/bison.exe-- YACC FOUND-- YACC includes:-- YACC libs:-- YACC executable: C:/cygwin64/bin/bison.exe-- Could NOT find YAPP (missing: YAPP_EXECUTABLE)-- YAPP NOT FOUND-- Looking for inflatePrime-- Looking for inflatePrime - not found-- Found ZLIB: zlib-- ZLIB FOUND-- ZLIB includes: C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark-win64-libs/zlib-1.2.8-ws;C:/Users/robcra01/Documents/WiresharkBitbucket/wsbuild/zlib-- ZLIB libs: zlib-- C-Flags: /MP /Zo /w34295 /w34189 /DWIN32 /D_WINDOWS /W3-- CXX-Flags: /MP /Zo /w34295 /w34189 /DWIN32 /D_WINDOWS /W3 /GR /EHsc-- Warnings as errors: /WX-- Looking for arpa/inet.h-- Looking for arpa/inet.h - not found-- Looking for arpa/nameser.h-- Looking for arpa/nameser.h - not found-- Looking for dlfcn.h-- Looking for dlfcn.h - not found-- Looking for fcntl.h-- Looking for fcntl.h - found-- Looking for getopt.h-- Looking for getopt.h - not found-- Looking for grp.h-- Looking for grp.h - not found-- Looking for ifaddrs.h-- Looking for ifaddrs.h - not found-- Looking for inttypes.h-- Looking for inttypes.h - 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 portaudio.h-- Looking for portaudio.h - not found-- Looking for pwd.h-- Looking for pwd.h - not found-- Looking for sys/ioctl.h-- Looking for sys/ioctl.h - not found-- Looking for sys/param.h-- Looking for sys/param.h - not found-- Looking for sys/socket.h-- Looking for sys/socket.h - not found-- Looking for sys/sockio.h-- Looking for sys/sockio.h - not found-- Looking for sys/stat.h-- Looking for sys/stat.h - 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 windows.h-- Looking for windows.h - found-- Looking for winsock2.h-- Looking for winsock2.h - found-- Looking for chown-- Looking for chown - not found-- Looking for dladdr-- Looking for dladdr - not found-- Looking for floorl-- Looking for floorl - found-- Looking for lrint-- Looking for lrint - found-- Looking for getaddrinfo-- Looking for getaddrinfo - not found-- Looking for gethostbyname-- Looking for gethostbyname - not found-- Looking for gethostbyname2-- Looking for gethostbyname2 - not found-- Looking for getopt_long-- Looking for getopt_long - not found-- Looking for getprotobynumber-- Looking for getprotobynumber - not found-- Looking for getifaddrs-- Looking for getifaddrs - not found-- Looking for inet_aton-- Looking for inet_aton - not found-- Looking for inet_ntop-- Looking for inet_ntop - not found-- Looking for inet_pton-- Looking for inet_pton - not found-- Looking for issetugid-- Looking for issetugid - not found-- Looking for mkdtemp-- Looking for mkdtemp - not found-- Looking for mkstemp-- Looking for mkstemp - not found-- Looking for popcount-- Looking for popcount - not found-- Looking for setresgid-- Looking for setresgid - not found-- Looking for setresuid-- Looking for setresuid - not found-- Looking for strptime-- Looking for strptime - not found-- Looking for sysconf-- Looking for sysconf - not found-- Performing Test HAVE_SA_LEN-- Performing Test HAVE_SA_LEN - Failed-- Performing Test HAVE_ST_FLAGS-- Performing Test HAVE_ST_FLAGS - Failed-- Performing Test HAVE_TM_ZONE-- Performing Test HAVE_TM_ZONE - Failed-- Looking for tzname-- Looking for tzname - found-- Check if the system is big endian-- Searching 16 bit integer-- Check size of unsigned short-- Check size of unsigned short - done-- Using unsigned short-- Check if the system is big endian - little endian-- Found LYNX: C:/cygwin64/bin/lynx.exe-- Found XSLTPROC: C:/cygwin64/bin/xsltproc.exe-- Using Cygwin a2x-- Found ASCIIDOC: C:/cygwin64/bin/bash.exe;/cygdrive/c/Users/robcra01/Documents/WiresharkBitbucket/wireshark/tools/runa2x.sh-- No custom file found in C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark/epan/crypt-- No custom file found in C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark/epan/dissectors-- No custom file found in C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark/epan/dissectors/asn1-- Found python module make-dissector-reg: C:\Users\robcra01\Documents\WiresharkBitbucket\wireshark\tools\make-dissector-reg.py-- Looking for emmintrin.h-- Looking for emmintrin.h - found-- Looking for nmmintrin.h-- Looking for nmmintrin.h - found-- No custom file found in C:/Users/robcra01/Documents/WiresharkBitbucket/wireshark/ui/gtk-- docdir:-- Checking for 64-bit off_t-- Checking for 64-bit off_t - present with _fseeki64-- Checking for fseeko/ftello---- The following OPTIONAL packages have been found:* AIRPCAP* CARES* GCRYPT (required version >= 1.4.2)* GEOIP* GMODULE2* GNUTLS (required version >= 2.12.0)* GTK2* Gettext* Git* HtmlViewer* KERBEROS* LUA* PCAP* POD* PkgConfig* PORTAUDIO* Perl* Qt5Core* Qt5LinguistTools* Qt5Network (required version >= 5.6.0)* Qt5Gui (required version >= 5.6.0)* Qt5Multimedia* Qt5PrintSupport* Qt5Svg* Qt5Widgets* Qt5WinExtras* SED* SH* SMI* WINSPARKLE* ZLIB* LYNX* XSLTPROC* ASCIIDOC* PythonInterp-- The following REQUIRED packages have been found:* PowerShell* GLIB2* GTHREAD2* LEX* YACC-- The following OPTIONAL packages have not been found:* CAP* LIBSSH (required version >= 0.6) , libssh is library for ssh connections and it is needed to build sshdump/ciscodump , <www: https://www.libssh.org/get-it/>* M* SBC , SBC Codec for Bluetooth A2DP stream playing , <www: http://git.kernel.org/cgit/bluetooth/sbc.git>* SETCAP* YAPP-- Configuring done-- Generating done-- Build files have been written to: C:/Users/robcra01/Documents/WiresharkBitbucket/wsbuild
So CMake is finding some Cygwin versions of libraries rather than the Windows native versions. Do you have Cygwin on your path? I recommend against this as it has caused problems in the past, even going back to nmake days. CMake looks for a Cygwin install in a few standard places, and if you have it somewhere odd, the location can be passed in using a WIRESHARK_CYGWIN_INSTALL_PATH environment variable.
Graham Bloice
- References:
- [Wireshark-dev] Can't build GTK only using CMake on Windows7
- From: Robert Cragie
- Re: [Wireshark-dev] Can't build GTK only using CMake on Windows7
- From: Joerg Mayer
- Re: [Wireshark-dev] Can't build GTK only using CMake on Windows7
- From: Robert Cragie
- Re: [Wireshark-dev] Can't build GTK only using CMake on Windows7
- From: Robert Cragie
- Re: [Wireshark-dev] Can't build GTK only using CMake on Windows7
- From: Graham Bloice
- Re: [Wireshark-dev] Can't build GTK only using CMake on Windows7
- From: Robert Cragie
- [Wireshark-dev] Can't build GTK only using CMake on Windows7
- Prev by Date: Re: [Wireshark-dev] Can't build GTK only using CMake on Windows7
- Next by Date: Re: [Wireshark-dev] Building with CMake on Win10 and VS2013 (win64)
- Previous by thread: Re: [Wireshark-dev] Can't build GTK only using CMake on Windows7
- Next by thread: Re: [Wireshark-dev] Can't build GTK only using CMake on Windows7
- Index(es):