Skip to content
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

Unable to build on Windows 10 because cmake can't generate MSYS Makefiles. #227

Open
enjoysmath opened this issue Sep 2, 2022 · 1 comment

Comments

@enjoysmath
Copy link

# configure and build the project
cmake .. -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release
make

Did that, and am getting:

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

Generators

  • Unix Makefiles = Generates standard UNIX makefiles.
    Ninja = Generates build.ninja files.
    Ninja Multi-Config = Generates build-.ninja files.
    CodeBlocks - Ninja = Generates CodeBlocks project files.
    CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
    CodeLite - Ninja = Generates CodeLite project files.
    CodeLite - Unix Makefiles = Generates CodeLite project files.
    Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files.
    Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.
    Kate - Ninja = Generates Kate project files.
    Kate - Unix Makefiles = Generates Kate project files.
    Sublime Text 2 - Ninja = Generates Sublime Text 2 project files.
    Sublime Text 2 - Unix Makefiles
    = Generates Sublime Text 2 project files.
    `

Now I tried Unix Makefiles, but that lead to more errors. So how does one fix this issue when building on Windows 10? I have MSYS, make, and cmake installed using pacman -S cmake for example from within the MSYS command terminal.

@enjoysmath
Copy link
Author

enjoysmath commented Sep 2, 2022

https://stackoverflow.com/a/38256481/7076615

Well, that's nice, but I still can't call cmake or even mingw-w64-i686-cmake and there's no docs on the web on how to call that version of cmake..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant