3Dimage
3Dimage

Reputation: 61

VTK / Python / compile

I want to use VTK together with Python on a Windows system.

It seems that I cannot use the windows installer but "have to compile VTK from source code using CMake and a native build system". So far I have installed CMake.

But now I wonder how to proceed? It seems that I need MS Visual Studio to create the project files?!

But I don't have Visual Studio. So what can I do?

Upvotes: 6

Views: 1506

Answers (4)

shash
shash

Reputation: 965

If 32bit is enough for you, I suggest looking into Python(x,y). You get not only VTK but a whole lot of other useful scientific libraries.

Upvotes: 0

KronuZ
KronuZ

Reputation: 374

You can use VTK with python just installing pythonxy framework, it is just a python with many many libraries included VTK, ITK, Qt and many other, also it is very well documented, and also have many examples, all in python. I recommend it to you, I have worked a lot with it, and is very amazing. Just make a try. All you have to do is in the installer wizard select among the tools, VTK, and it will be installed with vtk.

Upvotes: 1

Nil
Nil

Reputation: 2390

It wasn't the case when you asked this question, but since version 6.1, vtk-python ships with a Windows (linux and osx) installer. See their download page for more information.

Upvotes: 1

user95469
user95469

Reputation:

There is a VTK installer here:

http://www.lfd.uci.edu/~gohlke/pythonlibs/

It appears to work fine for me and it beats compiling it.

Upvotes: 8

Related Questions