Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Error while building NSIS package

From: Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx>
Date: Tue, 14 May 2019 13:45:49 +0100
As the last step of building a Windows package, I ran
    msbuild /m /p:Configuration=RelWithDebInfo nsis_package.vcxproj

and got the error below.  There are lots of libs in C:\Development\wsbuild64\run\RelWithDebInfo, but no  libglib-2.0-0.dll

I can't see that anything obvious has changed in https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html, which my instructions are based upon.

Best regards,
Martin




         !include: "all-manifest.nsh" (ACP)
         File: "C:\Development\wsbuild64\run\RelWithDebInfo\libglib-2.0-0.dll" -> no files found.
         Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
            /_oname_=outfile one_file_only)
         !include: error in script: "all-manifest.nsh" on line 2
         Error in script "wireshark.nsi" on line 489 -- aborting creation process
     1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1. [C:\De
       velopment\wsbuild64\nsis_package.vcxproj]
     1>Done Building Project "C:\Development\wsbuild64\nsis_package.vcxproj" (default targets) -- FAILED.

Build FAILED.

       "C:\Development\wsbuild64\nsis_package.vcxproj" (default target) (1) ->
       (CustomBuild target) ->
         C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1. [C:\
       Development\wsbuild64\nsis_package.vcxproj]

    0 Warning(s)
    1 Error(s)