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

Wireshark-dev: Re: [Wireshark-dev] Query

From: Ed Beroset <beroset@xxxxxxxxxxxxxx>
Date: Fri, 16 Mar 2012 10:43:06 -0400 (GMT-04:00)
krishna hegde wrote:
>
>I am using the Visual studio 2010 for the building Wire shark Source . I
>understand that Visual studio already has nmake utitiy.
>
>I am getting the error as
>
>Error 1 error U1065: invalid option '-' C:\Wireshark\NMAKE wireshark Error
>2 error MSB3073: The command "nmake -f Makefile.nmake distclean" exited
>with code 2. C:\Program
>Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets 33 6 wire shark
>
>I tried using the nmake -f Makefile.nmake verify_tools
>
>Still I am getting the same error Error 1 error U1065: invalid option '-'

This has actually come up before.  The problem then was that the hyphen character had actually been cut-and-pasted from another document which didn't actually use the ASCII hyphen character (ASCII code 0x2d).  Perhaps that's the problem here as well.  

Ed