Skip to content
New issue

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

Cannot build project #42

Open
rafpodgorski opened this issue Mar 5, 2022 · 3 comments
Open

Cannot build project #42

rafpodgorski opened this issue Mar 5, 2022 · 3 comments

Comments

@rafpodgorski
Copy link

I am trying to build this project but it is impossible. I am getting long list of errors about 'No such file or directory', 'Cannot open source file' all the time. I set NASM_PREFIX environment variable correctly but nasm cannot execute command

Error MSB3721 The command ""D:\NASM\nasm.exe" -o "D:\VisualUefi\EDK-II\x64\Release\obj\BaseCpuLib\CpuFlushTlb.obj" -fwin64 -g -I"D:\VisualUefi\EDK-II\..\edk2\MdePkg" -I"D:\VisualUefi\EDK-II\..\edk2\MdePkg\Include" -I"D:\VisualUefi\EDK-II\..\edk2\MdePkg\Library\BaseLib\X64" -I"D:\VisualUefi\EDK-II\..\edk2\MdePkg\Include\X64" -P"D:\VisualUefi\EDK-II\BaseLib\vshacks.nasm" "D:\VisualUefi\edk2\MdePkg\Library\BaseCpuLib\x64\CpuFlushTlb.nasm"" exited with code 1. BaseCpuLib D:\VisualUefi\EDK-II\MSBuild\nasm.targets 33

What is the problem? How to resolve it?

@stopyan
Copy link

stopyan commented Aug 8, 2022

Check if the folder "D:\VisualUefi\edk2" is empty

@ByteWhite1x1
Copy link

ByteWhite1x1 commented Apr 27, 2023

"git clone https://github.com/ionescu007/VisualUefi.git --recurse-submodules" and add system environment variable:

NASM_PREFIX=C:\NASM_INSTALLATION_DIRECTORY\

And remember to restart VS2017 after adding the variable.

@red9350
Copy link

red9350 commented Aug 17, 2024

"git clone https://github.com/ionescu007/VisualUefi.git --recurse-submodules" and add system environment variable:

NASM_PREFIX=C:\NASM_INSTALLATION_DIRECTORY\

And remember to restart VS2017 after adding the variable.

This git clone with the recourse-submodules parameter should be added to the readme... it fixed my issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants