public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] Error during build the Add_Shell_String
@ 2024-07-10  6:56 Kuldeep Rana
  2024-07-11  4:32 ` Andrew Fish via groups.io
  0 siblings, 1 reply; 3+ messages in thread
From: Kuldeep Rana @ 2024-07-10  6:56 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 3281 bytes --]

Hello,
I am a beginner in the field of EDK2. So when i am running this
command then it is giving me an error message. The command is this: "
build -D ADD_SHELL_STRING -a X64 -p EmulatorPkg/EmulatorPkg.dsc". For
more information, I am attaching the screenshot of the error. Thank
you so much
-----------------------------------------------------------------------------------------
C:\Users\kuldeep.rana\BIOS\edk2> build -D ADD_SHELL_STRING -a X64 -p
EmulatorPkg/EmulatorPkg.dsc
Build environment: Windows-10-10.0.22621-SP0
Build start time: 14:48:18, Jul.10 2024

WORKSPACE        = c:\users\kuldeep.rana\bios\edk2
EDK_TOOLS_PATH   = c:\users\kuldeep.rana\bios\edk2\basetools
EDK_TOOLS_BIN    = c:\users\kuldeep.rana\bios\edk2\basetools\bin\win32
CONF_PATH        = c:\users\kuldeep.rana\bios\edk2\conf
PYTHON_COMMAND   = py -3


Processing meta-data
.Architecture(s)  = X64
Build target     = DEBUG
Toolchain        = VS2019

Active Platform          =
c:\users\kuldeep.rana\bios\edk2\EmulatorPkg\EmulatorPkg.dsc
...... done!
Building ... c:\users\kuldeep.rana\bios\edk2\MdePkg\Library\UefiDriverEntryPoint\UefiDriverEntryPoint.inf
[X64]
Building ... c:\users\kuldeep.rana\bios\edk2\MdePkg\Library\UefiLib\UefiLib.inf
[X64]
Building ... c:\users\kuldeep.rana\bios\edk2\MdePkg\Library\UefiScsiLib\UefiScsiLib.inf
[X64]
The system cannot find the path specified.
Building ... c:\users\kuldeep.rana\bios\edk2\MdePkg\Library\UefiRuntimeServicesTableLib\UefiRuntimeServicesTableLib.inf
[X64]


build.py...
 : error 7000: Failed to execute command
        C:\Program Files (x86)\Windows
Kits\10bin\Hostx86\x86\nmake.exe /nologo tbuild
[c:\users\kuldeep.rana\bios\edk2\Build\EmulatorX64\DEBUG_VS2019\X64\MdePkg\Library\UefiDriverEntryPoint\UefiDriverEntryPoint]


build.py...
 : error 7000: Failed to execute command
        C:\Program Files (x86)\Windows
Kits\10bin\Hostx86\x86\nmake.exe /nologo tbuild
[c:\users\kuldeep.rana\bios\edk2\Build\EmulatorX64\DEBUG_VS2019\X64\MdePkg\Library\UefiLib\UefiLib]


build.py...
 : error 7000: Failed to execute command
        C:\Program Files (x86)\Windows
Kits\10bin\Hostx86\x86\nmake.exe /nologo tbuild
[c:\users\kuldeep.rana\bios\edk2\Build\EmulatorX64\DEBUG_VS2019\X64\MdePkg\Library\UefiScsiLib\UefiScsiLib]


build.py...
 : error 7000: Failed to execute command
        C:\Program Files (x86)\Windows
Kits\10bin\Hostx86\x86\nmake.exe /nologo tbuild
[c:\users\kuldeep.rana\bios\edk2\Build\EmulatorX64\DEBUG_VS2019\X64\MdePkg\Library\UefiRuntimeServicesTableLib\UefiRuntimeServicesTableLib]


build.py...
 : error F002: Failed to build module
        c:\users\kuldeep.rana\bios\edk2\MdePkg\Library\UefiDriverEntryPoint\UefiDriverEntryPoint.inf
[X64, VS2019, DEBUG]

- Failed -
Build end time: 14:48:25, Jul.10 2024
Build total time: 00:00:07
---------------------------------------------------------------------------------------------------------------
Best Regards,
Kuldeep Singh Rana


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#119886): https://edk2.groups.io/g/devel/message/119886
Mute This Topic: https://groups.io/mt/107157383/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Screenshot 2024-07-10 092300.png --]
[-- Type: image/png, Size: 113167 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] Error during build the Add_Shell_String
  2024-07-10  6:56 [edk2-devel] Error during build the Add_Shell_String Kuldeep Rana
@ 2024-07-11  4:32 ` Andrew Fish via groups.io
  2024-07-19  8:40   ` Adam Liu
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Fish via groups.io @ 2024-07-11  4:32 UTC (permalink / raw)
  To: devel, ranakuldeep726

[-- Attachment #1: Type: text/plain, Size: 3956 bytes --]

I’d start with checking if:
>  c:\users\kuldeep.rana\bios\edk2\MdePkg\Library\UefiRuntimeServicesTableLib\UefiRuntimeServicesTableLib.inf
Exists?

Seems like it is in the repo...
https://github.com/tianocore/edk2/blob/master/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf

Thanks,

Andrew Fish

> On Jul 10, 2024, at 2:56 AM, Kuldeep Rana <ranakuldeep726@gmail.com> wrote:
> 
> Hello,
> I am a beginner in the field of EDK2. So when i am running this
> command then it is giving me an error message. The command is this: "
> build -D ADD_SHELL_STRING -a X64 -p EmulatorPkg/EmulatorPkg.dsc". For
> more information, I am attaching the screenshot of the error. Thank
> you so much
> -----------------------------------------------------------------------------------------
> C:\Users\kuldeep.rana\BIOS\edk2> build -D ADD_SHELL_STRING -a X64 -p
> EmulatorPkg/EmulatorPkg.dsc
> Build environment: Windows-10-10.0.22621-SP0
> Build start time: 14:48:18, Jul.10 2024
> 
> WORKSPACE        = c:\users\kuldeep.rana\bios\edk2
> EDK_TOOLS_PATH   = c:\users\kuldeep.rana\bios\edk2\basetools
> EDK_TOOLS_BIN    = c:\users\kuldeep.rana\bios\edk2\basetools\bin\win32
> CONF_PATH        = c:\users\kuldeep.rana\bios\edk2\conf
> PYTHON_COMMAND   = py -3
> 
> 
> Processing meta-data
> .Architecture(s)  = X64
> Build target     = DEBUG
> Toolchain        = VS2019
> 
> Active Platform          =
> c:\users\kuldeep.rana\bios\edk2\EmulatorPkg\EmulatorPkg.dsc
> ...... done!
> Building ... c:\users\kuldeep.rana\bios\edk2\MdePkg\Library\UefiDriverEntryPoint\UefiDriverEntryPoint.inf
> [X64]
> Building ... c:\users\kuldeep.rana\bios\edk2\MdePkg\Library\UefiLib\UefiLib.inf
> [X64]
> Building ... c:\users\kuldeep.rana\bios\edk2\MdePkg\Library\UefiScsiLib\UefiScsiLib.inf
> [X64]
> The system cannot find the path specified.
> Building ... c:\users\kuldeep.rana\bios\edk2\MdePkg\Library\UefiRuntimeServicesTableLib\UefiRuntimeServicesTableLib.inf
> [X64]
> 
> 
> build.py...
> : error 7000: Failed to execute command
>        C:\Program Files (x86)\Windows
> Kits\10bin\Hostx86\x86\nmake.exe /nologo tbuild
> [c:\users\kuldeep.rana\bios\edk2\Build\EmulatorX64\DEBUG_VS2019\X64\MdePkg\Library\UefiDriverEntryPoint\UefiDriverEntryPoint]
> 
> 
> build.py...
> : error 7000: Failed to execute command
>        C:\Program Files (x86)\Windows
> Kits\10bin\Hostx86\x86\nmake.exe /nologo tbuild
> [c:\users\kuldeep.rana\bios\edk2\Build\EmulatorX64\DEBUG_VS2019\X64\MdePkg\Library\UefiLib\UefiLib]
> 
> 
> build.py...
> : error 7000: Failed to execute command
>        C:\Program Files (x86)\Windows
> Kits\10bin\Hostx86\x86\nmake.exe /nologo tbuild
> [c:\users\kuldeep.rana\bios\edk2\Build\EmulatorX64\DEBUG_VS2019\X64\MdePkg\Library\UefiScsiLib\UefiScsiLib]
> 
> 
> build.py...
> : error 7000: Failed to execute command
>        C:\Program Files (x86)\Windows
> Kits\10bin\Hostx86\x86\nmake.exe /nologo tbuild
> [c:\users\kuldeep.rana\bios\edk2\Build\EmulatorX64\DEBUG_VS2019\X64\MdePkg\Library\UefiRuntimeServicesTableLib\UefiRuntimeServicesTableLib]
> 
> 
> build.py...
> : error F002: Failed to build module
>        c:\users\kuldeep.rana\bios\edk2\MdePkg\Library\UefiDriverEntryPoint\UefiDriverEntryPoint.inf
> [X64, VS2019, DEBUG]
> 
> - Failed -
> Build end time: 14:48:25, Jul.10 2024
> Build total time: 00:00:07
> ---------------------------------------------------------------------------------------------------------------
> Best Regards,
> Kuldeep Singh Rana
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#119887): https://edk2.groups.io/g/devel/message/119887
Mute This Topic: https://groups.io/mt/107157383/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 55004 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] Error during build the Add_Shell_String
  2024-07-11  4:32 ` Andrew Fish via groups.io
@ 2024-07-19  8:40   ` Adam Liu
  0 siblings, 0 replies; 3+ messages in thread
From: Adam Liu @ 2024-07-19  8:40 UTC (permalink / raw)
  To: Andrew Fish, devel

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

Looks like nmake.exe not found. Try to fix this problem first.

I recommend to use "Developer Command Prompt for VS 2019" to build when Toolchain is set to VS2019.

You could type below command to check if your command prompt could run it without errors.

> 
> nmake.exe /?
> 

Regards,
Adam


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#119981): https://edk2.groups.io/g/devel/message/119981
Mute This Topic: https://groups.io/mt/107157383/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 1314 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-19  8:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-10  6:56 [edk2-devel] Error during build the Add_Shell_String Kuldeep Rana
2024-07-11  4:32 ` Andrew Fish via groups.io
2024-07-19  8:40   ` Adam Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox