Date
1 - 1 of 1
Reg, Building EDKII source.
Mohammad Younas Khan Pathan <pmdyounaskhan786@...>
Liming,
toggle quoted message
Show quoted text
After creating a new INCLUDE env variable, it resolved the build error. But faced other errors and created a LIB env variable for WinSDK libs. I am getting another error for *windows.h* header file which is not there in the WinSDK include folder. Can you help me with this? ###################### # Build executables ###################### subprocess not exit successfully Error while execute command 'nmake all' in direcotry F:\younas\edk2_latest\BaseTools\Source\C\GenFfs Microsoft (R) Program Maintenance Utility Version 14.28.29910.0 Copyright (C) Microsoft Corporation. All rights reserved. cl.exe -c /nologo /Zi /c /O2 /MT /W4 /WX /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE -I . -I F:\younas\edk2_latest\BaseTools\Source\C\Include -I F:\younas\edk2_latest\BaseTools\Source\C\Include\Ia32 -I F:\younas\edk2_latest\BaseTools\Source\C\Common GenFfs.c -FoGenFfs.obj GenFfs.c *GenFfs.c(10): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory* NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x86\cl.exe"' : return code '0x2' Stop. Thank you, Younas. On Wed, 3 Mar 2021 at 19:58, gaoliming <gaoliming@...> wrote:
Please open new cmd, and cd Edk2, type edksetup.bat Rebuild again. |
|