Hi Zach,

 

I have fixed "Error 4000" EDK II Build Issue in my MinnowBoard reference project CdePkg that you can find at edk2-staging: https://github.com/tianocore/edk2-staging/tree/CdePkg

 

https://github.com/tianocore/edk2-staging/commit/5c2c7662f52cabc741464218b35282b7829a7908

 

The problem is, that the FmpDevicePkg is improved/updated/extended and needs some new libraries, that

are not built because they are not mentioned in

 

PlatformPkgX64.dsc section:

[LibraryClasses.common]

   FmpDependencyLib|FmpDevicePkg\Library\FmpDependencyLib\FmpDependencyLib.inf

   FmpDependencyCheckLib|FmpDevicePkg\Library\FmpDependencyCheckLibNull\FmpDependencyCheckLibNull.inf

   FmpDependencyDeviceLib|FmpDevicePkg\Library\FmpDependencyDeviceLibNull\FmpDependencyDeviceLibNull.inf

 

Cheers,

   Kilian

From: Zachary Rinehart
Sent: Thursday, July 9, 2020 11:30 AM
To: devel@edk2.groups.io
Subject: [edk2-devel] "Error 4000" EDK II Build Issue

 

Hi all,

 

  I am trying to build the EDK II firmware for the MinnowBoard Turbot using Windows, as outlined here. When I try to execute the final command to build the firmware, it gives me an error saying that an “instance of library class [FmpDependencyLib] is not found”. I believe I have installed all the prerequisites correctly, and I ran it a second time to check for previous error messages, none of which I could find. It does seem to build partway, though. I have attached a zip file of what I believe is the partial build and a text capture of the second attempt via Windows shell to build EDK II. Does anyone have any insight into what’s going on?

 

Thanks,

  Zach