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

Nmake All Errors - Invalid Numeric Argument / Missing Source Filename.

0

I'm trying to build Wireshark from source for x64, and am running into some problems. Currently, after following all the setup instructions, when I try to do a full make on it I get these messages:

cl : Command line error d8021 : invalid numeric argument '/FS' NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\amd64\nmake.EXE"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\amd64\nmake.EXE"' : return code '0x2' Stop.

when I try to run that command myself from the command line, I get the following message:

Microsoft (R) C/C++ Optimizing Compiler Version 16.00.40219.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line error D8003 : missing source filename

Any idea what might be causing this?

asked 05 Dec '14, 11:22

mehubb985's gravatar image

mehubb985
118810
accept rate: 0%


One Answer:

0

As seen on stackoverflow, this probably happens because you are trying to compile the Qt GUI with MSVC2010 (there is no x64 Qt package for MSVC2010). So you need either to switch MSVC2013 (the Community Edition is available for free) or build only the GTK based GUI.

answered 05 Dec '14, 11:33

Pascal%20Quantin's gravatar image

Pascal Quantin
5.5k1060
accept rate: 30%