> -----Original Message----- > From: Bill Hoffman [mailto:bill.hoff...@kitware.com] > Sent: 14 January 2010 16:19 > To: Chauhan, Vikas > Cc: Bill Hoffman; cmake@cmake.org > Subject: Re: [CMake] using cmake on windows - query on existing targets > > Chauhan, Vikas wrote: > > > >> -----Original Message----- > >> From: Bill Hoffman [mailto:bill.hoff...@kitware.com] > >> Sent: 14 January 2010 13:57 > >> To: Chauhan, Vikas > >> Cc: Bill Hoffman; cmake@cmake.org > >> Subject: Re: [CMake] using cmake on windows - query on existing > > targets > >> Chauhan, Vikas wrote: > >> ------------------------------------- > >>> ------------------------------- > >>> C:\Work\PCT_LTE\Hercules\CID\MapperGenerator\build_nmake>cmake ../ > > -G > >>> "NMake Mak > >>> efiles" > >>> CMake Error: CMake was unable to find a build program corresponding > > to > >>> "NMake Ma > >>> kefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to > > select a > >>> differe > >>> nt build tool. > >> > >> Do you have nmake in your PATH? > >> > >> -Bill > >> > > > > Yes, it is present. Following the version of nmake: > > Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 > > Copyright (C) Microsoft Corporation. All rights reserved. > > > > Can you try this: > > cmake ../ -G"NMake Makefiles" --trace > > What is the output? > The output is: ------------------------------------------------------------------------ ------------------ Running with trace output on. C:/Work/PCT_LTE/Hercules/CID/MapperGenerator/CMakeLists.txt(1): cmake_minimum_required(VERSION 2.8 ) C:/Work/PCT_LTE/Hercules/CID/MapperGenerator/CMakeLists.txt(4): project(MapperGenerator ) C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeNMakeFindMake.cmake(16): SET(CMAKE_MAKE_PROGRAM nmake CACHE STRING Program used to build from makefiles. ) C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeNMakeFindMake.cmake(18): MARK_AS_ADVANCED(CMAKE_MAKE_PROGRAM ) CMake Error: CMake was unable to find a build program corresponding to "NMake Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER CMake Error: Could not find cmake module file:C:/Work/PCT_LTE/Hercules/CID/MapperGenerator/build_nmake/CMakeFiles /CMakeCCompiler.cmake CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER CMake Error: Could not find cmake module file:C:/Work/PCT_LTE/Hercules/CID/MapperGenerator/build_nmake/CMakeFiles /CMakeCXXCompiler.cmake CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! ------------------------------------------------------------------------ ------------------ > For some reason cmake is unable to find nmake in your PATH. Perhaps > your PATH variable has something funny in it. What is the contents of > the PATH variable in that shell? > PATH=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN;C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools;C:\WINDOWS\Microsoft.NET\Framework\v3.5;C:\WINDOWS\M icrosoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\bin;C:\Program Files\Ruby\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem ;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Intel\DMIX;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\GNU\WinCvs 1.2;C:\ PROGRA~1\Tcl\bin;C:\Program Files\Tcl\bin;"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin";C:\Program Files\xerces-c-bin_3_0_1\bin;C:\cygwin\bin;C:\TTCNToolbox\ttcn\bin;C:\Wo rk\PCT_LTE\Hercules\bin;C:\Program Files\Micro soft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT;C:\Program Files\CMake 2.8\bin;C:\TTCNToolbox\ttcn\bin;C:\Program Files\Anritsu\Perl\bin;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Micros oft Visual Studio 9.0\Common7\Tools;
-Vikas _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake