[vtkusers] vtk x64, please help

Alan Mutka alan.mutka at fer.hr
Tue Jun 2 05:49:36 EDT 2009


Hello! I'm trying to build x64 VTK on Vista:

Configuration:
Vista x64 Business SP1
Framework 3.5 + SP1
Visual Studio 2008 Professional x86 and x64 WoW (enabled compiler for 
x64 arhitecture)
Microsoft Windows SDK 6.1
VTK 5.4
Cmake 2.6.4

Before running Cmake I select compiler for Visual Studio 2008...
CMD:  ..... vcvarchall.bat x64

Cmake work greate when I select Visual Studio 9 2008 (32 bit), but what 
ever I do before, compiling VTK for  x64 version (Visual Studio 9 2008 
x64) always throws:

   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:/VTK54_source/binaries/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.

   The project consists entirely of configurations that require support for

   platforms which are not installed on this machine. The project cannot be

   loaded.


What I'm missing, please help!
Thank You!
Alan





More information about the vtkusers mailing list