Wireshark-dev: Re: [Wireshark-dev] building errors for wireshark
From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Mon, 1 Feb 2016 15:38:45 +0000
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]
Are you using a git clone and the master branch, some other branch or a tarball? Have you made any modifications to the sources?
Can you post the output of the CMake generation step, e.g. CMake -G ... 2&>1 > cmake.txt.
--
Graham Bloice
- Follow-Ups:
- Re: [Wireshark-dev] building errors for wireshark
- From: Tengfei Chang
- Re: [Wireshark-dev] building errors for wireshark
- References:
- [Wireshark-dev] building errors for wireshark
- From: Tengfei Chang
- [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):