[vtkusers] vtk and cmake

Rocco Gasteiger post at rocco-gasteiger.de
Fri Oct 16 11:41:44 EDT 2009


Hello Andi,

Do you have deleted you old cache in CMake and all old compiled files of VTK
in you folder?

Best regards,
Rocco Gasteiger


--------------------------------------------------
Dipl.-Ing. Rocco Gasteiger
Otto-von-Guericke University
Faculty of Computer Science
Department of Simulation and Graphics
Universitätsplatz 2, 39106 Magdeburg, Germany

Office:  G29-223
Phone:   +49 391 67 127 59
Fax:     +49 391 67 111 64
Website: http://wwwisg.cs.uni-magdeburg.de/cvcms/  
--------------------------------------------------




-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf
Of Andreas Brüning
Sent: Friday, October 16, 2009 4:29 PM
To: vtkusers at vtk.org
Subject: [vtkusers] vtk and cmake

Dear vtk-user,

i have a problem while building the vtk project with cmake. I downloadet the
vtk sources monthes ago, it was version 5.2.0. That time i uses VisualStudio
2005 and everything worked fine. I built the project with cmake2.4. 

Now i got Visual Studio 2008 and i have to built the vtk project again. but
it doesnt work. When i press configure in Cmake i get the following error
message:

CMake Error at C:/Programme/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:/andi/test_vtk_VS2008/CMakeFiles/CMakeTmp

  Run Build Command:C:\PROGRA~1\MICROS~2\Common7\IDE\devenv.com
  CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec

  Microsoft (R) Visual Studio Version 8.0.50727.762.
  Copyright (C) Microsoft Corp 1984-2005.  All rights reserved.

  The selected file is a solution file, but was created by a newer version
of
  this application and cannot be opened.

  The operation could not be completed.  Unbekannter Fehler

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:9 (PROJECT)


Configuring incomplete, errors occurred!

I tried the same with the latest version of Cmake (2.6.4) but the same error
occured. I also checked out the latest version of VTk via CVS and it is the
same. 

Does anybody know what is wrong? Is it because i have Visual Studio 2008 and
also VisualStudio 2005 installed? 

Thanks in advance
Andi

_______________________________________________________________
Neu: WEB.DE DSL bis 50.000 kBit/s und 200,- Euro Startguthaben!
http://produkte.web.de/go/02/

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list