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

David Aldrich David.Aldrich at EU.NEC.COM
Thu Sep 10 04:32:03 EDT 2009


Hi 

> Any idea why this is happening please?

Sorry, I should have thought a little more. I deleted the contents of buildnmake and now CMake succeeds.

I then executed:

C:\plplot-5.9.5\buildnmake>path=...\plplot-5.9.5\buildnmake\dll;%PATH%
C:\plplot-5.9.5\buildnmake>nmake

and the nmake output terminates with:

[ 87%] Building C object drivers/CMakeFiles/xfig.dir/xfig.c.obj
xfig.c
Linking C shared module ..\dll\xfig.dll
   Creating library ..\dll\xfig.lib and object ..\dll\xfig.exp
   Creating library ..\dll\xfig.lib and object ..\dll\xfig.exp
[ 87%] Built target xfig
Scanning dependencies of target test_dyndrivers
[ 87%] Generating test_dyndrivers_dir/mem.rc
NMAKE : fatal error U1077: '.\test-drv-info.exe' : return code '0xc0000135'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe"' : return code '0x2'
Stop.

Any ideas on this one please? I started from the Visual Studio 2005 command line interface, but Visual Studio 8 nmake has been invoked. I wonder if that is causing the problem?

Best regards

David


More information about the CMake mailing list