# Not able to build the wireshark

Hi,

Iam trying to build the wireshark in my windows 7 machine with Qt 5.10.0 and Visual Studio community 2015 version.I followed the Win32/64: Step-by-Step Guide for the same.It is able to build the files till the section (2.2.10. Generate the build files).

But i tried the build the wireshark using the command (msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln) it throws 240 errors regrading the compiler versions.

it is failing like this(below is the last part of the log file)

   C:\Qt\5.10.0\msvc2017_64\include\QtCore/qcompilerdetection.h(567): fatal error C1189: #error :  Qt requires a C++11 compiler and yours does not seem to be that. (C:\Development\wireshark\ui\qt\extcap_argument_multiselect.cpp) [C:\Development\wsbuild32\ui\qt\qtui.vcxproj]
C:\Qt\5.10.0\msvc2017_64\include\QtCore/qcompilerdetection.h(567): fatal error C1189: #error :  Qt requires a C++11 compiler and yours does not seem to be that. (C:\Development\wireshark\ui\qt\extcap_argument_file.cpp) [C:\Development\wsbuild32\ui\qt\qtui.vcxproj]
C:\Qt\5.10.0\msvc2017_64\include\QtCore/qcompilerdetection.h(567): fatal error C1189: #error :  Qt requires a C++11 compiler and yours does not seem to be that. (C:\Development\wireshark\ui\qt\expert_info_dialog.cpp) [C:\Development\wsbuild32\ui\qt\qtui.vcxproj]
C:\Qt\5.10.0\msvc2017_64\include\QtCore/qcompilerdetection.h(567): fatal error C1189: #error :  Qt requires a C++11 compiler and yours does not seem to be that. (C:\Development\wireshark\ui\qt\extcap_options_dialog.cpp) [C:\Development\wsbuild32\ui\qt\qtui.vcxproj]
C:\Qt\5.10.0\msvc2017_64\include\QtCore/qcompilerdetection.h(567): fatal error C1189: #error :  Qt requires a C++11 compiler and yours does not seem to be that. (C:\Development\wireshark\ui\qt\gsm_map_summary_dialog.cpp) [C:\Development\wsbuild32\ui\qt\qtui.vcxproj]
C:\Qt\5.10.0\msvc2017_64\include\QtCore/qcompilerdetection.h(567): fatal error C1189: #error :  Qt requires a C++11 compiler and yours does not seem to be that. (C:\Development\wireshark\ui\qt\mtp3_summary_dialog.cpp) [C:\Development\wsbuild32\ui\qt\qtui.vcxproj]
C:\Qt\5.10.0\msvc2017_64\include\QtCore/qcompilerdetection.h(567): fatal error C1189: #error :  Qt requires a C++11 compiler and yours does not seem to be that. (C:\Development\wireshark\ui\qt\funnel_statistics.cpp) [C:\Development\wsbuild32\ui\qt\qtui.vcxproj]
C:\Qt\5.10.0\msvc2017_64\include\QtCore/qcompilerdetection.h(567): fatal error C1189: #error :  Qt requires a C++11 compiler and yours does not seem to be that. (C:\Development\wireshark\ui\qt\io_graph_dialog.cpp) [C:\Development\wsbuild32\ui\qt\qtui.vcxproj]
C:\Qt\5.10.0\msvc2017_64\include\QtCore/qcompilerdetection.h(567): fatal error C1189: #error :  Qt requires a C++11 compiler and yours does not seem to be that. (C:\Development\wireshark\ui\qt\multicast_statistics_dialog.cpp) [C:\Development\wsbuild32\ui\qt\qtui.vcxproj]
C:\Qt\5.10.0\msvc2017_64\include\QtCore/qcompilerdetection.h(567): fatal error C1189: #error :  Qt requires a C++11 compiler and yours does ...
edit retag close merge delete

Sort by » oldest newest most voted

From the paths show it would seem that you have downloaded\installed Qt for use with VS 2017. You must match the build of Qt with the version of Visual Studio you are using.

more