我正在使用 EDK2 和 Visual Studio 2019。我按照说明在 Windows 系统上设置 EDKII 构建环境。在 Windows 命令行上发送以下命令“edksetup.bat Rebuild”后,我收到以下消息。
\nsubprocess not exit successfully\nError while execute command 'nmake all' in direcotry C:\\edk2\\BaseTools\\Source\\C\\BrotliCompress\nRun Code Online (Sandbox Code Playgroud)\n...
\nLINK : fatal error LNK1181: Eingabedatei "brotli\\c\\tools\\brotli.obj" kann nicht geffnet werden.\nNMAKE : fatal error U1077: ""C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.26.28801\\bin\\HostX86\\x86\\link.exe"": Rckgabe-Code "0x49d"\nStop.\nNMAKE : fatal error U1077: "if": R\xc3\xbcckgabe-Code "0x1"\nStop.\nNMAKE : fatal error U1077: "if": R\xc3\xbcckgabe-Code "0x1"\nStop.\nRun Code Online (Sandbox Code Playgroud)\n是因为 Visual Studio 2019 兼容性还是“BrotliCompress”有问题?我将标签更改为 TOOL_CHAIN_TAG = VS2019x86。但这没有用。为了兼容 VS2019,我还应该更改哪些内容?和NMAKE文件有什么关系吗?
\n我测试了旧版本的 EDK2,它可以工作。但问题是我使用的是VS2019,我想使用edk2-stable201911。旧版本(edk2-stable201908)最多只能支持VS2017。在tools_de.txt中,没有VS2019的“通用路径宏”。上述错误是使用edk2-stable201911的结果
\n