How to fix "error MSB6006: "cmd.exe" exited with code -1073741819." when building Wireshark? 4 modules failed with the same error ui.vcxproj, dfilter.vcxproj, wiretap.vcxproj and text2pcap.vcxproj
Build FAILED.
"C:\temp\wireshark\Development\wsbuild64\Wireshark.sln" (default target) (1) ->
"C:\temp\wireshark\Development\wsbuild64\epan\dfilter\dfilter.vcxproj.metaproj" (default target) (16) ->
"C:\temp\wireshark\Development\wsbuild64\epan\dfilter\dfilter.vcxproj" (default target) (102) ->
(CustomBuild target) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5): error MSB6006: "cmd.exe" exited with code -1073741819. [C:\temp\wireshark\Development\wsbuild64\epan\dfilter\dfilter.vcxproj]
"C:\temp\wireshark\Development\wsbuild64\Wireshark.sln" (default target) (1) ->
"C:\temp\wireshark\Development\wsbuild64\ALL_BUILD.vcxproj.metaproj" (default target) (3) ->
"C:\temp\wireshark\Development\wsbuild64\plugins\epan\stats_tree\stats_tree.vcxproj.metaproj" (default target) (73) ->
"C:\temp\wireshark\Development\wsbuild64\wiretap\wiretap.vcxproj.metaproj" (default target) (74) ->
"C:\temp\wireshark\Development\wsbuild64\wiretap\wiretap.vcxproj" (default target) (104) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5): error MSB6006: "cmd.exe" exited with code -1073741819. [C:\temp\wireshark\Development\wsbuild64\wiretap\wiretap.vcxproj]
"C:\temp\wireshark\Development\wsbuild64\Wireshark.sln" (default target) (1) ->
"C:\temp\wireshark\Development\wsbuild64\ALL_BUILD.vcxproj.metaproj" (default target) (3) ->
"C:\temp\wireshark\Development\wsbuild64\text2pcap.vcxproj.metaproj" (default target) (75) ->
"C:\temp\wireshark\Development\wsbuild64\text2pcap.vcxproj" (default target) (129) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5): error MSB6006: "cmd.exe" exited with code -1073741819. [C:\temp\wireshark\Development\wsbuild64\text2pcap.vcxproj]
"C:\temp\wireshark\Development\wsbuild64\Wireshark.sln" (default target) (1) ->
"C:\temp\wireshark\Development\wsbuild64\ALL_BUILD.vcxproj.metaproj" (default target) (3) ->
"C:\temp\wireshark\Development\wsbuild64\tshark.vcxproj.metaproj" (default target) (82) ->
"C:\temp\wireshark\Development\wsbuild64\ui\ui.vcxproj.metaproj" (default target) (84) ->
"C:\temp\wireshark\Development\wsbuild64\ui\ui.vcxproj" (default target) (131) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5): error MSB6006: "cmd.exe" exited with code -1073741819. [C:\temp\wireshark\Development\wsbuild64\ui\ui.vcxproj]
0 Warning(s)
4 Error(s)
Was this working previously? What version of Wireshark are you building?
This is the first time I am trying to build it. I am guessing that I may be missing some tools or have the wrong path. I am trying to build Wireshark version 3.4.0 with Visual Studio 2017. Thanks.