[CMake] Problem CMAKE to compile VTK windows 7

Leandro Gazoni lgazoni at gmail.com
Wed Jan 13 08:40:41 EST 2010


Dears,

I'm have a problem to generate a project to compile VTK with visual studio
2008. The CMAKE displays the following error:

Check for working C compiler: cl

Check for working C compiler: cl -- broken

CMake Error at C:/Program Files (x86)/CMake
2.6/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE):

The C compiler "cl" is not able to compile a simple test program.

It fails with the following output:

Change Dir: C:/VTK/src/build/CMakeFiles/CMakeTmp

 Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com

CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec

 Microsoft (R) Visual Studio Version 9.0.21022.8.

Copyright (C) Microsoft Corp. All rights reserved.

1>------ Build started: Project: cmTryCompileExec, Configuration: Debug

Win32 ------

1>Embedding manifest...

1>.\cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.intermediate.manifest :

general error c1010070: Failed to load and parse the manifest. The system

cannot find the file specified.

1>Build log was saved at

"file://c:\VTK\src\build\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"

 1>cmTryCompileExec - 1 error(s), 0 warning(s)

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped

==========

  CMake will not be able to correctly generate this project.

Call Stack (most recent call first):

CMakeLists.txt:5 (PROJECT)

Has anyone had this problem....

thanks a lot!!!!
-- 
Leandro Gazoni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100113/d2fcb944/attachment.htm>


More information about the CMake mailing list