[CMake] FW: cmake newbie questions

Bill Hoffman bill.hoffman at kitware.com
Mon Jul 28 11:10:01 EDT 2008


Phil Smith wrote:
> OK, I've gotten the compiler happy, I think, but cmake still whines. It's calling my BAT file that invokes the actual compiler; but it says "No rule to make target `/MAKE'. Stop."?!
> 
> C:\Documents and Settings\Voltage\svn\Toolkit\trunk\vtk-core>cmake .
> -- Check for working C compiler: C:/Program Files/Dignus/cc.bat
> -- Check for working C compiler: C:/Program Files/Dignus/cc.bat -- broken
> CMake Error at C:/Program Files/CMake 2.6/share/cmake-2.6/Modules/CMakeTestCComp
> iler.cmake:32 (MESSAGE):
>   The C compiler "C:/Program Files/Dignus/cc.bat" is not able to compile a
>   simple test program.
> 
>   It fails with the following output:
> 
>    Change Dir: C:/Documents and Settings/Voltage/svn/Toolkit/trunk/vtk-core/CMak
> eFiles/CMakeTmp
> 
>   Run Build Command:C:\PROGRA~1\cygwin\bin\make.exe CMAKE_TRY_COMPILE.dsw
>   /MAKE "cmTryCompileExec - Debug" /BUILD


You are using the visual studio generator or it would not be creating a 
dsw.    Use the "Unix Makefiles" generator instead.

-Bill


More information about the CMake mailing list