WIN10 CMake was unable to find a build program corresponding to "MSYS Makefiles". CMAKE_MAKE_PROGRAM is not set.
I am trying to build kicad on windows using msys2. I am fallowing this tutorial: http://
Unfortunately this tutorial is probably out of date because of:
1. I dont have mingw64_shell.bat . Instead I am using mingw64.exe wfrom msys2 directory
2. I cannont configure kicad build:
Jacek@DESKTOP-
$ cmake -DCMAKE_
CMake Error: CMake was unable to find a build program corresponding to "MSYS Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "MSYS Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_AR was not found, please set to archive program.
-- Configuring incomplete, errors occurred!
I cannot find any solution using google because everyone says that I have to change MSYS Makefiles to MinGW Makefiles and it also fails:
Jacek@DESKTOP-
$ cmake -DCMAKE_
CMake Error at C:/msys64/
sh.exe was found in your PATH, here:
C:/msys64/
For MinGW make to work correctly sh.exe must NOT be in your path.
Run cmake from a shell that does not have sh.exe in your PATH.
If you want to use a UNIX shell, then use MSYS Makefiles.
Call Stack (most recent call first):
CMakeLists.txt:32 (project)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
Can somone experienced update windows building?
And yes, I have installed mingw-w64-x86_64-* packages using msys2 and also I have updated msys2 by pacman.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- KiCad Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jacek
- Solved:
- Last query:
- Last reply: