[CMake] Newbie question: cmake does not have nmake generator

Arjen Markus arjen.markus at deltares.nl
Thu Sep 10 04:57:46 EDT 2009


Hi David,

you should start cmake in a clean directory - old stuff might get in the
way otherwise, as a lot of information is being cached.

Regards,

Arjen

On 2009-09-10 10:05, David Aldrich wrote:
> Hi Bill and Alan
> 
> Thank you both very much for answering my question. I did indeed have an old version of CMake, from a forgotten installation of Cygwin, and that was being invoked. I have now deleted that old CMake (and hopefully Cygwin as well) and am now truly running 2.6.4. 
> 
> C:\plplot-5.9.5\buildnmake>cmake --help
> cmake version 2.6-patch 4
> [snip]
> 
> However, I have now hit another problem:
> 
> C:\plplot-5.9.5\buildnmake>cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=install ..
> CMake Error: The source "C:/plplot-5.9.5/CMakeLists.txt" does not match the source "/cygdrive/c/plplot-5.9.5/CMakeLists.
> txt" used to generate cache.  Re-run cmake with a different source directory.
> 
> Any idea why this is happening please? Is the mention of 'cygdrive' worrying?
> 
> Best regards
> 
> David
> _______________________________________________
> 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
> 


More information about the CMake mailing list