OK! Thanks a lot, It's great to receive your reply!
So it's just a small but serious problem😂
Sorry to bother you!
Thanks again!!!


S, Ashraf Ali <ashraf.ali.s@intel.com> 于2022年7月31日周日 22:45写道:

Hi

 

-p PLATFORMFILE, --platform=PLATFORMFILE

                        Build the platform specified by the DSC file name

                        argument, overriding target.txt's ACTIVE_PLATFORM

                        definition.

 

 

-a TARGETARCH, --arch=TARGETARCH

                        ARCHS is one of list: IA32, X64, ARM, AARCH64, RISCV64

                        or EBC, which overrides target.txt's TARGET_ARCH

                        definition. To specify more archs, please repeat this

                        option.

 

 

Regards,

Ashraf Ali S

Intel Technology India Pvt. Ltd. 

 

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Michael D Kinney
Sent: Sunday, July 31, 2022 8:53 AM
To: devel@edk2.groups.io; lnpabcde@gmail.com; Kinney, Michael D <michael.d.kinney@intel.com>
Subject: Re: [edk2-devel] EDK2 build error:Unknown fatal error when processing []

 

You should pass in .dsc file, not .dec file for -p  option of build.

 

Mike

 

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of np l
Sent: Saturday, July 30, 2022 7:02 PM
To: devel@edk2.groups.io
Subject: [edk2-devel] EDK2 build error:Unknown fatal error when processing []

 

Hi,

I got a fatal error with a command "build -p edk2\MdeModulePkg\MdeModulePkg.dec -a X64 -t VS2015x86".

(Python version is  2.7.15.Build tool is VS2015x86)

   But  UEFI\edk2\EmulatorPkg\EmulatorPkg.dec can be build successfully.

   I have update edk2 with "git pull" but the same error occured. 

   I also test it in another laptop with python  version 3.9.9 build tool VS2019,a same error occur.

 

What should I do?

 

error log as blow:

 

Thanks!