[CMake] help with CMake and Eclipse (using MinGW)

Trevis Crane trevis.crane at gmail.com
Sat Sep 29 13:11:47 EDT 2007


Hi all,

Using WinXP Pro, I installed Eclipse Europa and CDT using the Wascana
package that installs the MinGW toolchain as well.  I want to use/develop
VTK applications with this, so I've been trying to use CMake to start the
process.  However, I'm not having any luck creating the makefiles.

I run CMake 2.4.7, set my source directory which has the CMakeLists.txt file
in it (from the VTK dist), and I set a directory for my binaries.  When I
click on configure and select MinGW, I get the following error:

"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."

Then I hit cancel so it doesn't spit out dozens more error messages.  I
found mention elsewhere that if sh.exe is in my PATH, then I'd have trouble,
but all that's in my path is this:

C:\Program Files\CMake 2.4\bin;
c:\program files\miktex 2.5\miktex\bin;
c:\windows\system32;
c:\windows;
c:\windows\system32\wbem;
c:\python25;
c:\gs\gs8.51\bin;
c:\program files\common files\autodesk shared\;
C:\Program Files\QuickTime\QTSystem\

So, no sh.exe.

Any other ideas how to fix this?

thanks for your help,
trevis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070929/ff0dab16/attachment.htm


More information about the CMake mailing list