edk2 build error


alexgdi@...
 

Hello! I am trying to compile an EDK2 under Windows 10 using VS2019. When compiling, I get an error from the GenFFs utility which says that the option -oi is not valid. Here is part of the build script output.

Building ... e:\fw\edk2\MdeModulePkg\Universal\Disk\PartitionDxe\PartitionDxe.inf [X64]
GenFfs -t EFI_FV_FILETYPE_PEIM -g 9B3ADA4F-AE56-4c24-8DEA-F03B7558AE50 -o e:\fw\Build\EmulatorX64\RELEASE_VS2019\FV\Ffs\9B3ADA4F-AE56-4c24-8DEA-F03B7558AE50PcdPeim\9B3ADA4F-AE56-4c24-8DEA-F03B7558AE50.ffs -oi e:\fw\Build\EmulatorX64\RELEASE_VS2019\FV\Ffs\9B3ADA4F-AE56-4c24-8DEA-F03B7558AE50PcdPeim\PEIPcdDataBaseSec.raw -oi e:\fw\Build\EmulatorX64\RELEASE_VS2019\FV\Ffs\9B3ADA4F-AE56-4c24-8DEA-F03B7558AE50PcdPeim\9B3ADA4F-AE56-4c24-8DEA-F03B7558AE50SEC1.1.dpx -oi e:\fw\Build\EmulatorX64\RELEASE_VS2019\FV\Ffs\9B3ADA4F-AE56-4c24-8DEA-F03B7558AE50PcdPeim\9B3ADA4F-AE56-4c24-8DEA-F03B7558AE50SEC2.1.pe32 -n 0 -oi e:\fw\Build\EmulatorX64\RELEASE_VS2019\FV\Ffs\9B3ADA4F-AE56-4c24-8DEA-F03B7558AE50PcdPeim\9B3ADA4F-AE56-4c24-8DEA-F03B7558AE50SEC3.ui -oi e:\fw\Build\EmulatorX64\RELEASE_VS2019\FV\Ffs\9B3ADA4F-AE56-4c24-8DEA-F03B7558AE50PcdPeim\9B3ADA4F-AE56-4c24-8DEA-F03B7558AE50SEC4.ver
Building ... e:\fw\edk2\MdeModulePkg\Core\Pei\PeiMain.inf [X64]
GenFfs: ERROR 1000: Unknown option
-oi

NMAKE : fatal error U1077: 'E:\fw\edk2-BaseTools-win32\GenFfs.EXE' : return code '0x2'
Stop.

Thank you!

Join discuss@edk2.groups.io to automatically receive all group messages.