nasm errors during build
startergo opened this issue · 5 comments
startergo commented
Severity Code Description Project Path File Line Suppression State Tool
Error MSB3721 The command ""nasm.exe" -o "C:\Users\<user>\source\repos\VisualUefi\EDK-II\x64\Release\obj\BaseCpuLib\CpuFlushTlb.obj" -fwin64 -g -I"C:\Users\<user>\source\repos\VisualUefi\EDK-II\..\edk2\MdePkg" -I"C:\Users\<user>\source\repos\VisualUefi\EDK-II\..\edk2\MdePkg\Include" -I"C:\Users\<user>\source\repos\VisualUefi\EDK-II\..\edk2\MdePkg\Library\BaseLib\X64" -I"C:\Users\<user>\source\repos\VisualUefi\EDK-II\..\edk2\MdePkg\Include\X64" -P"C:\Users\<user>\source\repos\VisualUefi\EDK-II\BaseLib\vshacks.nasm" "C:\Users\<user>\source\repos\VisualUefi\edk2\MdePkg\Library\BaseCpuLib\x64\CpuFlushTlb.nasm"" exited with code 1. BaseCpuLib C:\Users\<user>\source\repos\VisualUefi\EDK-II\MSBuild C:\Users\<user>\source\repos\VisualUefi\EDK-II\MSBuild\nasm.targets 33 NASM
Error MSB3721 The command ""nasm.exe" -o "C:\Users\<user>\source\repos\VisualUefi\EDK-II\x64\Release\obj\BaseLib\CpuId.obj" -fwin64 -g -I"C:\Users\<user>\source\repos\VisualUefi\EDK-II\..\edk2\MdePkg" -I"C:\Users\<user>\source\repos\VisualUefi\EDK-II\..\edk2\MdePkg\Include" -I"C:\Users\<user>\source\repos\VisualUefi\EDK-II\..\edk2\MdePkg\Library\BaseLib\X64" -I"C:\Users\<user>\source\repos\VisualUefi\EDK-II\..\edk2\MdePkg\Include\X64" -P"C:\Users\<user>\source\repos\VisualUefi\EDK-II\BaseLib\vshacks.nasm" "C:\Users\<user>\source\repos\VisualUefi\edk2\MdePkg\Library\BaseLib\X64\CpuId.nasm"" exited with code 1. BaseLib C:\Users\<user>\source\repos\VisualUefi\EDK-II\MSBuild C:\Users\<user>\source\repos\VisualUefi\EDK-II\MSBuild\nasm.targets 33 NASM
Error MSB3721 The command ""nasm.exe" -o "C:\Users\<user>\source\repos\VisualUefi\EDK-II\x64\Release\obj\BaseSynchronizationLib\InterlockedDecrement.obj" -fwin64 -g -I"C:\Users\<user>\source\repos\VisualUefi\EDK-II\..\edk2\MdePkg" -I"C:\Users\<user>\source\repos\VisualUefi\EDK-II\..\edk2\MdePkg\Include" -I"C:\Users\<user>\source\repos\VisualUefi\EDK-II\..\edk2\MdePkg\Library\BaseLib\X64" -I"C:\Users\<user>\source\repos\VisualUefi\EDK-II\..\edk2\MdePkg\Include\X64" -P"C:\Users\<user>\source\repos\VisualUefi\EDK-II\BaseLib\vshacks.nasm" "C:\Users\<user>\source\repos\VisualUefi\edk2\MdePkg\Library\BaseSynchronizationLib\X64\InterlockedDecrement.nasm"" exited with code 1. BaseSynchronizationLib C:\Users\<user>\source\repos\VisualUefi\EDK-II\MSBuild C:\Users\<user>\source\repos\VisualUefi\EDK-II\MSBuild\nasm.targets 33 NASM
gldan commented
me too
MellowNight commented
same here
MellowNight commented
ok i fixed it guys,
remember to define environment variable like this:
C:\Users\jguo5\AppData\Local\bin\NASM\
and then restart your computer whenever you change the environment variable just to make sure the changes are in place.
i think its time to close this issue
startergo commented
thanks. It is also a good idea to use:
git clone --recursive
when cloning the project otherwise the openssl fails. Maybe you can add it to the readme.
nschuetz1311 commented
I also had this issue but only when I downloaded the .zip file after getting it via git the issue seemed to be resolved.