[CMake] Abusive warning: "To use the NMake generator, cmake must be run from a shell..."
Tanguy Krotoff
tkrotoff at gmail.com
Sat Apr 18 13:33:19 EDT 2009
OK thx for the quick reply!
On Sat, Apr 18, 2009 at 7:23 PM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> Tanguy Krotoff wrote:
>>
>> Hello
>>
>> I'm using CMake-2.6.3 and Visual C++ .NET 2003 (MSVC71) on a clean WinXP
>> 32bits.
>>
>> I get this warning several times at the configure step (my configure
>> command: cmake .. -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=Debug
>> -G "NMake Makefiles")
>>
>>
>> CMake Warning at CMakeLists.txt:12 (project):
>> To use the NMake generator, cmake must be run from a shell that can use
>> the
>> compiler cl from the command line. This environment does not contain
>> INCLUDE, LIB, or LIBPATH, and these must be set for the cl compiler to
>> work.
>>
>>
>> I'm sure that my VC++/Windows configuration is OK since the soft
>> compiles and the BuildBot that runs CMake and MSVC71 show me this
>> environnement before to run the configure step:
>>
>> INCLUDE=c:\Program Files\Microsoft Visual Studio .NET
>> 2003\SDK\v1.1\include\
>> LIB=c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\
>> PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>>
>> Files\SlikSvn\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>> Files\SlikSvn\bin\;C:\Python26;C:\Python26\Scripts;C:\Program
>> Files\CMake 2.6\bin;C:\Program Files\NSIS
>>
>> So I think CMake-2.6.3 is just giving me an abusive warning.
>>
>> Any hints? is this a bug from CMake?
>> I can test using other versions of CMake if needed
>>
> This is fixed in 2.6.4.
>
> -Bill
>
>
--
Tanguy Krotoff <tkrotoff at gmail.com>
+33 6 68 42 70 24
More information about the CMake
mailing list