You can always check my Latest VTK Windows binaries page to make sure you have the latest blog posting and hence the latest VTK binaries.
Get your Python 2.4-enabled VTK 5.1 (Paraview-3-0 branch as of 20070801) and ITK 3.2 Windows binaries by clicking on the following link: http://visualisation.tudelft.nl/~cpbotha/files/vtk_itk/
IMPORTANT: you HAVE TO to install the MS VS2005 vcredist_x86 package (free!) if you want to use these DLLs (thanks Jelle for pointing this out). In future, I might include the relevant assemblies in the downloads, I’ll let you know.
I’ve built these with Visual Studio 2005 (8.0) SP1 for Python 2.4.x (NOT 2.5) on Windows XP SP2. ITK has been built with the brilliant built-in WrapITK support. VTK has been modified with my python-exception-patches (I hope to commit these to VTK CVS soon). I’ve also rebased all DLL and PYD files so they don’t have to be relocated at run-time, saving you time and memory.
I’m making these available as they might coincidentally scratch someone else’s itch. I have no time to build binaries with your specific configuration requests, so please don’t ask. :)
That being said, please leave a comment on this blog posting if you use these. It’s almost like postcard-ware, but with blog comments. Please also link to this page and not directly to the download location, thanks!
To use this from Python, you need to add the following to your PATH:
You also need to add all of the above to PYTHONPATH, as well as the following:
… where d:\opt is the drive and directory where you unpacked the two ZIP files.
Once you’ve done this and logged out and in again, “import vtk” and “import itk” should work at the Python prompt. Shameless plug: you can use my free envedit software to do the environment editing. It beats the default XP editing thingy.
- 20071015 M5: VTK now has Parallel kit built as well.
- 20070909 M4: Changed available types in ITK build. It now has: complex float, float, signed short, unsigned long and vector float, for 2 and 3D.
- 20070905 M3: Includes fix for extremely obscure progress-event-cancels-VTK-error-exception bug. It’s obscure (as in it was incredibly hard to find) but it could still bite you.
- 20070829 M2: I’ve put up new VTK binaries (see the M2 in the filename) that include my shader fixes and also an updated version of the wxVTKRenderWindowInteractor (from current CVS head) with more fixes to deal with the new VTK/Python exception support.