← Back to team overview

kicad-developers team mailing list archive

Help useing cmake to create the kicad makefiles.

 

Hi,
On issuing the following command in msys command window.

$ cmakesetup

A dialog pops up

In the "Where is your sourcecode" box I enter

C:\msys\1.0\home\DJSBriscoe\kicad-source

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

C:\msys\1.0\home\DJSBriscoe\wxMSW-2.8.7\build-release

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:
C:/msys/1.0/bin/sh.exe
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
pro\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\MinGW\bin;C:\msys\1.0\bin;C:\msys\1.0\local\bin;C:\Program
Files\CMake 2.4\bin;

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


David.







Follow ups