It confuse me that near line 60, column 0: !include LogoFeaturePkg/Include/PreMemory.fdf.
In my local machine, the PreMemory.fdf should be AdvancedFeaturePkg/Include/PreMemory.fdf,
I can also find this file in directory edk2-platforms\Features\Intel\AdvancedFeaturePkg\Include.
Please confirm it.
Thanks.
Guomin
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Canh Kha
Sent: Wednesday, July 22, 2020 1:13 PM
To: devel@edk2.groups.io
Subject: [edk2-devel] A problem to build KabyLake
Hi,
When I ran this build command
build -a IA32 -a X64 -n 5 -t VS2015x86 -b DEBUG -p KabylakeOpenBoardPkg\KabylakeRvp3\OpenBoardPkg.dsc
I received the following message
build.py...
: error C0DE: Unknown fatal error when processing [c:\minnow\edk2-platforms\Platform\Intel\KabylakeOpenBoardPkg\KabylakeRvp3\OpenBoardPkg.dsc]
(Please send email to devel@edk2.groups.io for help, attaching following call stack trace!)
(Python 3.8.3 on win32) Traceback (most recent call last):
File "C:\minnow\edk2\BaseTools\Source\Python\build\build.py", line 2636, in Main
MyBuild.Launch()
File "C:\minnow\edk2\BaseTools\Source\Python\build\build.py", line 2431, in Launch
self._MultiThreadBuildPlatform()
File "C:\minnow\edk2\BaseTools\Source\Python\build\build.py", line 2238, in _MultiThreadBuildPlatform
Wa, self.BuildModules = self.PerformAutoGen(BuildTarget,ToolChain)
File "C:\minnow\edk2\BaseTools\Source\Python\build\build.py", line 2088, in PerformAutoGen
Wa = WorkspaceAutoGen(
File "C:\minnow\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 43, in __init__
self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs)
File "C:\minnow\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 112, in _InitWorker
self.ProcessModuleFromPdf()
File "C:\minnow\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 188, in ProcessModuleFromPdf
if self.FdfProfile:
File "C:\minnow\edk2\BaseTools\Source\Python\Common\caching.py", line 28, in __get__
Value = obj.__dict__[self._function.__name__] = self._function(obj)
File "C:\minnow\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 164, in FdfProfile
Fdf.ParseFile()
File "C:\minnow\edk2\BaseTools\Source\Python\GenFds\FdfParser.py", line 1312, in ParseFile
self.Preprocess()
File "C:\minnow\edk2\BaseTools\Source\Python\GenFds\FdfParser.py", line 1291, in Preprocess
self.PreprocessIncludeFile()
File "C:\minnow\edk2\BaseTools\Source\Python\GenFds\FdfParser.py", line 624, in PreprocessIncludeFile
raise Warning("The include file does not exist under below directories: \n%s\n%s\n%s\n"%(os.path.dirname(self.FileName), PlatformDir, GlobalData.gWorkspace),
GenFds.FdfParser.Warning: The include file does not exist under below directories:
c:\minnow\edk2-platforms\Platform\Intel\KabylakeOpenBoardPkg\KabylakeRvp3
c:\minnow\edk2-platforms\Platform\Intel\KabylakeOpenBoardPkg\KabylakeRvp3
c:\minnow
near line 60, column 0: !include LogoFeaturePkg/Include/PreMemory.fdf
- Failed -
Build end time: 00:01:19, Jul.22 2020
Build total time: 00:00:00
This is my PACKAGES_PATH
C:\minnow\edk2;C:\minnow\edk2-platforms\Silicon\Intel;C:\minnow\edk2-platforms\Platform\Intel;;C:\minnow\edk2-platforms\Features\Intel;C:\minnow\edk2-non-osi\Silicon\Intel;C:\minnow\FSP
Could you help to give me some suggestions to try?
Thanks,
Canh