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 not seem to be that. (C:\Development\wireshark\ui\qt\stats_tree_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\wlan_statistics_dialog.cpp) [C:\Development\wsbuild32\ui\qt\qtui.vcxproj]
"C:\Development\wsbuild32\Wireshark.sln" (default target) (1) ->
"C:\Development\wsbuild32\wsutil\wsutil.vcxproj.metaproj" (default target) (80) ->
"C:\Development\wsbuild32\wsutil\wsutil.vcxproj" (default target) (114) ->
C:\Development\wireshark\wsutil\filesystem.c(1451): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
C:\Development\wireshark\wsutil\filesystem.c(1452): error C2065: 'ret' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
C:\Development\wireshark\wsutil\filesystem.c(1454): error C2065: 'ret' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
C:\Development\wireshark\wsutil\filesystem.c(1588): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
C:\Development\wireshark\wsutil\filesystem.c(1589): error C2143: syntax error : missing ';' before 'type' [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
C:\Development\wireshark\wsutil\filesystem.c(1591): error C2065: 'profile_dir' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
C:\Development\wireshark\wsutil\filesystem.c(1592): error C2065: 'ret' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
C:\Development\wireshark\wsutil\filesystem.c(1592): error C2065: 'profile_dir' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
C:\Development\wireshark\wsutil\filesystem.c(1595): error C2065: 'profile_dir' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
C:\Development\wireshark\wsutil\filesystem.c(1596): error C2065: 'ret' : undeclared identifier [C:\Development\wsbuild32\wsutil\wsutil.vcxproj]
16 Warning(s)
240 Error(s)
Could you please help me to resolve this issue?
Regards, Shruthi