Ask Your Question
0

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

asked 2020-11-18 01:59:25 +0000

rocketv gravatar image

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)
edit retag flag offensive close merge delete

Comments

Was this working previously? What version of Wireshark are you building?

Chuckc gravatar imageChuckc ( 2020-11-18 03:11:32 +0000 )edit

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.

rocketv gravatar imagerocketv ( 2020-11-18 04:41:52 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-11-18 08:28:32 +0000

grahamb gravatar image

Note that the "official" builds of 3.4.x are made with VS 2019.

Please run the CMake generation step and the build step again, redirecting the output of each to a text file by appending ... 2>&1 > file.txt to each command and then putting those text files on a public share and posting a link to the files back here.

edit flag offensive delete link more

Comments

I've setup and rerun this again with VS 2019 and it works. Please close this question. Thanks.

rocketv gravatar imagerocketv ( 2020-12-01 23:18:01 +0000 )edit

@rocketv I've converted my comment to an answer as that seemed to be the suggestion that helped solve your issue.

We don't close answered questions here, instead accept the answer by clicking the checkmark icon to the left of it. This helps others who may have a similar question.

grahamb gravatar imagegrahamb ( 2020-12-02 11:12:12 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-11-18 01:59:25 +0000

Seen: 1,317 times

Last updated: Nov 18 '20