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

David Aldrich David.Aldrich at EU.NEC.COM
Wed Sep 9 10:22:31 EDT 2009


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090909/221cb453/attachment.htm>


More information about the CMake mailing list