This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Wireshark build on Visual studio 2010

0

I am getting compile time error when I am trying to compile the Windows source build in the Visual studio 2010.

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 wireshark

asked 12 Mar '12, 10:01

Krishna's gravatar image

Krishna
1111
accept rate: 0%

This type of question is better asked on the [email protected]wireshark.org mailing list.

Did you follow exactly the instructions in the Wireshark Developer's Guide ?

In any case, to maybe get an idea of what's happening, we'll need to start with a file showing the complete output from

nmake -f Makefile.nmake verify_tools
nmake -f Makefile.nmake distclean
(12 Mar '12, 10:24) Bill Meier ♦♦

One Answer:

0

Do you have MAKEFLAGS set in your environment?

A couple of references to others who had this same problem, albeit not specifically with Wireshark:

answered 12 Mar '12, 17:44

cmaynard's gravatar image

cmaynard ♦♦
9.4k1038142
accept rate: 20%