Wireshark-dev: Re: [Wireshark-dev] win32 build issue: "Can't find mt.exe"

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Tue, 07 Jun 2011 15:45:54 +0100
On 07/06/2011 07:08, محـســــــــنـــــــــ ایــــــــمانیـــــــــ wrote:
Hi

I've tried to buil wireshark on windows.But it has some problem with "mt.exe" and "zlib" that I couldn't resolve.

the output of "nmake -f Makefila.nmake setup" command is:

"Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Checking for required applications:
        cl: /cygdrive/c/PROGRA~1/MICROS~3/VC98/BIN/cl
        link: /cygdrive/c/PROGRA~1/MICROS~3/VC98/BIN/link
        nmake: /cygdrive/c/PROGRA~1/MICROS~3/VC98/BIN/nmake
        bash: /usr/bin/bash
        bison: /usr/bin/bison
        flex: /usr/bin/flex
        env: /usr/bin/env
        grep: /usr/bin/grep
        /usr/bin/find: /usr/bin/find
        perl: /usr/bin/perl
        sed: /usr/bin/sed
        unzip: /usr/bin/unzip
        wget: /usr/bin/wget

Can't find:  mt

ERROR: These application(s) are either not installed or simply can't be found in
 the current PATH: /cygdrive/c/PROGRA~1/MICROS~3/Common/msdev98/BIN:/cygdrive/c/
PROGRA~1/MICROS~3/VC98/BIN:/cygdrive/c/PROGRA~1/MICROS~3/Common/TOOLS/WINNT:/cyg
drive/c/PROGRA~1/MICROS~3/Common/TOOLS:/cygdrive/c/WINDOWS/system32:/cygdrive/c/
WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/Common Files
/GTK/2.0/bin:/cygdrive/c/Program Files/Microsoft SQL Server/90/Tools/binn:/cygdr
ive/c/Program Files/Microsoft Visual Studio/Common/Tools/WinNT:/cygdrive/c/Progr
am Files/Microsoft Visual Studio/Common/MSDev98/Bin:/cygdrive/c/Program Files/Mi
crosoft Visual Studio/Common/Tools:/cygdrive/c/Program Files/Microsoft Visual St
udio/VC98/bin:/usr/bin:/cygdrive/c/wireshark-win32-libs-1.4/gtk2/bin:/cygdrive/c
/bin:/cygdrive/c/wireshark-win32-libs-1.4/zlib123.

For additional help, please visit:

NMAKE : fatal error U1077: 'bash' : return code '0x1'
Stop."

What should I do?
Thanks

I think to use VC6 you'll need to install the Windows SDK to get the updated tools, including the maniifest tool mt.  To use the SDK tools after you've installed it, run "SetEnv.cmd" from your command prompt  (in SDK Bin directory) instead of "vcvars.bat".

-- 
Regards,

Graham Bloice