[Cmake] nmake generator not working with cmake

Rajagopalan, Karthik rajagopk at deshaw.com
Wed Jul 7 03:31:44 EDT 2004


Hi,

Thanks a lot for the link. It worked after setting certain env's and
running vcvars32.bat  under cygwin shell with cmakesetup.exe and cmake
with interactive mode. Thanks again!!!

-Karthik.

-----Original Message-----
From: William A. Hoffman [mailto:billlist at nycap.rr.com] 
Sent: Tuesday, July 06, 2004 11:41 PM
To: Rajagopalan, Karthik; cmake at www.cmake.org
Subject: Re: [Cmake] nmake generator not working with cmake


Please see this post:
http://public.kitware.com/pipermail/cmake/2004-March/004831.html

Are you sure cl, and nmake are working from the command line?
Also, what version of cmake are you using?

-Bill


At 02:04 PM 7/6/2004, Rajagopalan, Karthik wrote:
>Hi Cmake members,
>
>I downloaded Cmake for Windows to build VTK product.During the building
>process, I  face problems when trying to use "nmake" generator with
>cmake interactive mode under cygwin shell. Here is the error i am
>getting :
>
>
>The C compiler "cl" is not able to compile a simple test program.
>It fails with the following output:
>
>Microsoft (R) Program Maintenance Utility Version 7.00.9466
>Copyright (C) Microsoft Corporation.  All rights reserved.
>
>NMAKE : fatal error U1065: invalid option 'M'
>Stop.
>
>CMake will not be able to correctly generate this project.
>
>
>
>After this, I get various options to configure and cmake finally
>processes "CMakeLists.txt" files without generating any valid Makefile
>as a final output. Should it not produce a "Makefile" under this
process
>to run using nmake???
>
>Can anyone enlighten the problem happening here? To add to the above
>issue, I use .NET c compiler.
>
>
>Regards,
>Karthik.
>_______________________________________________
>Cmake mailing list
>Cmake at www.cmake.org
>http://www.cmake.org/mailman/listinfo/cmake 



More information about the Cmake mailing list