我遵循了构建指令这里。但是一旦我运行了构建,这就是我得到的:
C:\edk2>build
Build environment: Windows-post2008Server-6.2.9200
Build start time: 11:52:03, Jan.26 2016
WORKSPACE = c:\edk2
ECP_SOURCE = c:\edk2\edkcompatibilitypkg
EDK_SOURCE = c:\edk2\edkcompatibilitypkg
EFI_SOURCE = c:\edk2\edkcompatibilitypkg
EDK_TOOLS_PATH = c:\edk2\basetools
EDK_TOOLS_BIN = c:\edk2\basetools\bin\win32
Architecture(s) = IA32
Build target = DEBUG
Toolchain = VS2013
Active Platform = c:\edk2\MdeModulePkg\MdeModulePkg.dsc
Processing meta-data ........... done!
Building ... c:\edk2\MdePkg\Library\BaseDebugPrintErrorLevelLib\BaseDebugPrintErrorLevelLib.inf [IA32]
build...
: error 7000: Failed to start command
C:\Program Files\Microsoft Visual Studio 12.0\Vc\bin\nmake.exe /nologo tbuild [c:\edk2\Build\MdeModule\DEBUG_VS2
013\IA32\MdePkg\Library\BaseDebugPrintErrorLevelLib\BaseDebugPrintErrorLevelLib]
build...
: error F002: Failed to build module
c:\edk2\MdePkg\Library\BaseDebugPrintErrorLevelLib\BaseDebugPrintErrorLevelLib.inf [IA32, VS2013, DEBUG]
- Failed -
Build end time: 11:52:15, Jan.26 2016
Build total time: 00:00:11我怎么才能解决这个问题?
发布于 2016-01-27 12:28:08
最有可能的问题是,C:\Program \MicrosoftVisualStudio12.0\Vc\bin下面没有nmake.exe,所以就像第一个错误说的那样,它“未能启动命令”。沿着这条路走,看看nmake.exe是否在那里。
在我的机器上,同样的构建环境也会失败,因为nmake.exe不是位于"c:\Program .“下,而是位于"c:\Program (X86).”下。因此,如果您更新c:\edk2 2\Conf\下面的target.txt文件以设置工具链VS2013x86:
TOOL_CHAIN_TAG = VS2013x86那它就应该建好。在任何情况下,这个疑难解答步骤将帮助您进一步了解故障的原因。
https://stackoverflow.com/questions/35011409
复制相似问题