This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

VS2015, error C2220, Define ws_inet_pton not found !

0

Hello,

I have a probleme for Visual Studio 2015 when generate all file for Wireshark. This is error:

3>C:\Program Files (x86)\Windows Kits\8.1\Include\um\ws2tcpip.h(563): error C2220: avertissement considéré comme une erreur - aucun fichier 'object' généré
3>C:\Program Files (x86)\Windows Kits\8.1\Include\um\ws2tcpip.h(563): warning C4273: 'ws_inet_pton' : liaison DLL incohérente
3>  D:\Projets\wireshark\wsutil/inet_v6defs.h(41): note: voir la définition précédente de 'ws_inet_pton'
3>C:\Program Files (x86)\Windows Kits\8.1\Include\um\ws2tcpip.h(579): warning C4030: première liste de paramètres formels plus longue que la seconde
3>C:\Program Files (x86)\Windows Kits\8.1\Include\um\ws2tcpip.h(579): warning C4028: paramètre formel 2 différent de la déclaration

Have you a solution for me ?

I have tested with Pragma warning on this, but my probleme it's already here !

Thank you for you help !

asked 08 Feb '16, 09:51

Tybbow%20Iskow's gravatar image

Tybbow Iskow
1112
accept rate: 0%

What version of wireshark are you trying to build?

