Wireshark-dev: Re: [Wireshark-dev] tshark (Windows) not working

From: Bill Meier <wmeier@xxxxxxxxxxx>
Date: Mon, 10 May 2010 15:42:30 -0400
Maynard, Chris wrote:
Actually, the SDK upgrade was done because I was seeing some other mt.exe errors I hadn’t seen before such as “–n” option not supported when parsing the –nologo argument.  Obviously the problem below is due to the missing zlib1.dll.manifest file.  I am current as far as “nmake –f Makefile.nmake setup” is concerned.


From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Maynard, Chris
Sent: Monday, May 10, 2010 1:05 PM
To: 'Developer support list for Wireshark'
Subject: Re: [Wireshark-dev] tshark (Windows) not working

Currently I am unable to even get that far.  I’m at SVN32735 on Windows XP SP3 (32-bit) with cygwin 1.7.5(0.225/5/3), and after a “distclean”, compiling with VS2008EE fails due to a zlib-related manifest error.  Here’s the relevant output:

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

'zlib1.dll' is up-to-date
        if not exist C:\wireshark-win32-libs\zlib123 mkdir C:\wireshark-win32-libs\zlib123
        if not exist C:\wireshark-win32-libs\zlib123\lib mkdir C:\wireshark-win32-libs\zlib123\lib
        if not exist C:\wireshark-win32-libs\zlib123\include mkdir C:\wireshark-win32-libs\zlib123\include
        mt.exe -nologo -manifest "zlib1.dll.manifest" -outputresource:zlib1.dll;2

zlib1.dll.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe"' : return code '0x1f'
Stop.

In case it was due to the SDK, I tried to update it to the latest from here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&displaylang=en

… but no luck:

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

'zlib1.dll' is up-to-date
        if not exist C:\wireshark-win32-libs\zlib123 mkdir C:\wireshark-win32-libs\zlib123
        if not exist C:\wireshark-win32-libs\zlib123\lib mkdir C:\wireshark-win32-libs\zlib123\lib
        if not exist C:\wireshark-win32-libs\zlib123\include mkdir C:\wireshark-win32-libs\zlib123\include
        mt.exe -nologo -manifest "zlib1.dll.manifest" -outputresource:zlib1.dll;2

zlib1.dll.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft SDKs\Windows\v7.0\bin\mt.exe"' : return code '0x1f'
Stop.

Anyone else seeing this?
- Chris


Note: A while back I found that VS2010 (VC10) no longer generates manifest files as a default. (search for previous -dev EMails on using VC10).

Did updating the SDK update the compilier ??

From your link above ...

The Windows SDK for Windows 7 and .NET Framework 3.5 SP1 provides the documentation, samples, header files, libraries, and tools (including C++ compilers) ....


Bill