Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cmake MSYS Makefiles generator missing

Tags:

cmake

msys

I have cmake 3.2.3 installed via pacman. I get an error when I try to use it from a msys64 shell:

$ cmake -G "MSYS Makefiles" ..
CMake Error: Could not create named generator MSYS Makefiles

cmake --help does not list it as an available generator.

I do see there is an MSYS.cmake in /usr/share/cmake-3.2.3/Modules/Platform.

What am I missing?

like image 571
Scott Thibault Avatar asked May 21 '16 16:05

Scott Thibault


1 Answers

Instead of installing the cmake package, I think you need to install mingw-w64-i686-cmake (or the 64-bit version mingw-w64-x86_64-cmake).

like image 124
Evan Avatar answered Sep 27 '22 20:09

Evan