-
Notifications
You must be signed in to change notification settings - Fork 912
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
CMake Error at CMakeLists.txt:2 (project): Running 'nmake' '-?' failed with: The system cannot find the file specified #35
Comments
[Windows] same error |
The solution was to append -G "MinGW Makefiles" to cmake -S . -B Build command. This worked for me, you can also try to use another variants. Just write a "cmake -G" and see full list of posible variants. Also, there is a release for now, and you dont anymore need to buld project by yourself. |
I installed mingw to get mingw-make.exe, and then told cmake to use the MinGW Makefiles generator:
|
adamjames's step helped me! if you don't have scoop yet installed, like me, call the following in Windows PowerShell
Such as:
|
In this case for installation you should use it in Developer Command Prompt window (Developer Command Prompt for VS 2022), you can find it in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio 2022\Visual Studio Tools.
|
It seems I didn't have Visual Studio installed. I was just following main page install instructions (github.com/antimatter15/alpaca.cpp) and they didn't mention that requirement. However, many thanks! It seems the code works after installing VS (Visual Studio). |
C:\Users\kumar\Documents\vk_raytracing_tutorial_KHR-master\ray_tracing_animation>cmake .. 'nmake' '-?' failed with: The system cannot find the file specified CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
|
I get the following error on running cmake .
`CMake Error at CMakeLists.txt:2 (project):
Running
'nmake' '-?'
failed with:
The system cannot find the file specified
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
PS C:\Users[...]\OneDrive\Documents\GitHub\alpaca.cpp>`
The text was updated successfully, but these errors were encountered: