Wireshark-dev: Re: [Wireshark-dev] Fatal Error U1077: cl.exe return code 0x2 compiling usb.c on
From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Sun, 8 Feb 2015 22:13:37 +0000
On 8 February 2015 at 15:41, Richard Sharpe <realrichardsharpe@xxxxxxxxx> wrote:
On Sun, Feb 8, 2015 at 7:19 AM, Richard Sharpe
<realrichardsharpe@xxxxxxxxx> wrote:
> According to this:
>
> http://stackoverflow.com/questions/23831911/nmake-fatal-error-u1077-cd-return-code-0x2-cl-exe
>
> The problem is empty arrays.

Further examination shows that usb.c was not the problem, as usb.obj exists.

How do I get it to tell me what file it failed on?


Should be in the output, but might be back aways a fair bit.  Redirect to a txt file for leisurely examination:

nmake -f Makefile.nmake > out.txt 2>&1

--
Graham Bloice