We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried to create a new UefiHandleParsingLib project, but the compilation failed.
UefiHandleParsingLib.vcxproj file: <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Release|x64"> <Configuration>Release</Configuration> <Platform>x64</Platform> </ProjectConfiguration> </ItemGroup> <PropertyGroup Label="Globals"> <Keyword>Win32Proj</Keyword> <ProjectGuid>{A5267D46-2AB2-4252-9B70-203503D3223C}</ProjectGuid> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <Import Project="$(SolutionDir)\edk2.default.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" /> <Import Project="$(SolutionDir)\edk2.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" /> <ItemGroup> <ClCompile Include="$(EDK_PATH)\ShellPkg\Library\UefiHandleParsingLib\UefiHandleParsingLib.c" /> </ItemGroup> </Project>
<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Release|x64"> <Configuration>Release</Configuration> <Platform>x64</Platform> </ProjectConfiguration> </ItemGroup> <PropertyGroup Label="Globals"> <Keyword>Win32Proj</Keyword> <ProjectGuid>{A5267D46-2AB2-4252-9B70-203503D3223C}</ProjectGuid> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <Import Project="$(SolutionDir)\edk2.default.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" /> <Import Project="$(SolutionDir)\edk2.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" /> <ItemGroup> <ClCompile Include="$(EDK_PATH)\ShellPkg\Library\UefiHandleParsingLib\UefiHandleParsingLib.c" /> </ItemGroup> </Project>
Get error: 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(181): error C2065: “UefiHandleParsingLibStrings”: 未声明的标识符 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(268): error C2065: “STR_LI_DUMP_NAME”: 未声明的标识符 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(268): warning C4244: “函数”: 从“int”转换到“EFI_STRING_ID”,可能丢失数据 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(278): error C2065: “STR_LI_DUMP_MAIN”: 未声明的标识符 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(278): warning C4244: “函数”: 从“int”转换到“EFI_STRING_ID”,可能丢失数据 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(346): error C2065: “STR_GOP_DUMP_MAIN”: 未声明的标识符 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(346): warning C4244: “函数”: 从“int”转换到“EFI_STRING_ID”,可能丢失数据 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(387): error C2065: “STR_GOP_RES_LIST_MAIN”: 未声明的标识符 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(387): warning C4244: “函数”: 从“int”转换到“EFI_STRING_ID”,可能丢失数据 ......
1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(181): error C2065: “UefiHandleParsingLibStrings”: 未声明的标识符 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(268): error C2065: “STR_LI_DUMP_NAME”: 未声明的标识符 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(268): warning C4244: “函数”: 从“int”转换到“EFI_STRING_ID”,可能丢失数据 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(278): error C2065: “STR_LI_DUMP_MAIN”: 未声明的标识符 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(278): warning C4244: “函数”: 从“int”转换到“EFI_STRING_ID”,可能丢失数据 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(346): error C2065: “STR_GOP_DUMP_MAIN”: 未声明的标识符 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(346): warning C4244: “函数”: 从“int”转换到“EFI_STRING_ID”,可能丢失数据 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(387): error C2065: “STR_GOP_RES_LIST_MAIN”: 未声明的标识符 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(387): warning C4244: “函数”: 从“int”转换到“EFI_STRING_ID”,可能丢失数据 ......
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried to create a new UefiHandleParsingLib project, but the compilation failed.
UefiHandleParsingLib.vcxproj file:
<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Release|x64"> <Configuration>Release</Configuration> <Platform>x64</Platform> </ProjectConfiguration> </ItemGroup> <PropertyGroup Label="Globals"> <Keyword>Win32Proj</Keyword> <ProjectGuid>{A5267D46-2AB2-4252-9B70-203503D3223C}</ProjectGuid> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <Import Project="$(SolutionDir)\edk2.default.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" /> <Import Project="$(SolutionDir)\edk2.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" /> <ItemGroup> <ClCompile Include="$(EDK_PATH)\ShellPkg\Library\UefiHandleParsingLib\UefiHandleParsingLib.c" /> </ItemGroup> </Project>
Get error:
1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(181): error C2065: “UefiHandleParsingLibStrings”: 未声明的标识符 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(268): error C2065: “STR_LI_DUMP_NAME”: 未声明的标识符 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(268): warning C4244: “函数”: 从“int”转换到“EFI_STRING_ID”,可能丢失数据 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(278): error C2065: “STR_LI_DUMP_MAIN”: 未声明的标识符 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(278): warning C4244: “函数”: 从“int”转换到“EFI_STRING_ID”,可能丢失数据 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(346): error C2065: “STR_GOP_DUMP_MAIN”: 未声明的标识符 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(346): warning C4244: “函数”: 从“int”转换到“EFI_STRING_ID”,可能丢失数据 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(387): error C2065: “STR_GOP_RES_LIST_MAIN”: 未声明的标识符 1>d:\uefi\visualuefi\edk2\shellpkg\library\uefihandleparsinglib\uefihandleparsinglib.c(387): warning C4244: “函数”: 从“int”转换到“EFI_STRING_ID”,可能丢失数据 ......
The text was updated successfully, but these errors were encountered: