Reg, Building EDKII source.


Mohammad Younas Khan Pathan <pmdyounaskhan786@...>
 

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.


pmdyounaskhan786@...
 

Liming,
Thanks for the comments. I can understand.
But VS is licensed one and EDKII is open-source.
Can we avoid using VS tools or use any open source tools in EDKII source
build system?

Thank you,
Younas.

On Fri, 26 Feb 2021 at 06:30, gaoliming <gaoliming@...> wrote:

The build step can refer to
https://github.com/tianocore/tianocore.github.io/wiki/CLANG9-Tools-Chain#the-verbos-build-and-run-steps-in-windows

This step is to build EDK2 with CLANGPDB tool chain. But, it still depends
on MS VS on windows OS. Now, Windows build depends on VS.

Python, Nasm and IASL are all required.

Thanks
Liming
-----邮件原件-----
发件人: discuss@edk2.groups.io <discuss@edk2.groups.io> 代表
pmdyounaskhan786@...
发送时间: 2021年2月25日 13:08
收件人: discuss@edk2.groups.io
主题: [edk2-discuss] Reg, Building EDKII source.

Hello,
Do we have steps to build the latest EDK II source? or any related
reference
link?
Also can we build EDK II source without MS VisualStudio being installed
in the
system?
In my windows machine, I have tried installing MS VS 2019 community
edition
(free), but it doesn't have VC/bin/* tools like nmake.exe etc.
Also is NASM and IASL mandatory for EDK II source build?

Thanks,
Younas.