From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web09.21869.1655405046279960904 for ; Thu, 16 Jun 2022 11:44:06 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=k1tvugSN; spf=pass (domain: gmail.com, ip: 209.85.210.173, mailfrom: xzavierpower@gmail.com) Received: by mail-pf1-f173.google.com with SMTP id e11so2230020pfj.5 for ; Thu, 16 Jun 2022 11:44:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=/M0ieIJ4RVEropLgvVoP5d1c5qMwdNnBZktYmo3z53Y=; b=k1tvugSNRX+Z61oZBFbqI6L9OCD0Dd521gjubTu7pmXA0m/KuAx7HZ6UQ4siEm+mwH 7DATI6VytCuPkE3MQBuwjtCLKCFW7GPNeCGz3gqaVYf1LPt8W6nQKlDN24PydPBtTrYm sTejAeSveh6usn7IUT0EFT2JqmCgQja4CWW0aSlMciJetKIxVPRXDmuw0N6u+YxqdUha 9b3/EjTwYNsl4KYXt4isX5P8DsDNFTs92hc6HuP31kz/FEDS+/zm/Lg3/tclAFyElMyR 8Bs0TtLgdT6amaDBYWkgNib1x+TDMq8+OjlsQ0ycUTdYHcQUrDrBU3PAP9GSJNUJVj9F OpeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=/M0ieIJ4RVEropLgvVoP5d1c5qMwdNnBZktYmo3z53Y=; b=rl/7+f3ld5Zcaqpc6uW7s2RyZJfT2aWbMssd4PV14YlPLhWWbSl/pPg/Dn5Bbp8tt2 15iioE2HOfNUOvkT4EIfJVFHaDuSPeZN0Rczgg+DrilIgUBX1fUGai+cWu68ZjzX3QfO PExUmQzzzh4crNo6f36AnlKeS60HylaODx7IW3b82viWcccTv4LzWu6x4+Qvs3YZEVdP 7Rq9C3yrRdvdqnu1R8/csaCeouxNrf0Zx+q12maYzNmbYsPY9VJSSixwLCGfOwyyGpq0 dIH2LyRLbP7p7OaH5vRC1VXnUpjLEH9gkgI6N21ZvuGYbJtnXSkUNf8ZjNT8fygYZ5WP ZlCA== X-Gm-Message-State: AJIora8opRka4c2i/qk8/+yLIQEnF1uqPbTHfVwsMET8ekPsuxzpHVpw 9/sqhFu5bPWCuZ/lvuJYJx4A+tR/51w9hHD7RHj3yuyQct3hBQ== X-Google-Smtp-Source: AGRyM1vDDMB0Pjp1FfFAbmHvzWD59obvVJmlrAQ0XdjpTRME4c7Tc8WqdQquUfykp5kU1Klq58Bf1o1MKDSMqBuSSiM= X-Received: by 2002:a05:6a00:16c7:b0:520:6ede:2539 with SMTP id l7-20020a056a0016c700b005206ede2539mr5984062pfc.46.1655405045589; Thu, 16 Jun 2022 11:44:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "M.T." Date: Thu, 16 Jun 2022 14:43:55 -0400 Message-ID: Subject: Re: [edk2-devel] Windows 10 build failing To: devel@edk2.groups.io, michael.d.kinney@intel.com Content-Type: multipart/alternative; boundary="000000000000b3aab105e195052b" --000000000000b3aab105e195052b Content-Type: text/plain; charset="UTF-8" Thanks Michael I did run git submodule update --init when I checked out the repo. I ran it again, and now I'm bouncing between two errors, the original I posted, and when I run build again, I get this, which I thought was addressed with nasm 2.15, what am I missing here? Appreciate the help xp Building ... c:\users\maciej\uefi\edk2\MdePkg\Library\SmmMemLib\SmmMemLib.inf [X64] dictionary.c "C:\nasm\nasm" -Ic:\users\maciej\uefi\edk2\MdePkg\Library\BaseLib\X64\ -Ic:\users\maciej\uefi\edk2\MdePkg\Library\BaseLib\X64\ -Ic:\users\maciej\uefi\edk2\MdePkg\Libr ary\BaseLib\ -Ic:\users\maciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdePkg\Library\BaseLib\BaseLib\DEBUG\ -Ic:\users\maciej\uefi\edk2\MdePkg\ -Ic:\users\maciej\uefi\e dk2\MdePkg\Include\ -Ic:\users\maciej\uefi\edk2\MdePkg\Test\UnitTest\Include\ -Ic:\users\maciej\uefi\edk2\MdePkg\Include\X64\ -Ox -f win64 -g -o c:\users\maciej\uefi\edk2\Bu ild\MdeModule\DEBUG_VS2017\X64\MdePkg\Library\BaseLib\BaseLib\OUTPUT\X64\LongJump.obj c:\users\maciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdePkg\Library\BaseLib\BaseLib \OUTPUT\X64\LongJump.iii Building ... c:\users\maciej\uefi\edk2\MdeModulePkg\Library\PeiCrc32GuidedSectionExtractLib\PeiCrc32GuidedSectionExtractLib.inf [X64] c:\users\maciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdePkg\Library\BaseLib\BaseLib\OUTPUT\X64\LongJump.iii:44: error: parser: instruction expected c:\users\maciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdePkg\Library\BaseLib\BaseLib\OUTPUT\X64\LongJump.iii:49: error: parser: instruction expected NMAKE : fatal error U1077: 'C:\nasm\nasm.EXE' : return code '0x1' Stop. Building ... c:\users\maciej\uefi\edk2\MdeModulePkg\Library\SmmReportStatusCodeLib\SmmReportStatusCodeLib.inf [X64] build.py... : error 7000: Failed to execute command C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x86\nmake.exe /nologo tbuild [c:\users\maciej\uefi\edk2\Build\MdeM odule\DEBUG_VS2017\X64\MdePkg\Library\BaseLib\BaseLib] build.py... : error 7000: Failed to execute command C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x86\nmake.exe /nologo tbuild [c:\users\maciej\uefi\edk2\Build\MdeM odule\DEBUG_VS2017\X64\MdeModulePkg\Library\BrotliCustomDecompressLib\BrotliCustomDecompressLib] build.py... : error F002: Failed to build module c:\users\maciej\uefi\edk2\MdePkg\Library\BaseLib\BaseLib.inf [X64, VS2017, DEBUG] On Thu, Jun 16, 2022 at 2:11 PM Michael D Kinney wrote: > Looks like Brotli submodule code is missing. > > > > https://github.com/tianocore/edk2#submodules > > > > Mike > > > > *From:* devel@edk2.groups.io *On Behalf Of *M.T. > *Sent:* Thursday, June 16, 2022 11:09 AM > *To:* devel@edk2.groups.io > *Subject:* [edk2-devel] Windows 10 build failing > > > > Hello > > > > I am trying to setup a windows build system with MSVS2017 or MSVS2022, but > I keep running into the same issue over and over, and I can't seem to > figure it out. > > > > I followed several guides on how to get everything working, but also, I > can't build MdeModulePkg, which on linux was nowhere near this difficult. > > > > In any case, here is what I have so far. > > From a regular command prompt, I setup my paths for NASM_Prefix (Version > 2.15), WORKSPACE, PACKAGE_PATHS and EDK_TOOLS_PATH > > I run edk2setup.bat, which gives warnings about CLANG_BIN and CYGWIN_HOME, > I ignore those, and then I run build. > > (Python is 3.9.4) > > target.txt is switched to TOOL_CHAIN_TAG = VS2017 and TARGET_ARCH= X64 > > This is what I always hit, no matter how many variations of the above I > try including python venvs etc. > > > > Building ... > c:\users\maciej\uefi\edk2\MdeModulePkg\Library\SmmLockBoxLib\SmmLockBoxPeiLib.inf > [X64] > "C:\Program Files (x86)\Microsoft Visual > Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x64\cl.exe" > /Foc:\users\ma > ciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdePkg\Library\BaseLib\BaseLib\OUTPUT\X64\ > /showIncludes /nologo /c /WX /GS- /W4 /Gs3276 > 8 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Gw > /Ic:\users\maciej\uefi\edk2\MdePkg\Library\BaseLib\X64 /Ic:\users\mac > iej\uefi\edk2\MdePkg\Library\BaseLib > /Ic:\users\maciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdePkg\Library\BaseLib\BaseLib\DEBUG > /Ic:\users\maciej\uefi\edk2\MdePkg > /Ic:\users\maciej\uefi\edk2\MdePkg\Include > /Ic:\users\maciej\uefi\edk2\MdePkg\Test\UnitTest\Includ > e /Ic:\users\maciej\uefi\edk2\MdePkg\Include\X64 > @c:\users\maciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdePkg\Library\BaseLib\Bas > eLib\OUTPUT\cc_resp_56.txt > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual > Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x64\cl > .exe"' : return code '0x2' > Stop. > PeCoffExtraActionLib.c > "C:\Program Files (x86)\Microsoft Visual > Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x64\cl.exe" > /Foc:\users\ma > > ciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdeModulePkg\Library\PlatformHookLibSerialPortPpi\PlatformHookLibSerialPortPpi\OUTPUT\.\ > /showIncludes /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy > /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Gw /Ic:\users\maciej\uefi\e > dk2\MdeModulePkg\Library\PlatformHookLibSerialPortPpi > /Ic:\users\maciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdeModulePkg\Library > \PlatformHookLibSerialPortPpi\PlatformHookLibSerialPortPpi\DEBUG > /Ic:\users\maciej\uefi\edk2\MdePkg /Ic:\users\maciej\uefi\edk2\MdePkg > \Include /Ic:\users\maciej\uefi\edk2\MdePkg\Test\UnitTest\Include > /Ic:\users\maciej\uefi\edk2\MdePkg\Include\X64 /Ic:\users\maciej\ue > fi\edk2\MdeModulePkg /Ic:\users\maciej\uefi\edk2\MdeModulePkg\Include > /Ic:\users\maciej\uefi\edk2\MdeModulePkg\Library\BrotliCustomDec > ompressLib\brotli\c\include > c:\users\maciej\uefi\edk2\MdeModulePkg\Library\PlatformHookLibSerialPortPpi\PlatformHookLibSerialPortPpi.c > "C:\Program Files (x86)\Microsoft Visual > Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x64\cl.exe" > /Foc:\users\ma > ciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdeModulePkg\Library\VarCheckPolicyLib\VarCheckPolicyLibStandaloneMm\OUTPUT\.\ > /showIncl > udes /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy > /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Gw /Ic:\users\maciej\uefi\edk2\MdeMod > ulePkg\Library\VarCheckPolicyLib > /Ic:\users\maciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdeModulePkg\Library\VarCheckPolicyLib\Va > rCheckPolicyLibStandaloneMm\DEBUG /Ic:\users\maciej\uefi\edk2\MdePkg > /Ic:\users\maciej\uefi\edk2\MdePkg\Include /Ic:\users\maciej\uef > i\edk2\MdePkg\Test\UnitTest\Include > /Ic:\users\maciej\uefi\edk2\MdePkg\Include\X64 > /Ic:\users\maciej\uefi\edk2\MdeModulePkg /Ic:\user > s\maciej\uefi\edk2\MdeModulePkg\Include > /Ic:\users\maciej\uefi\edk2\MdeModulePkg\Library\BrotliCustomDecompressLib\brotli\c\include > /I > c:\users\maciej\uefi\edk2\StandaloneMmPkg > /Ic:\users\maciej\uefi\edk2\StandaloneMmPkg\Include > @c:\users\maciej\uefi\edk2\Build\MdeModul > > e\DEBUG_VS2017\X64\MdeModulePkg\Library\VarCheckPolicyLib\VarCheckPolicyLibStandaloneMm\OUTPUT\cc_resp_1.txt > > > build.py... > : error 7000: Failed to execute command > C:\Program Files (x86)\Microsoft Visual > Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x86\nmake.exe > /nologo tbuil > d > [c:\users\maciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdeModulePkg\Library\BrotliCustomDecompressLib\BrotliCustomDecompressLib] > > > build.py... > : error 7000: Failed to execute command > C:\Program Files (x86)\Microsoft Visual > Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x86\nmake.exe > /nologo tbuil > d > [c:\users\maciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdePkg\Library\BaseLib\BaseLib] > > > build.py... > : error F002: Failed to build module > > c:\users\maciej\uefi\edk2\MdeModulePkg\Library\BrotliCustomDecompressLib\BrotliCustomDecompressLib.inf > [X64, VS2017, DEBUG] > > - Failed - > Build end time: 13:55:06, Jun.16 2022 > Build total time: 00:00:13 > > > > I am not sure what this error is: > > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual > Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x64\cl > .exe"' : return code '0x2' > > > > I tried tracking it down, but I'm just not familiar enough with edk2 build > env to sort it all out. > > > > I would really appreciate some help as I'm totally stuck with this. > > > > Thank you > > xp > > > > --000000000000b3aab105e195052b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks Michael

