edk2+VS2008配置問題
起初使用vs2010和edk2來進行配置,我將vs2010安裝在了d盤
1、開啟cmd.exe,找到edk2資料夾,執行edksetup.bat –nt32,出現兩個warning(不管),修改target.txt
Build失敗,原因是預設安裝路徑在c盤,需要修改路徑
2、將vs2010解除安裝後安裝在預設路徑,依舊build失敗
E:\EDK2>build
Build environment: Windows-7-6.1.7601-SP1
Build start time: 09:37:52, Dec.14 2018
WORKSPACE = e:\edk2
ECP_SOURCE = e:\edk2\edkcompatibilitypkg
EDK_SOURCE = e:\edk2\edkcompatibilitypkg
EFI_SOURCE = e:\edk2\edkcompatibilitypkg
EDK_TOOLS_PATH = e:\edk2\basetools
EDK_TOOLS_BIN = e:\edk2\basetools\bin\win32
CONF_PATH = e:\edk2\conf
Architecture(s) = IA32
Build target = DEBUG
Toolchain = VS2010x86
Active Platform = e:\edk2\Nt32Pkg\Nt32Pkg.dsc
Flash Image Definition = e:\edk2\Nt32Pkg\Nt32Pkg.fdf
Processing meta-data ........ done!
Building ... e:\edk2\MdePkg\Library\PeiMemoryAllocationLib\PeiMemoryAllocationLi
b.inf [IA32]
Building ... e:\edk2\MdePkg\Library\PeiServicesLib\PeiServicesLib.inf [IA32]
Building ... e:\edk2\Nt32Pkg\Library\PeiNt32OemHookStatusCodeLib\PeiNt32OemHookS
tatusCodeLib.inf [IA32]
Building ... e:\edk2\MdeModulePkg\Library\PeiReportStatusCodeLib\PeiReportStatus
CodeLib.inf [IA32]
Building ... e:\edk2\MdePkg\Library\BaseLib\BaseLib.inf [IA32]
"d:\visual studio 2010\Vc\bin\cl.exe" /nologo /E /TC /FIAutoGen.h /Ie:\e
dk2\MdePkg\Library\BaseLib\Ia32 /Ie:\edk2\MdePkg\Library\BaseLib /Ie:\edk2\Bui
ld\NT32IA32\DEBUG_VS2010x86\IA32\MdePkg\Library\BaseLib\BaseLib\DEBUG /Ie:\edk2
\MdePkg /Ie:\edk2\MdePkg\Include /Ie:\edk2\MdePkg\Include\Ia32 e:\edk2\MdePkg\
Library\BaseLib\Ia32\DivU64x64Remainder.nasm > e:\edk2\Build\NT32IA32\DEBUG_VS20
10x86\IA32\MdePkg\Library\BaseLib\BaseLib\OUTPUT\Ia32\DivU64x64Remainder.i
'd:\visual' 不是內部或外部命令,也不是可執行的程式
或批處理檔案。
NMAKE : fatal error U1077: “"d:\visual studio 2010\Vc\bin\cl.exe"”: 返回程式碼“
0x1”
Stop.
build...
: error 7000: Failed to execute command
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Vc\bin\nmake.exe /no
logo tbuild [e:\edk2\Build\NT32IA32\DEBUG_VS2010x86\IA32\MdePkg\Library\BaseLib\
BaseLib]
build...
: error 7000: Failed to execute command
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Vc\bin\nmake.exe /no
logo tbuild [e:\edk2\Build\NT32IA32\DEBUG_VS2010x86\IA32\MdePkg\Library\BaseMemo
ryLibOptDxe\BaseMemoryLibOptDxe]
build...
: error F002: Failed to build module
e:\edk2\MdePkg\Library\BaseLib\BaseLib.inf [IA32, VS2010x86, DEBUG]
- Failed -
Build end time: 09:38:04, Dec.14 2018
Build total time: 00:00:12
3、因為不知道怎麼修改路徑,又再次將vs2010解除安裝,換了vs2008,放在c盤預設路徑,就build成功了。
相關文章
- bootstrap 配置問題boot
- keepalived配置問題
- Zabbix Agent配置問題
- conda配置源問題
- laravel配置系統使用問題Laravel
- Tomcat配置jsp亂碼問題TomcatJS
- 配置 Homestead 遇到 PHP 版本問題PHP
- webpack中babel的配置問題WebBabel
- Hodoop配置中遇到的問題OdooOOP
- 使用配置中心config client,不拉取配置問題client
- 關於redis配置找不到問題Redis
- Linux IP地址修改與配置問題Linux
- Chisel+Interllj 配置問題記錄
- nginx伺服器配置問題心得Nginx伺服器
- Flutter配置環境常見問題Flutter
- mac 配置mysql環境 Navicat 問題MacMySql
- Harbor搭建及配置 問題解決
- 如何解決資料庫配置問題資料庫
- apollo配置中心啟動遇到的問題
- angular版本更新與配置檔案問題Angular
- 阿里雲的nginx的https配置問題阿里NginxHTTP
- vue-cli3的eslint配置問題VueEsLint
- 配置MapReduce時遇到的問題記錄
- vue webpack配置解決跨域問題VueWeb跨域
- 阿里雲 函式計算 域名配置問題阿里函式
- upsource 配置git倉庫時的 rsa 問題Git
- 關於lnmp配置laravel專案的問題?LNMPLaravel
- mybatisplus 配置引起的生產問題 no bean ‘sqlSessionFactory‘MyBatisBeanSQLSession
- 解決Ubuntu配置nginx出現的問題UbuntuNginx
- 關於mes系統硬體配置問題
- iis配置繫結二級域名的問題
- Spring boot 解決跨域問題配置類Spring Boot跨域
- sbt配置——資料來源問題解決
- 配置Mysql Group Replication遇到的問題筆記MySql筆記
- 線上問題總結-獲取不到連線池(logback 配置+程式碼問題)
- [解決問題] Vagrant nginx 站點配置問題(ThinkPHP HTML 無法調跳轉)NginxPHPHTML
- log4j 動態配置,重啟專案配置失效問題
- CUDA常見編譯器配置問題一覽編譯