<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	「UDK2018 来了&#8212;-常见编译问题」的评论	</title>
	<atom:link href="https://www.lab-z.com/udk2018coming/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.lab-z.com/udk2018coming/</link>
	<description></description>
	<lastBuildDate>Mon, 07 Aug 2023 22:38:59 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>
		评论者：ziv2013		</title>
		<link>https://www.lab-z.com/udk2018coming/#comment-304271</link>

		<dc:creator><![CDATA[ziv2013]]></dc:creator>
		<pubDate>Mon, 07 Aug 2023 22:38:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=5707#comment-304271</guid>

					<description><![CDATA[回复给 &lt;a href=&quot;https://www.lab-z.com/udk2018coming/#comment-298037&quot;&gt;Rudi_Li&lt;/a&gt;。

这个版本的 EDK2 比较老了，建议用最新的]]></description>
			<content:encoded><![CDATA[<p>回复给 <a href="https://www.lab-z.com/udk2018coming/#comment-298037">Rudi_Li</a>。</p>
<p>这个版本的 EDK2 比较老了，建议用最新的</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：pbc		</title>
		<link>https://www.lab-z.com/udk2018coming/#comment-304132</link>

		<dc:creator><![CDATA[pbc]]></dc:creator>
		<pubDate>Mon, 07 Aug 2023 12:34:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=5707#comment-304132</guid>

					<description><![CDATA[回复给 &lt;a href=&quot;https://www.lab-z.com/udk2018coming/#comment-61703&quot;&gt;欧阳&lt;/a&gt;。

还是搞不定啊，出现了和后面一样的Link问题，请问有解决吗？]]></description>
			<content:encoded><![CDATA[<p>回复给 <a href="https://www.lab-z.com/udk2018coming/#comment-61703">欧阳</a>。</p>
<p>还是搞不定啊，出现了和后面一样的Link问题，请问有解决吗？</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：yuxuan cai		</title>
		<link>https://www.lab-z.com/udk2018coming/#comment-298098</link>

		<dc:creator><![CDATA[yuxuan cai]]></dc:creator>
		<pubDate>Mon, 26 Dec 2022 08:17:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=5707#comment-298098</guid>

					<description><![CDATA[回复给 &lt;a href=&quot;https://www.lab-z.com/udk2018coming/#comment-168945&quot;&gt;西城南&lt;/a&gt;。

其实不用下载搜狗输入法，把键盘布局切换成美式键盘就可以了]]></description>
			<content:encoded><![CDATA[<p>回复给 <a href="https://www.lab-z.com/udk2018coming/#comment-168945">西城南</a>。</p>
<p>其实不用下载搜狗输入法，把键盘布局切换成美式键盘就可以了</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：Rudi_Li		</title>
		<link>https://www.lab-z.com/udk2018coming/#comment-298037</link>

		<dc:creator><![CDATA[Rudi_Li]]></dc:creator>
		<pubDate>Thu, 18 Aug 2022 08:57:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=5707#comment-298037</guid>

					<description><![CDATA[加入到path后依然会出现这个error]]></description>
			<content:encoded><![CDATA[<p>加入到path后依然会出现这个error</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：ziv2013		</title>
		<link>https://www.lab-z.com/udk2018coming/#comment-298036</link>

		<dc:creator><![CDATA[ziv2013]]></dc:creator>
		<pubDate>Thu, 18 Aug 2022 08:33:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=5707#comment-298036</guid>

					<description><![CDATA[第一个问题，信息不足看不出来错误原因；第二个问题是你的 c:\nasm 没有加入到 path 路径中。]]></description>
			<content:encoded><![CDATA[<p>第一个问题，信息不足看不出来错误原因；第二个问题是你的 c:\nasm 没有加入到 path 路径中。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：Rudi_Li		</title>
		<link>https://www.lab-z.com/udk2018coming/#comment-298035</link>

		<dc:creator><![CDATA[Rudi_Li]]></dc:creator>
		<pubDate>Thu, 18 Aug 2022 07:47:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=5707#comment-298035</guid>

					<description><![CDATA[老师您好，我最近开始学习UEFI，在编译UEFI模拟器时遇到了问题，希望老师能指导一下
1.使用VS2015,2017,2019,2022四个版本的VS编译UEFI模拟器时，无错误提示直接failed
Build environment: Windows-10-10.0.19041
Build start time: 15:45:20, Aug.18 2022

WORKSPACE        = d:\workspace\uefiworkspace
PACKAGES_PATH    = d:\workspace\uefiworkspace\edk2;d:\workspace\uefiworkspace\edk2-libc
EDK_TOOLS_PATH   = d:\workspace\uefiworkspace\edk2\basetools
EDK_TOOLS_BIN    = d:\workspace\uefiworkspace\edk2\basetools\bin\win32
CONF_PATH        = d:\workspace\uefiworkspace\edk2\conf
PYTHON_COMMAND   = E:\Python27\python.exe


Architecture(s)  = IA32
Build target     = DEBUG
Toolchain        = VS2019

Processing meta-data .
Active Platform          = d:\workspace\uefiworkspace\edk2\EmulatorPkg\EmulatorPkg.dsc
....

- Failed -
Build end time: 15:45:24, Aug.18 2022
Build total time: 00:00:04

2.我跳过编译UEFI模拟器去编译UEFI程序，出现nasm无法识别的情况
&#039;C:\NASM\nasm&#039; is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: &quot;C:\NASM\nasm: ╪┤δí░0x1
Stop.
环境配置NASM_PREFIX是C:\NASM\,我曾经使用的小写]]></description>
			<content:encoded><![CDATA[<p>老师您好，我最近开始学习UEFI，在编译UEFI模拟器时遇到了问题，希望老师能指导一下<br />
1.使用VS2015,2017,2019,2022四个版本的VS编译UEFI模拟器时，无错误提示直接failed<br />
Build environment: Windows-10-10.0.19041<br />
Build start time: 15:45:20, Aug.18 2022</p>
<p>WORKSPACE        = d:\workspace\uefiworkspace<br />
PACKAGES_PATH    = d:\workspace\uefiworkspace\edk2;d:\workspace\uefiworkspace\edk2-libc<br />
EDK_TOOLS_PATH   = d:\workspace\uefiworkspace\edk2\basetools<br />
EDK_TOOLS_BIN    = d:\workspace\uefiworkspace\edk2\basetools\bin\win32<br />
CONF_PATH        = d:\workspace\uefiworkspace\edk2\conf<br />
PYTHON_COMMAND   = E:\Python27\python.exe</p>
<p>Architecture(s)  = IA32<br />
Build target     = DEBUG<br />
Toolchain        = VS2019</p>
<p>Processing meta-data .<br />
Active Platform          = d:\workspace\uefiworkspace\edk2\EmulatorPkg\EmulatorPkg.dsc<br />
&#8230;.</p>
<p>&#8211; Failed &#8211;<br />
Build end time: 15:45:24, Aug.18 2022<br />
Build total time: 00:00:04</p>
<p>2.我跳过编译UEFI模拟器去编译UEFI程序，出现nasm无法识别的情况<br />
&#8216;C:\NASM\nasm&#8217; is not recognized as an internal or external command,<br />
operable program or batch file.<br />
NMAKE : fatal error U1077: &#8220;C:\NASM\nasm: ╪┤δí░0x1<br />
Stop.<br />
环境配置NASM_PREFIX是C:\NASM\,我曾经使用的小写</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：ziv2013		</title>
		<link>https://www.lab-z.com/udk2018coming/#comment-298033</link>

		<dc:creator><![CDATA[ziv2013]]></dc:creator>
		<pubDate>Thu, 04 Aug 2022 01:00:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=5707#comment-298033</guid>

					<description><![CDATA[回复给 &lt;a href=&quot;https://www.lab-z.com/udk2018coming/#comment-298031&quot;&gt;RedsXi&lt;/a&gt;。

你用的什么版本的 VS ? 我测试最高的只到 VS2019]]></description>
			<content:encoded><![CDATA[<p>回复给 <a href="https://www.lab-z.com/udk2018coming/#comment-298031">RedsXi</a>。</p>
<p>你用的什么版本的 VS ? 我测试最高的只到 VS2019</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：RedsXi		</title>
		<link>https://www.lab-z.com/udk2018coming/#comment-298031</link>

		<dc:creator><![CDATA[RedsXi]]></dc:creator>
		<pubDate>Wed, 03 Aug 2022 09:56:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=5707#comment-298031</guid>

					<description><![CDATA[######################
# Build libraries
######################

Microsoft (R) 程序维护实用工具 14.33.31627.1 版
版权所有 (C) Microsoft Corporation。  保留所有权利。

        lib.exe /nologo /out:C:\edkii\BaseTools\Lib\Win32\Common.lib BasePeCoff.obj BinderFuncs.obj CommonLib.obj Crc32.obj Decompress.obj EfiCompress.obj EfiUtilityMsgs.obj FirmwareVolumeBuffer.obj FvLib.obj MemoryFile.obj MyAlloc.obj OsPath.obj ParseGuidedSectionTools.obj ParseInf.obj PeCoffLoaderEx.obj SimpleFileParsing.obj StringFuncs.obj TianoCompress.obj
BinderFuncs.obj : fatal error LNK1112: 模块计算机类型“x86”与目标计算机类型“x64”冲突
NMAKE : fatal error U1077: “&quot;C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.33.31627\bin\HostX86\x86\lib.exe&quot;”: 返回代码“0x458”
Stop.
NMAKE : fatal error U1077: “if”: 返回代码“0x1”
Stop.
NMAKE : fatal error U1077: “if”: 返回代码“0x1”
Stop.]]></description>
			<content:encoded><![CDATA[<p>######################<br />
# Build libraries<br />
######################</p>
<p>Microsoft (R) 程序维护实用工具 14.33.31627.1 版<br />
版权所有 (C) Microsoft Corporation。  保留所有权利。</p>
<p>        lib.exe /nologo /out:C:\edkii\BaseTools\Lib\Win32\Common.lib BasePeCoff.obj BinderFuncs.obj CommonLib.obj Crc32.obj Decompress.obj EfiCompress.obj EfiUtilityMsgs.obj FirmwareVolumeBuffer.obj FvLib.obj MemoryFile.obj MyAlloc.obj OsPath.obj ParseGuidedSectionTools.obj ParseInf.obj PeCoffLoaderEx.obj SimpleFileParsing.obj StringFuncs.obj TianoCompress.obj<br />
BinderFuncs.obj : fatal error LNK1112: 模块计算机类型“x86”与目标计算机类型“x64”冲突<br />
NMAKE : fatal error U1077: “&#8221;C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.33.31627\bin\HostX86\x86\lib.exe&#8221;”: 返回代码“0x458”<br />
Stop.<br />
NMAKE : fatal error U1077: “if”: 返回代码“0x1”<br />
Stop.<br />
NMAKE : fatal error U1077: “if”: 返回代码“0x1”<br />
Stop.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：Jorf		</title>
		<link>https://www.lab-z.com/udk2018coming/#comment-298029</link>

		<dc:creator><![CDATA[Jorf]]></dc:creator>
		<pubDate>Sun, 31 Jul 2022 15:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=5707#comment-298029</guid>

					<description><![CDATA[Traceback (most recent call last):
  File &quot;C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py&quot;, line 27, in 
  File &quot;GenFds\GenFds.py&quot;, line 24, in 
ValueError: Attempted relative import in non-package


build...
 : error 7000: Failed to execute command
        GenFds -f d:\edk2\Nt32Pkg\Nt32Pkg.fdf --conf=d:\edk2\conf -o d:\edk2\Build\NT32IA32\DEBUG_VS2017 -t VS2017 -b DEBUG -p d:\edk2\Nt32Pkg\Nt32Pkg.dsc -a IA32  -D &quot;EFI_SOURCE=d:\\edk2\\edkcompatibilitypkg&quot;  -D &quot;EDK_SOURCE=d:\\edk2\\edkcompatibilitypkg&quot;  -D &quot;TOOL_CHAIN_TAG=VS2017&quot;  -D &quot;TOOLCHAIN=VS2017&quot;  -D &quot;TARGET=DEBUG&quot;  -D &quot;FAMILY=MSFT&quot;  -D &quot;WORKSPACE=d:\\edk2&quot;  -D &quot;EDK_TOOLS_PATH=d:\\edk2\\basetools&quot;  -D &quot;ARCH=IA32&quot;  -D &quot;ECP_SOURCE=d:\\edk2\\edkcompatibilitypkg&quot; [D:\edk2]

- Failed -
Build end time: 23:00:15, Jul.31 2022
Build total time: 00:00:23]]></description>
			<content:encoded><![CDATA[<p>Traceback (most recent call last):<br />
  File &#8220;C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py&#8221;, line 27, in<br />
  File &#8220;GenFds\GenFds.py&#8221;, line 24, in<br />
ValueError: Attempted relative import in non-package</p>
<p>build&#8230;<br />
 : error 7000: Failed to execute command<br />
        GenFds -f d:\edk2\Nt32Pkg\Nt32Pkg.fdf &#8211;conf=d:\edk2\conf -o d:\edk2\Build\NT32IA32\DEBUG_VS2017 -t VS2017 -b DEBUG -p d:\edk2\Nt32Pkg\Nt32Pkg.dsc -a IA32  -D &#8220;EFI_SOURCE=d:\\edk2\\edkcompatibilitypkg&#8221;  -D &#8220;EDK_SOURCE=d:\\edk2\\edkcompatibilitypkg&#8221;  -D &#8220;TOOL_CHAIN_TAG=VS2017&#8221;  -D &#8220;TOOLCHAIN=VS2017&#8221;  -D &#8220;TARGET=DEBUG&#8221;  -D &#8220;FAMILY=MSFT&#8221;  -D &#8220;WORKSPACE=d:\\edk2&#8221;  -D &#8220;EDK_TOOLS_PATH=d:\\edk2\\basetools&#8221;  -D &#8220;ARCH=IA32&#8221;  -D &#8220;ECP_SOURCE=d:\\edk2\\edkcompatibilitypkg&#8221; [D:\edk2]</p>
<p>&#8211; Failed &#8211;<br />
Build end time: 23:00:15, Jul.31 2022<br />
Build total time: 00:00:23</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：BY		</title>
		<link>https://www.lab-z.com/udk2018coming/#comment-291741</link>

		<dc:creator><![CDATA[BY]]></dc:creator>
		<pubDate>Wed, 20 Jul 2022 06:00:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=5707#comment-291741</guid>

					<description><![CDATA[回复给 &lt;a href=&quot;https://www.lab-z.com/udk2018coming/#comment-130064&quot;&gt;ddd&lt;/a&gt;。

这个问题主要是 PYTHON_HOME环境变量没有设置导致bat脚本执行中断出现的问题，因为set设置的环境变量只在当前窗口有效，有时候你新开了个窗口忘记设置这个环境变量，后续编译就会出现GenFds这个错误。出现这个错误，只需要重新打开一个命令行窗口，设置好PYTHON_HOME重新编译就可以了。为了方便，建议直接将PYTHON_HOME=C:\Python27加入到系统环境变量。]]></description>
			<content:encoded><![CDATA[<p>回复给 <a href="https://www.lab-z.com/udk2018coming/#comment-130064">ddd</a>。</p>
<p>这个问题主要是 PYTHON_HOME环境变量没有设置导致bat脚本执行中断出现的问题，因为set设置的环境变量只在当前窗口有效，有时候你新开了个窗口忘记设置这个环境变量，后续编译就会出现GenFds这个错误。出现这个错误，只需要重新打开一个命令行窗口，设置好PYTHON_HOME重新编译就可以了。为了方便，建议直接将PYTHON_HOME=C:\Python27加入到系统环境变量。</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