I did run=C2=A0git submodule update --init when I checked out the repo.
I ran it again, and now I'm bouncing between two = errors, the original I posted, and when I run build again, I get this, whic= h I thought was addressed with nasm 2.15, what am I missing here?

Appreciate th= e help
xp

Building ... c:\users\maciej\uefi\edk2\MdePkg\Librar= y\SmmMemLib\SmmMemLib.inf [X64]
dictionary.c
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 "C:\nasm\nasm" -Ic:\users\maciej\uefi\edk2\MdePkg\Library\Bas= eLib\X64\ -Ic:\users\maciej\uefi\edk2\MdePkg\Library\BaseLib\X64\ =C2=A0-Ic= :\users\maciej\uefi\edk2\MdePkg\Libr
ary\BaseLib\ =C2=A0-Ic:\users\macie= j\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdePkg\Library\BaseLib\BaseLib= \DEBUG\ =C2=A0-Ic:\users\maciej\uefi\edk2\MdePkg\ =C2=A0-Ic:\users\maciej\u= efi\e
dk2\MdePkg\Include\ =C2=A0-Ic:\users\maciej\uefi\edk2\MdePkg\Test\= UnitTest\Include\ =C2=A0-Ic:\users\maciej\uefi\edk2\MdePkg\Include\X64\ -Ox= -f win64 -g -o c:\users\maciej\uefi\edk2\Bu
ild\MdeModule\DEBUG_VS2017\= X64\MdePkg\Library\BaseLib\BaseLib\OUTPUT\X64\LongJump.obj c:\users\maciej\= uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdePkg\Library\BaseLib\BaseLib\OUTPUT\X64\LongJump.iii
Building ... c:\users\maciej\uefi\edk2\MdeMod= ulePkg\Library\PeiCrc32GuidedSectionExtractLib\PeiCrc32GuidedSectionExtract= Lib.inf [X64]
c:\users\maciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64= \MdePkg\Library\BaseLib\BaseLib\OUTPUT\X64\LongJump.iii:44: error: parser: = instruction expected
c:\users\maciej\uefi\edk2\Build\MdeModule\DEBUG_VS2= 017\X64\MdePkg\Library\BaseLib\BaseLib\OUTPUT\X64\LongJump.iii:49: error: p= arser: instruction expected
NMAKE : fatal error U1077: 'C:\nasm\nasm= .EXE' : return code '0x1'
Stop.
Building ... c:\users\mac= iej\uefi\edk2\MdeModulePkg\Library\SmmReportStatusCodeLib\SmmReportStatusCo= deLib.inf [X64]


