72>Done Building Project "D:\Development\msbuild64\wireshark-gtk.vcxproj.metaproj" (default targets).
140>PostBuildEvent:
setlocal
C:\ProgramData\chocolatey\lib\cmake.portable\tools\cmake-3.7.2-win32-x86\bin\cmake.exe -E copy_if_different D:/Development/WireShark/ipmap.html D:/Development/msbuild64/run/RelWithDebInfo
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
:VCEnd
FinalizeBuildStatus:
Deleting file "wireshark.dir\RelWithDebInfo\wireshark.tlog\unsuccessfulbuild".
Touching "wireshark.dir\RelWithDebInfo\wireshark.tlog\wireshark.lastbuildstate".
140>Done Building Project "D:\Development\msbuild64\wireshark.vcxproj" (default targets).
71>Done Building Project "D:\Development\msbuild64\wireshark.vcxproj.metaproj" (default targets).
1>Project "D:\Development\msbuild64\Wireshark.sln" (1) is building "D:\Development\msbuild64\copy_qt_dlls.vcxproj.metaproj" (13) on node 1 (default targets).
13>Project "D:\Development\msbuild64\copy_qt_dlls.vcxproj.metaproj" (13) is building "D:\Development\msbuild64\copy_qt_dlls.vcxproj" (157) on node 2 (default targets).
157>InitializeBuildStatus:
Touching "x64\RelWithDebInfo\copy_qt_dlls\copy_qt_dlls.tlog\unsuccessfulbuild".
CustomBuild:
All outputs are up-to-date.
PostBuildEvent:
setlocal
set PATH=%PATH%;C:/Qt/Qt5.6.2/5.6/msvc2013_64/bin
if %errorlevel% neq 0 goto :cmEnd
C:\Qt\Qt5.6.2\5.6\msvc2013_64\bin\windeployqt.exe --release --no-compiler-runtime --verbose 10 D:/Development/msbuild64/run/RelWithDebInfo/Wireshark.exe
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
:VCEnd
157>EXEC : warning : Unable to read \cygdrive\c\Qt\Qt5.6.2\5.6\msvc2013_64\mkspecs\qconfig.pri: The system cannot find the path specified. [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
Unsupported platform cygwin-g++
157>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: The command "setlocal [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: set PATH=%PATH%;C:/Qt/Qt5.6.2/5.6/msvc2013_64/bin [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: C:\Qt\Qt5.6.2\5.6\msvc2013_64\bin\windeployqt.exe --release --no-compiler-runtime --verbose 10 D:/Development/msbuild64/run/RelWithDebInfo/Wireshark.exe [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmEnd [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmErrorLevel [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: exit /b %1 [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmDone [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :VCEnd" exited with code 1. [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
157>Done Building Project "D:\Development\msbuild64\copy_qt_dlls.vcxproj" (default targets) -- FAILED.
13>Done Building Project "D:\Development\msbuild64\copy_qt_dlls.vcxproj.metaproj" (default targets) -- FAILED.
2>Done Building Project "D:\Development\msbuild64\ALL_BUILD.vcxproj.metaproj" (default targets) -- FAILED.
1>Done Building Project "D:\Development\msbuild64\Wireshark.sln" (default targets) -- FAILED.
Build FAILED.
"D:\Development\msbuild64\Wireshark.sln" (default target) (1) ->
"D:\Development\msbuild64\copy_qt_dlls.vcxproj.metaproj" (default target) (13) ->
"D:\Development\msbuild64\copy_qt_dlls.vcxproj" (default target) (157) ->
(PostBuildEvent target) ->
EXEC : warning : Unable to read \cygdrive\c\Qt\Qt5.6.2\5.6\msvc2013_64\mkspecs\qconfig.pri: The system cannot find the path specified. [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
"D:\Development\msbuild64\Wireshark.sln" (default target) (1) ->
"D:\Development\msbuild64\docbook\developer_guide_chm.vcxproj.metaproj" (default target) (15) ->
"D:\Development\msbuild64\docbook\developer_guide_chm.vcxproj" (default target) (100) ->
(CustomBuild target) ->
CUSTOMBUILD : I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd [D:\Development\msbuild64\docbook\developer_guide_chm.vcxproj]
"D:\Development\msbuild64\Wireshark.sln" (default target) (1) ->
"D:\Development\msbuild64\docbook\release_notes_html.vcxproj.metaproj" (default target) (51) ->
"D:\Development\msbuild64\docbook\release_notes_html.vcxproj" (default target) (106) ->
a2x : error : "xmllint" --nonet --noout --valid "/cygdrive/d/Development/msbuild64/docbook/release-notes.xml" returned non-zero exit status 4 [D:\Development\msbuild64\docbook\release_notes_html.vcxproj]
"D:\Development\msbuild64\Wireshark.sln" (default target) (1) ->
"D:\Development\msbuild64\docbook\user_guide_chm.vcxproj.metaproj" (default target) (64) ->
"D:\Development\msbuild64\docbook\user_guide_chm.vcxproj" (default target) (133) ->
CUSTOMBUILD : I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd [D:\Development\msbuild64\docbook\user_guide_chm.vcxproj]
"D:\Development\msbuild64\Wireshark.sln" (default target) (1) ->
"D:\Development\msbuild64\copy_qt_dlls.vcxproj.metaproj" (default target) (13) ->
"D:\Development\msbuild64\copy_qt_dlls.vcxproj" (default target) (157) ->
(PostBuildEvent target) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: The command "setlocal [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: set PATH=%PATH%;C:/Qt/Qt5.6.2/5.6/msvc2013_64/bin [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: C:\Qt\Qt5.6.2\5.6\msvc2013_64\bin\windeployqt.exe --release --no-compiler-runtime --verbose 10 D:/Development/msbuild64/run/RelWithDebInfo/Wireshark.exe [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmEnd [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmErrorLevel [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: exit /b %1 [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmDone [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :VCEnd" exited with code 1. [D:\Development\msbuild64\copy_qt_dlls.vcxproj]
1 Warning(s)
4 Error(s)</code></pre><p><a href="https://drive.google.com/open?id=0B9dMRjnjjypGLWNONW90ci15bEU">msbuilt.txt</a> as the complete Log</p></div><div id="question-tags" class="tags-container tags"><span class="post-tag tag-link-build_error" rel="tag" title="see questions tagged 'build_error'">build_error</span> <span class="post-tag tag-link-msbuild" rel="tag" title="see questions tagged 'msbuild'">msbuild</span> <span class="post-tag tag-link-wireshark-2.2.5" rel="tag" title="see questions tagged 'wireshark-2.2.5'">wireshark-2.2.5</span></div><div id="question-controls" class="post-controls"></div><div class="post-update-info-container"><div class="post-update-info post-update-info-user"><p>asked <strong>31 Mar '17, 02:32</strong></p><img src="https://secure.gravatar.com/avatar/600778689935688cd4eaaa966e880cae?s=32&d=identicon&r=g" class="gravatar" width="32" height="32" alt="DhanuShalz's gravatar image" /><p><span>DhanuShalz</span><br />
36●10●11●15
accept rate: 100%
path.txt
@grahamb
You have quite a few items on your path that are likely to be causing issues. The ones I noticed are:
and you have elements of VS2008 (Visual Studio 9.0) on the path, those should be removed.
There is also no need to have the Wireshark win64-libs-2.2 directory on the path although that shouldn't hurt.
@grahamb it didn't work, still getting the same error!
Did you delete CMakeCache.txt in your build directory, or the entire build directory, and then in either case rerun the CMake generation step?
i have deleted the directory and re-ran it again, but facing the same ERRORS
As you still seem to have issues with your path, I've backported this change to 2.2 to ensure the required Qt bin directory is added to the front of the path. This should fix the windeployqt issue.
You'll need to update your sources from Git, ensure you have change 959bc4cf (
git log 959bc4cf
), delete your build dir and re-run cmake and msbuild.@grahamb
As you mention i just took the latest git revision
I am facing some new errors on building the fresh source code. the errors are as bleow:
Build FAILED.
Time Elapsed 00:00:05.58
Still seems to be issues with the definitions of guint32 and guint16 in a very similar manner to this question.
As I noted there I can’t see why that is failing.
Can you post the earlier errors from the build file where the actual compile commands are of packet-usb-i1d3 and packet-ipv6.c?
reached till a point were im facing the MSB3073 error:
the cmake log and msbuild log is below
cmake
msbuild
You build is still failing to run windeployqt:
And I can see from the build output that you’re not using the current source as the setup to run windeployqt is using the older version that adds the Qt bin directory to the end of the path instead of at the front as the latest source does:
Please update your source tree to the latest master-2.2, re-run CMake and then rebuild.
Re-installation of QT resolved the error