ionescu007 / VisualUefi

A project for allowing EDK-II Development with Visual Studio
496 stars 125 forks source link

How to fix bug "nasm". #40

Open cayhoi opened 3 years ago

cayhoi commented 3 years ago

hi u ! When build EDK-II , I has been opened file EDK-II.sln by VC++2015. An error message....

================================================================ 1>D:\code\git\VisualUefi\EDK-II\MSBuild\nasm.targets(33,5): error MSB3721: The command ""C:\nasm\nasm.exe" -o "D:\code\git\VisualUefi\EDK-II\x64\Release\obj\BaseLib\LongJump.obj" -fwin64 -g -I"D:\code\git\VisualUefi\EDK-II..\edk2\MdePkg" -I"D:\code\git\VisualUefi\EDK-II..\edk2\MdePkg\Include" -I"D:\code\git\VisualUefi\EDK-II..\edk2\MdePkg\Library\BaseLib\X64" -I"D:\code\git\VisualUefi\EDK-II..\edk2\MdePkg\Include\X64" -P"D:\code\git\VisualUefi\EDK-II\BaseLib\vshacks.nasm" "D:\code\git\VisualUefi\edk2\MdePkg\Library\BaseLib\X64\LongJump.nasm"" exited with code 1.

================================================================= I has been fix it. I can run by cmd or : go to disk :D D:

go to folder include LongJump.nasm

cd D:\code\git\VisualUefi\edk2\MdePkg\Library\BaseLib\X64\LongJump.nasm

run nasm: C:\nasm\nasm.exe -o "D:\code\git\VisualUefi\EDK-II\x64\Release\obj\BaseLib\LongJump.obj" -fwin64 -g -I"D:\code\git\VisualUefi\EDK-II..\edk2\MdePkg" -I"D:\code\git\VisualUefi\EDK-II..\edk2\MdePkg\Include" -I"D:\code\git\VisualUefi\EDK-II..\edk2\MdePkg\Library\BaseLib\X64" -I"D:\code\git\VisualUefi\EDK-II..\edk2\MdePkg\Include\X64" -P"D:\code\git\VisualUefi\EDK-II\BaseLib\vshacks.nasm" "D:\code\git\VisualUefi\edk2\MdePkg\Library\BaseLib\X64\LongJump.nasm

Done.

Limitlessssss commented 3 years ago

hi u ! When build EDK-II , I has been opened file EDK-II.sln by VC++2015. An error message....

================================================================ 1>D:\code\git\VisualUefi\EDK-II\MSBuild\nasm.targets(33,5): error MSB3721: The command ""C:\nasm\nasm.exe" -o "D:\code\git\VisualUefi\EDK-II\x64\Release\obj\BaseLib\LongJump.obj" -fwin64 -g -I"D:\code\git\VisualUefi\EDK-II..\edk2\MdePkg" -I"D:\code\git\VisualUefi\EDK-II..\edk2\MdePkg\Include" -I"D:\code\git\VisualUefi\EDK-II..\edk2\MdePkg\Library\BaseLib\X64" -I"D:\code\git\VisualUefi\EDK-II..\edk2\MdePkg\Include\X64" -P"D:\code\git\VisualUefi\EDK-II\BaseLib\vshacks.nasm" "D:\code\git\VisualUefi\edk2\MdePkg\Library\BaseLib\X64\LongJump.nasm"" exited with code 1.

================================================================= I has been fix it. I can run by cmd or : go to disk :D D:

go to folder include LongJump.nasm

cd D:\code\git\VisualUefi\edk2\MdePkg\Library\BaseLib\X64\LongJump.nasm

run nasm: C:\nasm\nasm.exe -o "D:\code\git\VisualUefi\EDK-II\x64\Release\obj\BaseLib\LongJump.obj" -fwin64 -g -I"D:\code\git\VisualUefi\EDK-II..\edk2\MdePkg" -I"D:\code\git\VisualUefi\EDK-II..\edk2\MdePkg\Include" -I"D:\code\git\VisualUefi\EDK-II..\edk2\MdePkg\Library\BaseLib\X64" -I"D:\code\git\VisualUefi\EDK-II..\edk2\MdePkg\Include\X64" -P"D:\code\git\VisualUefi\EDK-II\BaseLib\vshacks.nasm" "D:\code\git\VisualUefi\edk2\MdePkg\Library\BaseLib\X64\LongJump.nasm

Done. hello could u possibly help me discord: [HatterMafia] Маффин#5730

ghost commented 2 years ago

ignore this i fixed my issue