build.py...
=C2=A0: error 7000: Failed to exe= cute command
=C2=A0 =C2=A0 =C2=A0 =C2=A0 C:\Program Files (x86)\Microsof= t Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x86\n= make.exe /nologo tbuild [c:\users\maciej\uefi\edk2\Build\MdeM
odule\DEBU= G_VS2017\X64\MdePkg\Library\BaseLib\BaseLib]


build.py...
=C2= =A0: error 7000: Failed to execute command
=C2=A0 =C2=A0 =C2=A0 =C2=A0 C= :\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC= \14.16.27023\bin\Hostx86\x86\nmake.exe /nologo tbuild [c:\users\maciej\uefi= \edk2\Build\MdeM
odule\DEBUG_VS2017\X64\MdeModulePkg\Library\BrotliCusto= mDecompressLib\BrotliCustomDecompressLib]


build.py...
=C2=A0:= error F002: Failed to build module
=C2=A0 =C2=A0 =C2=A0 =C2=A0 c:\users= \maciej\uefi\edk2\MdePkg\Library\BaseLib\BaseLib.inf [X64, VS2017, DEBUG]


On Thu, Jun 16, 2022 at 2:11 = PM Michael D Kinney <micha= el.d.kinney@intel.com> wrote:

Looks like Brotli submodule = code is missing.

