[vtkusers] installing vtk with CMake?

Michael Brown michael.brown at case.edu
Tue Aug 2 11:26:29 EDT 2005


I have been trying to install vtk and try out the example programs 
under the tutorial folder. I am using Windows XP. When I unzip the 
files into C:\Lib\VTK and then try to run the CMakeSetup program on 
the folder specifying the source code folder as C:\Lib\VTK\VTK and the 
build the binaries folder as C:\Lib\VTK-VC++ it only works if I "Build 
For" Visual studio 7. Otherwise, when I try to build for Visual Studio 
7 .Net 2003 I get the following error:

"
The C compiler "cl" is not able to compile a simple test program.
It fails with the following output:

Microsoft (R) Developement Environment Version 7.00.9466.
Copyright (C) Microsoft Corp 1984-2001. All rights reserved.

The selected file is not a valid Visual Studio solution file.

CMake will not be able to correctly generate this project.

(Press Cancel to suppress any further messages.)
"

I have Visual Studio .Net 2003 and building for Visual Studio 7 
doesn't help me even though I can go through the installation process 
and even build the All_Build stuff after CMake makes the binaries for 
Visual Studio 7.

If you know why I am unable to get Cmake to make the binaries for 
Visual Studio 7 .Net 2003 please help me out.

Thanks,
Michael Brown
michael.brown at case.edu

 




More information about the vtkusers mailing list