[vtkusers] Installing VTK 5.4.2 for VisualStudio2005

John Drescher drescherjm at gmail.com
Wed Apr 7 11:23:30 EDT 2010


On Wed, Apr 7, 2010 at 11:05 AM, Dmitri Danewitz <d.danewitz at yahoo.de> wrote:
>
> Hello,
>
> I am using VTK 4.2 with VisualStudio2005. Since it is an old version of VTK I want to move on to the new version. But somehow, no matter which File I download from the VTK-site, I never manage to install VTK 5.4.2 in that way as VTK 4.2 is installed on my PC, namely as a simple folder with following folders in it:
>
> - bin
> - Examples
> - include
> - lib
> - Wrapping
>
> So that I can simply add the reference to the lib folder in my C++ projects and program my stuff.
>
> The VTK 5.4.2 files that can be downloaded from their website contain confusing stuff that seems not ready to use (has to be compiled?).
>
> What do I have to do to get it to work as 4.2 works?
>

You need to build vtk from source. Install CMake and select the
configuration options you want. As for the directory structure you
really should be generating your visual studio projects for vtk using
cmake so the paths, directory structure ... of vtk should be totally
unimportant. CMake handles all of that for you.

John



More information about the vtkusers mailing list