[CMake] FW: cmake newbie questions

Phil Smith phil at voltage.com
Mon Jul 28 10:51:24 EDT 2008


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

  make: Nothing to be done for `CMAKE_TRY_COMPILE.dsw'.

  make: *** No rule to make target `/MAKE'.  Stop.

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:16 (project)

-- Configuring done

C:\Documents and Settings\Voltage\svn\Toolkit\trunk\vtk-core>


More information about the CMake mailing list