=C2=A0

https://github.com/tianocore/edk2#submodules

=C2=A0

Mike

=C2=A0

From: devel@edk2.groups.io <devel@edk2.groups.io= > On Behalf Of M.T.
Sent: Thursday, June 16, 2022 11:09 AM
To: devel@= edk2.groups.io
Subject: [edk2-devel] Windows 10 build failing<= /p>

=C2=A0

Hello

=C2=A0

I am trying to setup=C2=A0a windows build system wit= h MSVS2017=C2=A0or MSVS2022, but I keep running into the same issue over an= d over, and I can't seem to figure it out.

=C2=A0

I followed several guides on how to get everything w= orking, but also, I can't build MdeModulePkg, which on linux was nowher= e near this difficult.

=C2=A0

In any case, here is what I have so far.

From a regular command prompt, I setup=C2=A0my paths= for NASM_Prefix (Version 2.15), WORKSPACE, PACKAGE_PATHS and EDK_TOOLS_PAT= H

I run edk2setup.bat, which gives warnings about CLAN= G_BIN and CYGWIN_HOME, I ignore those, and then I run build.<= /p>

(Python is 3.9.4)

target.txt is switched to TOOL_CHAIN_TAG =3D VS2017 = and TARGET_ARCH=3D X64

This is what I always hit, no matter how many variat= ions of the above I try including python venvs etc.

