-
Notifications
You must be signed in to change notification settings - Fork 99
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
NMAKE : fatal error U1077: 'cl' : return code '0x2' on Windows #42
Comments
I believe this was occurring due to differing bit versions, specifically I believe I was running Visual Studio x86 instead of x64. After getting everything on x64, get this issue: Going to continue this thread there. |
The same error, even if I use x64 (set PATH for amd64/cl) |
It worked for me with the Developer Command Prompt for VS 2017. If you want a script: call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat"
rubyc ... Maybe you can use some environment variables to reduce the amount of hardcoded paths. |
Windows 10, 64 bit
Ruby 2.5.1
Visual Studio 2015 Update 3
Command Ran:
rubyc my_script.rb
Debug:
Maybe related issue?
#34
The text was updated successfully, but these errors were encountered: