2012/2/17  <paspa...@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
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to