Windows fixes for CMake & Github CI#5
Conversation
AI for the masses
|
(Windows 10) |
|
Try: |
|
Same error: Cmake\bin is in PATH: C:..\alpaca.cpp>mkdir build C:..\alpaca.cpp>cd build C:..\alpaca.cpp\build>cmake .. 'nmake' '-?' failed with: The system cannot find the file specified CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage C:..\alpaca.cpp\build>" |
|
You are missing a C/C++ compiler according to CMake. nmake is part of Visual Studio (MSVC) toolchain but you either don't have Visual Studio installed or it is not properly configured. Refer to the CMake documentation on how to configure it for Visual Studio. The environment variables need to be set correctly for command line building with vcvars You can also use the prebuilt binaries for windows |
AI for the masses
Fix CMakeLists.txt to fix building on Windows
Github CI changes