Search code examples
visual-studiouefi

TianoCore UEFI Development Kit build configuration on Windows


How to properly install EDK2 on Windows? I'm trying to follow this instructions, but it doesn't work...

  • created C:\EFIWorkSpace
  • Created Win32 in C:\EFIWorkspace\BaseTools\Bin from BaseTools
  • set PYTHON_HOME=C:\Python27
  • set CYGWIN_HOME=C:\cygwin64

The errors begin when I'm trying to execute build in C:\EFIWorkSpace>

Screenshot: https://i.sstatic.net/ASO1Y.jpg

(c:\efiworkspace\MdePkg\Library\BasePeCoffLib\BasePeCoffLib.inf [IA32] - System cannot find certain path]

How can i set these kits to use it further in Visual Studio 2017? I want to build an UEFI Application. Maybe someone knows a good youtube tutorial? I will appreciate any help.


Solution

  • You need to change the ToolChain in target.txt from MYTOOLS to match your toolchain (VS2017x86). Also, note that UDK2017 doesn't officially support the VS2017 toolchain. Please use UDK2018.

    https://github.com/tianocore/tianocore.github.io/wiki/UDK2018-Key-Features

    https://github.com/tianocore/tianocore.github.io/wiki/UDK2018-How-to-Build