Newbie question: cmake does not have nmake generator

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Newbie question: cmake does not have nmake generator

DavidA-2
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
 

_______________________________________________
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