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

Eric Noulard eric.noulard at gmail.com
Fri Feb 17 16:00:58 EST 2012


2012/2/17  <pasparis at noos.fr>:
> thank you  Eric, I try to do what you explained,I don't if I got it
> correctly
> I got the same message, may I miss something
>
>
> OK I see, this is not the way it works.
>> 1) You write a CMakeLists.txt and associated C/C++ files in a folder
>> 2) You create another directory
>> 3) You ask CMake to **generate** the Code Blocks project from the
>> CMakeLists.txt
>
> I did the following things:
> 1-create a folder pCMake1 and put CMakeLists.txt and main.cpp
> 2-create a bin foler in pCMake1
> 3-run cmake-gui and put
> source code c:/pCMake1
> binaries c:/pCMakes1/Bin

that part is ok.

> then push Generate it asks:
> specify generator : CodeBlocks -MinGW MakesFiles
> check use default native compiler
>
> I check that the path variable are there CMake2.8 and CodeBlocks/MinGW

PATH should contains path to make.exe and gcc.exe

Is make.exe  in CodeBlocks/MinGW ?
May be it is not there but in a subdirectory of CodeBlocks/MinGW?

Please avoid complete top-posting this make the message less readable.
-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list