MSBuild build error MSB6006 on latest version
I'm trying to build the latest version of WireShark on Windows 64. I'm not a specialist, but I followed the steps described on this page. I've installed the cygwin tools as I didn't understand if it is still necessary.
I have the following setup:
- VS2015
- Qt5.10.1
- Cygwin
- Python3.6.5
- Git for windows -CMake 3.11.0
- Asciidoctor, Xsltproc, And DocBook
Everything seems fine until the moment when I'm when running the following command:
msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln
The I get the following errors:
FinalizeBuildStatus:
Deleting file "udpdump.dir\RelWithDebInfo\udpdump.tlog\unsuccessfulbuild".
Touching "udpdump.dir\RelWithDebInfo\udpdump.tlog\udpdump.lastbuildstate".
Done Building Project "C:\tmp\wsbuild64\udpdump.vcxproj" (default targets).
Done Building Project "C:\tmp\wsbuild64\udpdump.vcxproj.metaproj" (default targets).
Done Building Project "C:\tmp\wsbuild64\ALL_BUILD.vcxproj.metaproj" (default targets) -- FAILED.
Done Building Project "C:\tmp\wsbuild64\Wireshark.sln" (default targets) -- FAILED.
Build FAILED.
"C:\tmp\wsbuild64\Wireshark.sln" (default target) (1) ->
"C:\tmp\wsbuild64\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
"C:\tmp\wsbuild64\androiddump.vcxproj.metaproj" (default target) (4) ->
"C:\tmp\wsbuild64\wiretap\wiretap.vcxproj.metaproj" (default target) (7) ->
"C:\tmp\wsbuild64\version.vcxproj.metaproj" (default target) (8) ->
"C:\tmp\wsbuild64\version.vcxproj" (default target) (9) ->
(CustomBuild target) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" e
xited with code 9009. [C:\tmp\wsbuild64\version.vcxproj]
"C:\tmp\wsbuild64\Wireshark.sln" (default target) (1) ->
"C:\tmp\wsbuild64\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
"C:\tmp\wsbuild64\copy_data_files.vcxproj.metaproj" (default target) (24) ->
"C:\tmp\wsbuild64\doc\docs.vcxproj.metaproj" (default target) (25) ->
"C:\tmp\wsbuild64\doc\docs.vcxproj" (default target) (26) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" e
xited with code 9009. [C:\tmp\wsbuild64\doc\docs.vcxproj]
"C:\tmp\wsbuild64\Wireshark.sln" (default target) (1) ->
"C:\tmp\wsbuild64\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
"C:\tmp\wsbuild64\copy_data_files.vcxproj.metaproj" (default target) (24) ->
"C:\tmp\wsbuild64\epan\wslua\wsluaauxiliary.vcxproj.metaproj" (default target) (27) ->
"C:\tmp\wsbuild64\epan\wslua\wsluaauxiliary.vcxproj" (default target) (28) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" e
xited with code 9009. [C:\tmp\wsbuild64\epan\wslua\wsluaauxiliary.vcxproj]
"C:\tmp\wsbuild64\Wireshark.sln" (default target) (1) ->
"C:\tmp\wsbuild64\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
"C:\tmp\wsbuild64\copy_qt_dlls.vcxproj.metaproj" (default target) (29) ->
"C:\tmp\wsbuild64\wireshark.vcxproj.metaproj" (default target) (30) ->
"C:\tmp\wsbuild64\epan\epan.vcxproj.metaproj" (default target) (31) ->
"C:\tmp\wsbuild64\epan\wslua\wslua.vcxproj.metaproj" (default target) (50) ->
"C:\tmp\wsbuild64\epan\wslua\wslua.vcxproj" (default target) (51) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error ...