[CMake] message could not create named generator CodeBlocks -MinGW Makefiles

Eric Noulard eric.noulard at gmail.com
Fri Feb 17 03:47:43 EST 2012


2012/2/16  <pasparis at noos.fr>:
> Hello,
>
> I am trying to use CMake with codeblocks on windows, I created a simple
> project in the folder pCMake
> when I use the CMake interface I got the message:

You mean "graphical interface" where you select the generator from a list?

> CMake Error: CMake was unable to find a build program corresponding to
> "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to
> select a different build tool.
>
> and following the tutorial from florian-goujeon (CMake,CodeBlock), it's
> advise to execute a cmake --help from a console in the project folder in
> order to get the generator list
> codeblocks -MinGW Makefiles is listed but when I execute
> cMake . -G"CodeBlocks -MinGW Makefiles" I get also the following message
> CMake Error:could not create names generator CodeBlocks -MinGW Makefiles

There must be a typo in the generator name you used, something like a
missing space after
the dash '-' or something similar.

> I installed codeblocks with the windows installer with gcc compiler and
> cmake with the windows installer
>
> I don't know what to do, any suggestions will be very helpful



More information about the CMake mailing list