回复: [edk2-discuss] Reg, Building EDKII source.


gaoliming
 

Please open new cmd, and cd Edk2, type edksetup.bat Rebuild again.



System header files are searched from INCLUDE env. Please check this env value.



Thanks

Liming

发件人: Mohammad Younas Khan Pathan <pmdyounaskhan786@...>
发送时间: 2021年3月3日 22:25
收件人: gaoliming <gaoliming@...>
抄送: discuss@edk2.groups.io
主题: Re: [edk2-discuss] Reg, Building EDKII source.



Liming,

Still I am facing the same error even after installing SDK tools from MS VS 2019 installer.

And also added the below path (which has assert.h) to PATH variable:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\



Do I need to make any changes apart from this?




Thank you,

Younas.

On Wed, 3 Mar 2021 at 14:14, gaoliming <gaoliming@... <mailto:gaoliming@...> > wrote:

Please make sure install WINSDK10

-----邮件原件-----
发件人: discuss@edk2.groups.io <mailto:discuss@edk2.groups.io> <discuss@edk2.groups.io <mailto:discuss@edk2.groups.io> > 代表
Mohammad Younas Khan Pathan
发送时间: 2021年3月3日 15:42
收件人: Mohammad Younas Khan Pathan <pmdyounaskhan786@... <mailto:pmdyounaskhan786@...> >;
discuss@edk2.groups.io <mailto:discuss@edk2.groups.io>
主题: Re: [edk2-discuss] Reg, Building EDKII source.

Liming,
I can able to download the build tools for VS from
https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-
2019
I am facing a build error while building latest Basetools using "edksetup.bat
rebuild" command.
BaseTools\Source\C\Common\CommonLib.h(14): fatal error C1083: Cannot
open include file: 'assert.h': No such file or directory

Is there any issue for it? or is it fixed?

Thanks,
Younas.