David Aldrich wrote:
Hi
I am new to cmake. I have installed cmake (using cmake-2.6.4-win32-x86.exe) on my Win XP platform, on which I also have Visual Studio 2005 Prof and Visual Studio 2008 Express installed. I am trying to build PLplot, whose instructions tell me to run: cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=install .. but I get: CMake Error: Could not create named generator
-- Check for working C compiler: gcc
-- Check for working C compiler: gcc -- broken
The C compiler "gcc" is not able to compile a simple test program.
It appears that cmake only knows about the unix generator: C:\plplot-5.9.5\buildnmake>cmake --help
[snip]
The following generators are available on this platform:
  Unix Makefiles              = Generates standard UNIX makefiles.
I have run Visual Studio file vcvars32.bat How can I install the nmake and Visual Studio 8 generators please?
Best regards
David
My guess is you are using the cygwin built CMake, use the windows CMake from www.cmake.org.

-Bill


_______________________________________________
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

Reply via email to