Wireshark-dev: Re: [Wireshark-dev] Wireshark v1.7.0 build issue with MSVC 2005
From: wsgd <[email protected]>
Date: Thu, 14 Jul 2011 12:01:48 +0200
Le 14/07/2011 06:10, Pradip Biswas a écrit :



From: wsgd <[email protected]>
To: Developer support list for Wireshark <[email protected]>
Sent: Thu, July 14, 2011 2:40:15 AM
Subject: Re: [Wireshark-dev] Wireshark v1.7.0 build issue with MSVC 2005

Le 13/07/2011 20:21, Pradip Biswas a écrit :
Hi,
I tried building the latest 1.7.0 code on WinXP (32-bit) and Win7 (64-bit) both having MSVC 2005. I am stuck with the error "'ml': is not recognized as an internal or external command, operable program or batch file" almost at the beginning of "nmake -f Makefile.nmake all."
Producing 64 bits version should require ml64.exe.
If you have this error on your Win7 64 bits,
 I think you did not call something like "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat",
 and so, you are going to produce 32 bits version.

[PB]: Ok. I am fine with 32-bit build. But the build failed on WinXP 32bit with the same MSVC 2005 producing the same ml error.

Do I need to do something special to get past this issue? I searched for ml.exe in the MSVC installation folder, I did not find anything there. Though there is a file called ml64.exe. I have not installed either the VC run-time Redistributable package nor the PSDK. Do I need any of those?
PSDK was needed for me on Win7 64bits with MSVC 2008 EE (to have ml64.exe).
ml64.exe is supposed to be included in the not EE version of MSVC 2008.

Even after installing PSDK (from : http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=3138),
 I have no ml.exe or ml64.exe into my installation of MSVC 2005 EE.

[PB]: So how did you resolve it finally? Should the error go away if I install PSDK?
My production with MSVC 2008 EE works fine.
I did not try to produce with other MSVC.

Olivier

Regards,
Pradip
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe


-- 
Wireshark Generic Dissector http://wsgd.free.fr
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe


-- 
Wireshark Generic Dissector http://wsgd.free.fr