________________________________ From: c...@lambda.nu [mailto:c...@lambda.nu] On Behalf Of Chris Hillery Sent: 13 January 2010 03:00 To: Bill Hoffman Cc: Chauhan, Vikas; cmake@cmake.org Subject: Re: [CMake] using cmake on windows - query on existing targets On Tue, Jan 12, 2010 at 2:04 PM, Bill Hoffman <bill.hoff...@kitware.com> wrote: What version of the compiler did you install? The commercial versions of the compiler have a VS command prompt under the tools menu that you can use to create a shell with the correct env to run the compiler. The same is true for the free Visual Studio Express (which somewhat confusingly is NOT identified as "the free VC compiler" by CMake, but it all works fine). Ceej aka Chris Hillery I am using Visual Studio 2008 Standard edition. Unfortunately it still does not work from VS command prompt. I get the following error: ------------------------------------------------------------------------ ------------------------------- C:\Work\PCT_LTE\Hercules\CID\MapperGenerator\build_nmake>cmake ../ -G "NMake Makefiles" 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/Mappe <file:///C:\Work\PCT_LTE\Hercules\CID\Mappe> rGenerator/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/Mappe <file:///C:\Work\PCT_LTE\Hercules\CID\Mappe> rGenerator/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! ------------------------------------------------------------------------ --------------------------------------
_______________________________________________ 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