=C2=A0

Building ... c:\users\maciej\uefi\edk2\MdeModulePkg\= Library\SmmLockBoxLib\SmmLockBoxPeiLib.inf [X64]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "C:\Program Files (x86)\Microsoft Visual S= tudio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x64\cl.exe"= ; /Foc:\users\ma
ciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdePkg\Library\BaseLib\Base= Lib\OUTPUT\X64\ /showIncludes /nologo /c /WX /GS- /W4 /Gs3276
8 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Gw /Ic:\user= s\maciej\uefi\edk2\MdePkg\Library\BaseLib\X64 =C2=A0/Ic:\users\mac
iej\uefi\edk2\MdePkg\Library\BaseLib =C2=A0/Ic:\users\maciej\uefi\edk2\Buil= d\MdeModule\DEBUG_VS2017\X64\MdePkg\Library\BaseLib\BaseLib\DEBUG
=C2=A0/Ic:\users\maciej\uefi\edk2\MdePkg =C2=A0/Ic:\users\maciej\uefi\edk2\= MdePkg\Include =C2=A0/Ic:\users\maciej\uefi\edk2\MdePkg\Test\UnitTest\Inclu= d
e =C2=A0/Ic:\users\maciej\uefi\edk2\MdePkg\Include\X64 @c:\users\maciej\uef= i\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdePkg\Library\BaseLib\Bas
eLib\OUTPUT\cc_resp_56.txt
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visu= al Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x64\cl
.exe"' : return code '0x2'
Stop.
PeCoffExtraActionLib.c
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "C:\Program Files (x86)\Microsoft Visual S= tudio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x64\cl.exe"= ; /Foc:\users\ma
ciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdeModulePkg\Library\Platfo= rmHookLibSerialPortPpi\PlatformHookLibSerialPortPpi\OUTPUT\.\
=C2=A0/showIncludes /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL = /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Gw /Ic:\users\maciej\uefi\e
dk2\MdeModulePkg\Library\PlatformHookLibSerialPortPpi =C2=A0/Ic:\users\maci= ej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdeModulePkg\Library
\PlatformHookLibSerialPortPpi\PlatformHookLibSerialPortPpi\DEBUG =C2=A0/Ic:= \users\maciej\uefi\edk2\MdePkg =C2=A0/Ic:\users\maciej\uefi\edk2\MdePkg
\Include =C2=A0/Ic:\users\maciej\uefi\edk2\MdePkg\Test\UnitTest\Include =C2= =A0/Ic:\users\maciej\uefi\edk2\MdePkg\Include\X64 =C2=A0/Ic:\users\maciej\u= e
fi\edk2\MdeModulePkg =C2=A0/Ic:\users\maciej\uefi\edk2\MdeModulePkg\Include= =C2=A0/Ic:\users\maciej\uefi\edk2\MdeModulePkg\Library\BrotliCustomDec
ompressLib\brotli\c\include c:\users\maciej\uefi\edk2\MdeModulePkg\Library\= PlatformHookLibSerialPortPpi\PlatformHookLibSerialPortPpi.c
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "C:\Program Files (x86)\Microsoft Visual S= tudio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x64\cl.exe"= ; /Foc:\users\ma
ciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdeModulePkg\Library\VarChe= ckPolicyLib\VarCheckPolicyLibStandaloneMm\OUTPUT\.\ /showIncl
udes /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.= h /EHs-c- /GR- /GF /Z7 /Gw /Ic:\users\maciej\uefi\edk2\MdeMod
ulePkg\Library\VarCheckPolicyLib =C2=A0/Ic:\users\maciej\uefi\edk2\Build\Md= eModule\DEBUG_VS2017\X64\MdeModulePkg\Library\VarCheckPolicyLib\Va
rCheckPolicyLibStandaloneMm\DEBUG =C2=A0/Ic:\users\maciej\uefi\edk2\MdePkg = =C2=A0/Ic:\users\maciej\uefi\edk2\MdePkg\Include =C2=A0/Ic:\users\maciej\ue= f
i\edk2\MdePkg\Test\UnitTest\Include =C2=A0/Ic:\users\maciej\uefi\edk2\MdePk= g\Include\X64 =C2=A0/Ic:\users\maciej\uefi\edk2\MdeModulePkg =C2=A0/Ic:\use= r
s\maciej\uefi\edk2\MdeModulePkg\Include =C2=A0/Ic:\users\maciej\uefi\edk2\M= deModulePkg\Library\BrotliCustomDecompressLib\brotli\c\include =C2=A0/I
c:\users\maciej\uefi\edk2\StandaloneMmPkg =C2=A0/Ic:\users\maciej\uefi\edk2= \StandaloneMmPkg\Include @c:\users\maciej\uefi\edk2\Build\MdeModul
e\DEBUG_VS2017\X64\MdeModulePkg\Library\VarCheckPolicyLib\VarCheckPolicyLib= StandaloneMm\OUTPUT\cc_resp_1.txt


build.py...
=C2=A0: error 7000: Failed to execute command
=C2=A0 =C2=A0 =C2=A0 =C2=A0 C:\Program Files (x86)\Microsoft Visual Studio\= 2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x86\nmake.exe /nologo= tbuil
d [c:\users\maciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdeModulePkg\= Library\BrotliCustomDecompressLib\BrotliCustomDecompressLib]


build.py...
=C2=A0: error 7000: Failed to execute command
=C2=A0 =C2=A0 =C2=A0 =C2=A0 C:\Program Files (x86)\Microsoft Visual Studio\= 2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x86\nmake.exe /nologo= tbuil
d [c:\users\maciej\uefi\edk2\Build\MdeModule\DEBUG_VS2017\X64\MdePkg\Librar= y\BaseLib\BaseLib]


build.py...
=C2=A0: error F002: Failed to build module
=C2=A0 =C2=A0 =C2=A0 =C2=A0 c:\users\maciej\uefi\edk2\MdeModulePkg\Library\= BrotliCustomDecompressLib\BrotliCustomDecompressLib.inf [X64, VS2017, DEBUG= ]

- Failed -
Build end time: 13:55:06, Jun.16 2022
Build total time: 00:00:13

=C2=A0

I am not sure what this error is:

NMAKE : fatal error U1077: '"C:\Program Fil= es (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\= bin\Hostx86\x64\cl
.exe"' : return code '0x2'

=C2=A0

I tried tracking it down, but I'm just not famil= iar enough with edk2 build env to sort it all out.

=C2=A0

I would really appreciate some help as I'm total= ly stuck with this.

=C2=A0

Thank you

xp

=20

--000000000000b3aab105e195052b--