← Back to team overview

kicad-developers team mailing list archive

Help useing cmake to create the kicad makefiles.


On issuing the following command in msys command window.

$ cmakesetup

A dialog pops up

In the "Where is your sourcecode" box I enter


In the "Where to build the binaries" box I enter


I also have a seperate build-debug directory, where do I enter this?

Then I press "Configure".

A box "Select generator" appears and I choose "MinGW Makefiles" is
this the correct choice?

On confirming this I get the error message:

CMake Error: sh.exe was found in your PATH, here:
For MinGW MinGW to work correctly sh.exe must NOT be in your path.
Run cmake from a shell that does not have sh.exe in your PATH.

I then get a number of errors about cmake environment variables not
being set.

My PATH set to 

PATH=c:\program files\bcx devsuite
Files\CMake 2.4\bin;

Can anyone help me to get cmake setup and working correctly on my system.
If so, Thank you.


Follow ups