[vtkusers] pls help how to install VTK and run

Obada Mahdi omahdi at gmx.de
Sun Jan 20 12:02:08 EST 2008


Hi!

Alethea wrote:
> There is a windows installer on the VTK website:
> http://www.vtk.org/get-software.php

Note that the provided installer does not install compiled VTK libraries along 
with headers.  It is merely a Tcl shell which has VTK with Tcl wrappers built 
into it, which enables you to run Tcl scripts "out of the box".

If you need to use VTK from C++, Java or Python, you will have to build VTK from 
source:

> If you want to install VTK from source, and code in python, I have a 
> tutorial here that works for Windows XP:
> http://www-viz.tamu.edu/courses/viza658/08spring/tutorials/index.html

Even if you do not want to use Python, Alethea's tutorial should help you get 
through the basic steps.  Of course, you can skip installation steps regarding 
Python or Tcl if you're planning to use VTK from C++ only.

> Hemant Srivastava wrote:
>> I am beginner with VTK. Please help me .. how to install VTK 5.0 in 
>> windows.

VTK has quite some configuration options, so you have to make some decisions 
before installing VTK, including

- What build environment are you using? (Visual Studio version X, MinGW, ...)
- Static or shared libraries? (defaults to shared, but static libraries might be 
preferable especially for small projects)
- Do you need GUI support? (like MFC or Qt)
- Do you need language bindings for Tcl/Python/Java? (If you don't, e.g. if 
you're using C++ only, leave the corresponding VTK_WRAP_TCL, VTK_WRAP_PYTHON and 
VTK_WRAP_JAVA variables OFF when setting up the VTK installation using CMake)

You might also find more information by searching the mailing lists:
http://www.kitware.com/search.html
(Hint: Include "vtkusers" in your search expression to favour hits from the 
vtkusers mailing list)


Regards

Obada




More information about the vtkusers mailing list