Wireshark-dev: Re: [Wireshark-dev] building errors for wireshark
From: Tengfei Chang <tengfei.chang@xxxxxxxxx>
Date: Mon, 1 Feb 2016 17:29:47 +0100
Thanks a lot for the quick reply!
And the output is (sorry for the long text):
I am using the git clone and the master branch without any changes.
Here is my clone command: git clone https://code.wireshark.org/review/wireshark
For the Qt version: I am using the 5.5.0. After it installed, I have 5.5.0 and 5.4.0 in the Qt folder: and I set the C:\Qt\5.5\msvc2013_64 as my QT BASE DIR
For the MSVC: I am using the 2013 version. VS2013 x64 Native Tools Command Promptis the one when I used for configuring and building wireshark.
For the MSVC: I am using the 2013 version. VS2013 x64 Native Tools Command Promptis the one when I used for configuring and building wireshark.
For my CMake generation steps: I use command cmake -DENABLE_CHM_GUIDES=on -G "Visual Studio 12 Win64" ..\wireshark
-- The C compiler identification is MSVC 18.0.31101.0
-- The CXX compiler identification is MSVC 18.0.31101.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.4.3
-- Found POWERSHELL: C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe
-- Building for win64 using Visual Studio 12 2013 Win64
Working in C:\Development\wireshark-win64-libs
Tag 2015-12-11 found. Skipping.
-- No custom file found in C:/Development/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-tengfei, MaV: 2, MiV: 1, PL: 0, EV: -tengfei.
-- 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: C:/Development/wireshark-win64-libs/AirPcap_Devpack_4_1_0_1622/Airpcap_Devpack/include
-- AIRPCAP FOUND
-- AIRPCAP includes: C:/Development/wireshark-win64-libs/AirPcap_Devpack_4_1_0_1622/Airpcap_Devpack/include
-- AIRPCAP libs: C:/Development/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: C:/Development/wireshark-win64-libs/c-ares-1.9.1-1-win64ws/lib/libcares-2.lib
-- CARES FOUND
-- CARES includes: C:/Development/wireshark-win64-libs/c-ares-1.9.1-1-win64ws/include
-- CARES libs: C:/Development/wireshark-win64-libs/c-ares-1.9.1-1-win64ws/lib/libcares-2.lib
-- Found GCRYPT: C:/Development/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:/Development/wireshark-win64-libs/gnutls-3.2.15-2.9-win64ws/include
-- GCRYPT libs: C:/Development/wireshark-win64-libs/gnutls-3.2.15-2.9-win64ws/bin/libgcrypt-20.lib;C:/Development/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: C:/Development/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:/Development/wireshark-win64-libs/GeoIP-1.6.6-win64ws/include
-- GEOIP libs: C:/Development/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: C:/Development/wireshark-win64-libs/gtk2/lib/glib-2.0.lib
-- GLIB2 FOUND
-- GLIB2 includes: C:/Development/wireshark-win64-libs/gtk2/include/glib-2.0;C:/Development/wireshark-win64-libs/gtk2/lib/glib-2.0/include
-- GLIB2 libs: C:/Development/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: C:/Development/wireshark-win64-libs/gtk2/lib/gmodule-2.0.lib
-- GMODULE2 FOUND
-- GMODULE2 includes: C:/Development/wireshark-win64-libs/gtk2/include/glib-2.0
-- GMODULE2 libs: C:/Development/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: C:/Development/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: C:/Development/wireshark-win64-libs/gnutls-3.2.15-2.9-win64ws/include
-- GNUTLS libs: C:/Development/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: C:/Development/wireshark-win64-libs/gtk2/lib/glib-2.0.lib
-- GTHREAD2 FOUND
-- GTHREAD2 includes: C:/Development/wireshark-win64-libs/gtk2/include/glib-2.0/glib
-- GTHREAD2 libs: C:/Development/wireshark-win64-libs/gtk2/lib/glib-2.0.lib
-- Found GTK2_GTK: C:/Development/wireshark-win64-libs/gtk2/lib/gtk-win32-2.0.lib
-- GTK2 FOUND
-- GTK2 includes: C:/Development/wireshark-win64-libs/gtk2/include/gtk-2.0;C:/Development/wireshark-win64-libs/gtk2/include;C:/Development/wireshark-win64-libs/gtk2/include/freetype2;C:/Users/Tengfei/Anaconda2/Library/include;C:/Development/wireshark-win64-libs/gtk2/include/glib-2.0;C:/Development/wireshark-win64-libs/gtk2/lib/glib-2.0/include;C:/Development/wireshark-win64-libs/gtk2/include/atk-1.0;C:/Development/wireshark-win64-libs/gtk2/include/gdk-pixbuf-2.0;C:/Development/wireshark-win64-libs/gtk2/include/cairo;C:/Development/wireshark-win64-libs/gtk2/include/pango-1.0;C:/Development/wireshark-win64-libs/gtk2/lib/gtk-2.0/include
-- GTK2 libs: C:/Development/wireshark-win64-libs/gtk2/lib/glib-2.0.lib;C:/Development/wireshark-win64-libs/gtk2/lib/gobject-2.0.lib;C:/Development/wireshark-win64-libs/gtk2/lib/atk-1.0.lib;C:/Development/wireshark-win64-libs/gtk2/lib/gmodule-2.0.lib;C:/Development/wireshark-win64-libs/gtk2/lib/gdk_pixbuf-2.0.lib;C:/Development/wireshark-win64-libs/gtk2/lib/cairo.lib;C:/Development/wireshark-win64-libs/gtk2/lib/pango-1.0.lib;C:/Development/wireshark-win64-libs/gtk2/lib/pangocairo-1.0.lib;C:/Development/wireshark-win64-libs/gtk2/lib/gdk-win32-2.0.lib;C:/Development/wireshark-win64-libs/gtk2/lib/gtk-win32-2.0.lib
-- Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE GETTEXT_MSGFMT_EXECUTABLE)
-- GETTEXT NOT FOUND
-- Could NOT find Git (missing: GIT_EXECUTABLE)
-- Git NOT FOUND
-- Found HtmlViewer: C:/Program Files (x86)/Google/Chrome/Application/chrome.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: C:/Development/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: C:/Development/wireshark-win64-libs/kfw-3-2-2-x64-ws/include
-- KERBEROS libs: C:/Development/wireshark-win64-libs/kfw-3-2-2-x64-ws/lib/krb5_64.lib
-- 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
-- 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: C:/Development/wireshark-win64-libs/lua5.2.3/lua52.lib (found version "502")
-- LUA FOUND
-- LUA includes: C:/Development/wireshark-win64-libs/lua5.2.3/include
-- LUA libs: C:/Development/wireshark-win64-libs/lua5.2.3/lua52.lib
-- Could NOT find M (missing: M_LIBRARY)
-- M NOT FOUND
-- Found PCAP: C:/Development/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:/Development/wireshark-win64-libs/WpdPack/Include
-- PCAP libs: C:/Development/wireshark-win64-libs/WpdPack/Lib/x64/wpcap.lib
-- Found POD: C:/cygwin64/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: C:/Development/wireshark-win64-libs/portaudio_v19_2/include
-- PORTAUDIO FOUND
-- PORTAUDIO includes: C:/Development/wireshark-win64-libs/portaudio_v19_2/include;C:/Development/wireshark-win64-libs/portaudio_v19_2/src/common;C:/Development/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.11", minimum required is "2")
-- PYTHONINTERP FOUND
-- PythonInterp includes:
-- PythonInterp libs:
-- Qt5Core FOUND
-- Qt5Core includes: C:/Qt/5.5/msvc2013_64/include/;C:/Qt/5.5/msvc2013_64/include/QtCore;C:/Qt/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:/Qt/5.5/msvc2013_64/include/;C:/Qt/5.5/msvc2013_64/include/QtMultimedia;C:/Qt/5.5/msvc2013_64/include/QtNetwork;C:/Qt/5.5/msvc2013_64/include/QtCore;C:/Qt/5.5/msvc2013_64/.//mkspecs/win32-msvc2013;C:/Qt/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:/Qt/5.5/msvc2013_64/include/;C:/Qt/5.5/msvc2013_64/include/QtPrintSupport;C:/Qt/5.5/msvc2013_64/include/QtWidgets;C:/Qt/5.5/msvc2013_64/include/QtGui;C:/Qt/5.5/msvc2013_64/include/QtCore;C:/Qt/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:/Qt/5.5/msvc2013_64/include/;C:/Qt/5.5/msvc2013_64/include/QtSvg;C:/Qt/5.5/msvc2013_64/include/QtWidgets;C:/Qt/5.5/msvc2013_64/include/QtGui;C:/Qt/5.5/msvc2013_64/include/QtCore;C:/Qt/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:/Qt/5.5/msvc2013_64/include/;C:/Qt/5.5/msvc2013_64/include/QtWidgets;C:/Qt/5.5/msvc2013_64/include/QtGui;C:/Qt/5.5/msvc2013_64/include/QtCore;C:/Qt/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:/Qt/5.5/msvc2013_64/include/;C:/Qt/5.5/msvc2013_64/include/QtWinExtras;C:/Qt/5.5/msvc2013_64/include/QtGui;C:/Qt/5.5/msvc2013_64/include/QtCore;C:/Qt/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:/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:/Development/wireshark-win64-libs/libsmi-svn-40773-win64ws/lib/libsmi-2.lib
-- SMI FOUND
-- SMI includes: C:/Development/wireshark-win64-libs/libsmi-svn-40773-win64ws/include
-- SMI libs: C:/Development/wireshark-win64-libs/libsmi-svn-40773-win64ws/lib/libsmi-2.lib
-- Found WINSPARKLE: C:/Development/wireshark-win64-libs/WinSparkle-0.3-44-g2c8d9d3-win64ws/WinSparkle.lib
-- WINSPARKLE FOUND
-- WINSPARKLE includes: C:/Development/wireshark-win64-libs/WinSparkle-0.3-44-g2c8d9d3-win64ws
-- WINSPARKLE libs: C:/Development/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:/Development/wireshark-win64-libs/zlib-1.2.8-ws;C:/Development/wsbuild64/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 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 - 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 C:/Development/wireshark/asn1
-- Found python module asn2wrs: C:\Development\wireshark\tools\asn2wrs.py
-- Found LYNX: C:/cygwin64/bin/lynx.exe
-- Found XSLTPROC: C:/cygwin64/bin/xsltproc.exe
-- Found XMLLINT: C:/cygwin64/bin/xmllint.exe
-- Using Cygwin a2x
-- Found ASCIIDOC: C:/cygwin64/bin/bash.exe;/cygdrive/c/Development/wireshark/tools/runa2x.sh
-- No custom file found in C:/Development/wireshark/epan
-- Found python module make-dissector-reg: C:\Development\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:/Development/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
* 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
* Git
* LIBSSH (required version >= 0.6) , libssh is library for ssh connections and it is needed to build sshdump , <www: https://www.libssh.org/get-it/>
* M
* PkgConfig
* SBC , SBC Codec for Bluetooth A2DP stream playing , <www: http://git.kernel.org/cgit/bluetooth/sbc.git>
* SETCAP
* YAPP
* HTMLHelp
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Development/wsbuild64
On Mon, Feb 1, 2016 at 4:38 PM, Graham Bloice <graham.bloice@xxxxxxxxxxxxx> wrote:
Are you using a git clone and the master branch, some other branch or a tarball? Have you made any modifications to the sources?On 1 February 2016 at 15:30, Tengfei Chang <tengfei.chang@xxxxxxxxx> wrote:Dear all,Recently I am trying to build my own wireshark. I followed with the tutorial here: https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.htmlEverything works fine before I build it, where I got tons of errors. All the errors seem point to this file: C:\Development\wsbuild64\ui\qt\qtui.vcxprojThis is my setting:set CYGWIN=nodosfilewarningset WIRESHARK_BASE_DIR=C:\Developmentset WIRESHARK_TARGET_PLATFORM=win64set QT5_BASE_DIR=C:\Qt\5.5\msvc2013_64set WIRESHARK_VERSION_EXTRA=-tengfeicd C:\Development\wsbuild64cmake -DENABLE_CHM_GUIDES=on -G "Visual Studio 12 Win64" ..\wiresharkFollowing are the part of the erros when I excutemsbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln(there are too many of them so I just past part of them, but if you see the error information, all goes this file: C:\Development\wsbuild64\ui\qt\qtui.vcxproj)...C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(103): error C2270: 'expandingDirections' : modifiers not allowed on nonmember functions(C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(108): error C2065: 'bits' : undeclared identifier (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(108): error C2228: left of '.hfw' must have class/struct/union (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(109): error C2270: 'hasHeightForWidth' : modifiers not allowed on nonmember functions (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(109): error C2065: 'bits' : undeclared identifier (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(109): error C2228: left of '.hfw' must have class/struct/union (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(110): error C2065: 'bits' : undeclared identifier (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(110): error C2228: left of '.wfh' must have class/struct/union (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(111): error C2270: 'hasWidthForHeight' : modifiers not allowed on nonmember functions (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(111): error C2065: 'bits' : undeclared identifier (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(111): error C2228: left of '.wfh' must have class/struct/union (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(113): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(113): error C2143: syntax error : missing ',' before '&' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(113): error C2270: '==' : modifiers not allowed on nonmember functions (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(113): error C2803: 'operator ==' must have at least one formal parameter of class type (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(113): error C2805: binary 'operator ==' has too few parameters (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(113): error C2065: 'data' : undeclared identifier (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(113): error C2065: 's' : undeclared identifier (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(113): error C2228: left of '.data' must have class/struct/union (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(114): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(114): error C2143: syntax error : missing ',' before '&' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(114): error C2270: '!=' : modifiers not allowed on nonmember functions (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(114): error C2803: 'operator !=' must have at least one formal parameter of class type (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(114): error C2805: binary 'operator !=' has too few parameters (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(114): error C2065: 'data' : undeclared identifier (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(114): error C2065: 's' : undeclared identifier (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(114): error C2228: left of '.data' must have class/struct/union (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(115): error C2270: '.?AVQVariant@@' : modifiers not allowed on nonmember functions (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(115): error C2801: 'operator QVariant' must be a non-static member (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(117): error C2270: 'horizontalStretch' : modifiers not allowed on nonmember functions (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(117): error C2065: 'bits' : undeclared identifier (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(117): error C2228: left of '.horStretch' must have class/struct/union (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(118): error C2270: 'verticalStretch' : modifiers not allowed on nonmember functions (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(118): error C2065: 'bits' : undeclared identifier (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(118): error C2228: left of '.verStretch' must have class/struct/union (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(119): error C2065: 'bits' : undeclared identifier (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(119): error C2228: left of '.horStretch' must have class/struct/union (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(120): error C2065: 'bits' : undeclared identifier (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(120): error C2228: left of '.verStretch' must have class/struct/union (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(122): error C2270: 'retainSizeWhenHidden' : modifiers not allowed on nonmember functions(C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(122): error C2065: 'bits' : undeclared identifier (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(122): error C2228: left of '.retainSizeWhenHidden' must have class/struct/union (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(123): error C2065: 'bits' : undeclared identifier (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(123): error C2228: left of '.retainSizeWhenHidden' must have class/struct/union (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(128): error C2059: syntax error : 'private' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(130): error C2255: 'friend' : not allowed outside of a class definition (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(130): error C2143: syntax error : missing ';' before '&' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(130): error C2079: 'QDataStream' uses undefined class 'Q_WIDGETS_EXPORT' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(130): error C2059: syntax error : ',' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(131): error C2255: 'friend' : not allowed outside of a class definition (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(131): error C2143: syntax error : missing ';' before '&' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(131): error C2079: 'QDataStream' uses undefined class 'Q_WIDGETS_EXPORT' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(131): error C2086: 'int QDataStream' : redefinition (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(131): error C2059: syntax error : ',' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(133): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(133): error C2365: 'QSizePolicy' : redefinition; previous definition was 'data variable'(C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(133): error C2550: 'QSizePolicy' : constructor initializer lists are only allowed on constructor definitions (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(148): error C2646: an anonymous union at global or namespace scope must be declared static (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(149): error C2059: syntax error : '}' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(149): error C2143: syntax error : missing ';' before '}' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(155): error C2825: 'QSizePolicy': must be a class or namespace when followed by '::' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(155): error C2143: syntax error : missing ',' before 'QFlags<ControlType>::enum_type' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(155): error C2977: 'QFlags' : too many template arguments (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(155): error C2143: syntax error : missing ')' before 'QFlags<ControlType>::enum_type' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(155): error C2433: '|' : 'inline' not permitted on data declarations (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(155): error C2365: 'operator |' : redefinition; previous definition was 'function' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(155): error C2550: '??__E|@@YAXXZ' : constructor initializer lists are only allowed on constructor definitions (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(155): error C2514: 'QFlags' : class has no constructors (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(155): error C2059: syntax error : ')' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(155): error C2143: syntax error : missing ';' before '{' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(155): error C2447: '{' : missing function header (old-style formal list?) (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(155): error C2059: syntax error : '}' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(159): error C2143: syntax error : missing ';' before '&' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(159): error C2079: 'QDataStream' uses undefined class 'Q_WIDGETS_EXPORT' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(159): error C2086: 'int QDataStream' : redefinition (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(159): error C2059: syntax error : ',' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(163): error C2143: syntax error : missing ';' before '<<' (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]C:\Qt\5.5\msvc2013_64\include\QtWidgets/qsizepolicy.h(163): fatal error C1003: error count exceeds 100; stopping compilation (C:\Development\wireshark\ui\qt\wlan_statistics_dialog.cpp) [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]Can you post the output of the CMake generation step, e.g. CMake -G ... 2&>1 > cmake.txt.--Graham Bloice
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives: https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
- Follow-Ups:
- Re: [Wireshark-dev] building errors for wireshark
- From: Graham Bloice
- Re: [Wireshark-dev] building errors for wireshark
- References:
- [Wireshark-dev] building errors for wireshark
- From: Tengfei Chang
- Re: [Wireshark-dev] building errors for wireshark
- From: Graham Bloice
- [Wireshark-dev] building errors for wireshark
- Prev by Date: Re: [Wireshark-dev] building errors for wireshark
- Next by Date: Re: [Wireshark-dev] building errors for wireshark
- Previous by thread: Re: [Wireshark-dev] building errors for wireshark
- Next by thread: Re: [Wireshark-dev] building errors for wireshark
- Index(es):