(08 Feb '16, 10:58) Anders ♦

The version of wireshark is 2.1.0. The last version. I use git clone for download source code.

(08 Feb '16, 11:09) Tybbow Iskow

Can you edit your question, adding the output of the CMake generation step?

You can redirect the output to a file with cmake -G ... 2>&1 > cmake.txt

(08 Feb '16, 11:34) grahamb ♦

I have a feeling I came across this problem when compiling with vs2015 the first time.

(08 Feb '16, 14:53) Anders ♦

One Answer:

0

Only very minor preparatory work for VS 2015 has been done, it's not really supported at the moment. When Qt release 5.6 with a version for use with VS2015 then support for VS2015 will be looked at again.

answered 09 Feb '16, 02:43

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

I just built master with nmake with VS 2015 and that works. The problem may be related to this change made for nmake. https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9cb09a242f752c775a6d11d12dcb84ef6d9264d2

(09 Feb '16, 04:28) Anders ♦

I was referring to CMake, but regardless of the build system, Qt is the hold-up.

(09 Feb '16, 05:57) grahamb ♦

Hello, Thanks Grahamb..

So, after read log, i found that:

-- Looking for inet_ntop
-- Looking for inet_ntop - not found

and that :

 * Qt5Network (required version >= 5.5.1)
 * Qt5Gui (required version >= 5.5.1)

:'(

I give my Cmake log :

– The C compiler identification is MSVC 19.0.23506.0 – The CXX compiler identification is MSVC 19.0.23506.0 – Check for working C compiler using: Visual Studio 14 2015 Win64 – Check for working C compiler using: Visual Studio 14 2015 Win64 – works – Detecting C compiler ABI info – Detecting C compiler ABI info - done – Check for working CXX compiler using: Visual Studio 14 2015 Win64 – Check for working CXX compiler using: Visual Studio 14 2015 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.3.2 – Found POWERSHELL: C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe
– Building for win64 using Visual Studio 14 2015 Win64 Working in D:\Projets\wireshark-win64-libs

Tag 2015-12-11 found. Skipping.

– No custom file found in D:/Projets/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.02.0.1, MaV: 2, MiV: 1, PL: 0, EV: 2.0.1. – 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 CPP__MP_VALID – Performing Test CPP__MP_VALID - Success – Checking for c++-compiler flag: /Zo – Performing Test CPP__Zo_VALID – Performing Test CPP__Zo_VALID - Success – Checking for c++-compiler flag: /w34295 /w34189 – Performing Test CPP__w34295_w34189_VALID – Performing Test CPP__w34295_w34189_VALID - Success – Performing Test WS_LD_FLAG_VALID0 – Performing Test WS_LD_FLAG_VALID0 - Failed – 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: D:/Projets/wireshark-win64-libs/AirPcap_Devpack_4_1_0_1622/Airpcap_Devpack/include
– AIRPCAP FOUND – AIRPCAP includes: D:/Projets/wireshark-win64-libs/AirPcap_Devpack_4_1_0_1622/Airpcap_Devpack/include – AIRPCAP libs: D:/Projets/wireshark-win64-libs/AirPcap_Devpack_4_1_0_1622/Airpcap_Devpack/lib/airpcap.lib – Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) – checking for one of the modules 'libcap' – Could NOT find CAP (missing: CAP_LIBRARY CAP_INCLUDE_DIR) – CAP NOT FOUND – Found CARES: D:/Projets/wireshark-win64-libs/c-ares-1.9.1-1-win64ws/lib/libcares-2.lib
– CARES FOUND – CARES includes: D:/Projets/wireshark-win64-libs/c-ares-1.9.1-1-win64ws/include – CARES libs: D:/Projets/wireshark-win64-libs/c-ares-1.9.1-1-win64ws/lib/libcares-2.lib – Found GCRYPT: D:/Projets/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: D:/Projets/wireshark-win64-libs/gnutls-3.2.15-2.9-win64ws/include – GCRYPT libs: D:/Projets/wireshark-win64-libs/gnutls-3.2.15-2.9-win64ws/bin/libgcrypt-20.lib;D:/Projets/wireshark-win64-libs/gnutls-3.2.15-2.9-win64ws/bin/libgpg-error6-0.lib – Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) – checking for one of the modules 'geoip' – Found GEOIP: D:/Projets/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: D:/Projets/wireshark-win64-libs/GeoIP-1.6.6-win64ws/include – GEOIP libs: D:/Projets/wireshark-win64-libs/GeoIP-1.6.6-win64ws/lib/libGeoIP-1.lib – Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) – checking for one of the modules 'glib-2.0>=2.14.0' – Found GLIB2: D:/Projets/wireshark-win64-libs/gtk2/lib/glib-2.0.lib
– GLIB2 FOUND – GLIB2 includes: D:/Projets/wireshark-win64-libs/gtk2/include/glib-2.0;D:/Projets/wireshark-win64-libs/gtk2/lib/glib-2.0/include – GLIB2 libs: D:/Projets/wireshark-win64-libs/gtk2/lib/glib-2.0.lib – Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) – checking for one of the modules 'gmodule-2.0' – Found GMODULE2: D:/Projets/wireshark-win64-libs/gtk2/lib/gmodule-2.0.lib
– GMODULE2 FOUND – GMODULE2 includes: D:/Projets/wireshark-win64-libs/gtk2/include/glib-2.0 – GMODULE2 libs: D:/Projets/wireshark-win64-libs/gtk2/lib/gmodule-2.0.lib – Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) – checking for one of the modules 'gnutls' – Found GNUTLS: D:/Projets/wireshark-win64-libs/gnutls-3.2.15-2.9-win64ws/bin/libgnutls-28.lib (found suitable version "3.2.15", minimum required is "2.12.0") – GNUTLS FOUND – GNUTLS includes: D:/Projets/wireshark-win64-libs/gnutls-3.2.15-2.9-win64ws/include – GNUTLS libs: D:/Projets/wireshark-win64-libs/gnutls-3.2.15-2.9-win64ws/bin/libgnutls-28.lib – Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) – checking for one of the modules 'gthread-2.0' – Found GTHREAD2: D:/Projets/wireshark-win64-libs/gtk2/lib/glib-2.0.lib
– GTHREAD2 FOUND – GTHREAD2 includes: D:/Projets/wireshark-win64-libs/gtk2/include/glib-2.0/glib – GTHREAD2 libs: D:/Projets/wireshark-win64-libs/gtk2/lib/glib-2.0.lib – Found GTK2_GTK: D:/Projets/wireshark-win64-libs/gtk2/lib/gtk-win32-2.0.lib
– GTK2 FOUND – GTK2 includes: D:/Projets/wireshark-win64-libs/gtk2/include/gtk-2.0;D:/Projets/wireshark-win64-libs/gtk2/include;D:/Projets/wireshark-win64-libs/gtk2/include/freetype2;D:/Projets/wireshark-win64-libs/gtk2/include/glib-2.0;D:/Projets/wireshark-win64-libs/gtk2/lib/glib-2.0/include;D:/Projets/wireshark-win64-libs/gtk2/include/atk-1.0;D:/Projets/wireshark-win64-libs/gtk2/include/gdk-pixbuf-2.0;D:/Projets/wireshark-win64-libs/gtk2/include/cairo;D:/Projets/wireshark-win64-libs/gtk2/include/pango-1.0;D:/Projets/wireshark-win64-libs/gtk2/lib/gtk-2.0/include – GTK2 libs: D:/Projets/wireshark-win64-libs/gtk2/lib/glib-2.0.lib;D:/Projets/wireshark-win64-libs/gtk2/lib/gobject-2.0.lib;D:/Projets/wireshark-win64-libs/gtk2/lib/atk-1.0.lib;D:/Projets/wireshark-win64-libs/gtk2/lib/gmodule-2.0.lib;D:/Projets/wireshark-win64-libs/gtk2/lib/gdk_pixbuf-2.0.lib;D:/Projets/wireshark-win64-libs/gtk2/lib/cairo.lib;D:/Projets/wireshark-win64-libs/gtk2/lib/pango-1.0.lib;D:/Projets/wireshark-win64-libs/gtk2/lib/pangocairo-1.0.lib;D:/Projets/wireshark-win64-libs/gtk2/lib/gdk-win32-2.0.lib;D:/Projets/wireshark-win64-libs/gtk2/lib/gtk-win32-2.0.lib – Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE GETTEXT_MSGFMT_EXECUTABLE) – GETTEXT NOT FOUND – Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.7.0.windows.1") – Git FOUND – Git includes: – Git libs: – Found HtmlViewer: C:/Program Files/Internet Explorer/iexplore.exe
– HTML_VIEWER NOT FOUND – Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) – checking for one of the modules 'krb5;mit-krb5;heimdal-krb5' – Found KERBEROS: D:/Projets/wireshark-win64-libs/kfw-3-2-2-x64-ws/lib/krb5_64.lib
– Looking for heimdal_version – Looking for heimdal_version - not found – KERBEROS FOUND – KERBEROS includes: D:/Projets/wireshark-win64-libs/kfw-3-2-2-x64-ws/include – KERBEROS libs: D:/Projets/wireshark-win64-libs/kfw-3-2-2-x64-ws/lib/krb5_64.lib – Found LEX: C:/Tools/Cygwin/bin/flex.exe
– LEX FOUND – LEX includes: – LEX libs: – LEX executable: C:/Tools/Cygwin/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 – Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) – 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: D:/Projets/wireshark-win64-libs/lua5.2.3/lua52.lib (found version "502") – LUA FOUND – LUA includes: D:/Projets/wireshark-win64-libs/lua5.2.3/include – LUA libs: D:/Projets/wireshark-win64-libs/lua5.2.3/lua52.lib – Could NOT find M (missing: M_LIBRARY) – M NOT FOUND – Found PCAP: D:/Projets/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: D:/Projets/wireshark-win64-libs/WpdPack/Include – PCAP libs: D:/Projets/wireshark-win64-libs/WpdPack/Lib/x64/wpcap.lib – Found POD: C:/Tools/Cygwin/bin/pod2man
– POD FOUND – POD includes: – POD libs: – Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) – checking for one of the modules 'portaudio-2.0' – Found PORTAUDIO: D:/Projets/wireshark-win64-libs/portaudio_v19_2/include
– PORTAUDIO FOUND – PORTAUDIO includes: D:/Projets/wireshark-win64-libs/portaudio_v19_2/include;D:/Projets/wireshark-win64-libs/portaudio_v19_2/src/common;D:/Projets/wireshark-win64-libs/portaudio_v19_2/src/os/win – PORTAUDIO libs: – Found Perl: C:/Tools/Cygwin/bin/perl.exe (found version "5.22.1") – PERL FOUND – Perl includes: – Perl libs: – Perl executable: C:/Tools/Cygwin/bin/perl.exe – Found PythonInterp: C:/Tools/Python/python.exe (found suitable version "2.7.11", minimum required is "2") – PYTHONINTERP FOUND – PythonInterp includes: – PythonInterp libs: – Qt5Core FOUND – Qt5Core includes: C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtCore;C:/Tools/Qt/Qt5.5.1/5.5/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:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtMultimedia;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtNetwork;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtCore;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/.//mkspecs/win32-msvc2013;C:/Tools/Qt/Qt5.5.1/5.5/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:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtPrintSupport;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtWidgets;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtGui;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtCore;C:/Tools/Qt/Qt5.5.1/5.5/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:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtSvg;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtWidgets;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtGui;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtCore;C:/Tools/Qt/Qt5.5.1/5.5/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:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtWidgets;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtGui;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtCore;C:/Tools/Qt/Qt5.5.1/5.5/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:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtWinExtras;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtGui;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtCore;C:/Tools/Qt/Qt5.5.1/5.5/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:/Tools/Cygwin/bin/sed.exe
– SED FOUND – SED includes: – SED libs: – SED executable: C:/Tools/Cygwin/bin/sed.exe – Could NOT find SETCAP (missing: SETCAP_EXECUTABLE) – SETCAP NOT FOUND – Found SH: C:/Tools/Cygwin/bin/bash.exe
– SH FOUND – SH includes: – SH libs: – SH executable: C:/Tools/Cygwin/bin/bash.exe – Found SMI: D:/Projets/wireshark-win64-libs/libsmi-svn-40773-win64ws/lib/libsmi-2.lib
– SMI FOUND – SMI includes: D:/Projets/wireshark-win64-libs/libsmi-svn-40773-win64ws/include – SMI libs: D:/Projets/wireshark-win64-libs/libsmi-svn-40773-win64ws/lib/libsmi-2.lib – Found WINSPARKLE: D:/Projets/wireshark-win64-libs/WinSparkle-0.3-44-g2c8d9d3-win64ws/WinSparkle.lib
– WINSPARKLE FOUND – WINSPARKLE includes: D:/Projets/wireshark-win64-libs/WinSparkle-0.3-44-g2c8d9d3-win64ws – WINSPARKLE libs: D:/Projets/wireshark-win64-libs/WinSparkle-0.3-44-g2c8d9d3-win64ws/WinSparkle.lib – Found YACC: C:/Tools/Cygwin/bin/bison.exe
– YACC FOUND – YACC includes: – YACC libs: – YACC executable: C:/Tools/Cygwin/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: D:/Projets/wireshark-win64-libs/zlib-1.2.8-ws;D:/Projets/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 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 inet_aton – Looking for inet_aton - not found – Looking for inet_ntop – Looking for inet_ntop - 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 - not 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 – No custom file found in D:/Projets/wireshark/asn1 – Found python module asn2wrs: D:\Projets\wireshark\tools\asn2wrs.py – Found LYNX: C:/Tools/Cygwin/bin/lynx.exe
– Found XSLTPROC: C:/Tools/Cygwin/bin/xsltproc.exe
– Found XMLLINT: C:/Tools/Cygwin/bin/xmllint.exe
– Using Cygwin a2x – Found ASCIIDOC: C:/Tools/Cygwin/bin/bash.exe;/cygdrive/d/Projets/wireshark/tools/runa2x.sh
– No custom file found in D:/Projets/wireshark/epan – Found python module make-dissector-reg: D:\Projets\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 D:/Projets/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
  • Git
  • HtmlViewer
  • KERBEROS
  • LUA
  • PCAP
  • POD
  • PORTAUDIO
  • Perl
  • Qt5Core
  • Qt5LinguistTools
  • Qt5Network (required version >= 5.5.1)
  • Qt5Gui (required version >= 5.5.1)
  • Qt5Multimedia
  • Qt5PrintSupport
  • Qt5Svg
  • Qt5Widgets
  • Qt5WinExtras
  • SH
  • SMI
  • WINSPARKLE
  • ZLIB
  • LYNX
  • SED
  • XSLTPROC
  • XMLLINT
  • ASCIIDOC
  • PythonInterp

– The following REQUIRED packages have been found:

  • PowerShell
  • GLIB2
  • GTHREAD2
  • LEX
  • YACC

– The following OPTIONAL packages have not been found:

  • CAP
  • Gettext
  • LIBSSH (required version >= 0.6) , libssh is library for ssh connections and it is needed to build sshdump ,
  • M
  • PkgConfig
  • SBC , SBC Codec for Bluetooth A2DP stream playing ,
  • SETCAP
  • YAPP
  • HTMLHelp

– Configuring done – Generating done – Build files have been written to: D:/Projets/wsbuild

(10 Feb ‘16, 09:54) Tybbow Iskow

As you can see from the CMake generation output you have used a VS2103 build of Qt:

– Qt5Core FOUND – Qt5Core includes: C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/include/QtCore;C:/Tools/Qt/Qt5.5.1/5.5/msvc2013_64/.//mkspecs/win32-msvc2013

So even if the compilation issues are fixed up, which may be down to the wrong version of Qt, it won’t run because the Qt version uses a different compiler to yours.

(11 Feb ‘16, 02:37) grahamb ♦

I forgot to mention that my working nmake build was without Qt.

(11 Feb ‘16, 06:45) Anders ♦