github.com
support links |
InstallationInstalling binary packagesBinary packages are supported by Orobix. Special thanks to Johannes Ring, the maintainer of vmtk Debian packages, Simula Research Laboratory and to Sara Zanchi and Valentina Rossi, University of Bergamo. Ubuntu packagesStarting with vmtk 0.9, vmtk has become an official Debian package. This means that the package is available for Debian and Ubuntu releases, 32 and 64 bit:
Visit the PPA on Launchpad for details on the published packages. Mac OSX packagesThere are two different packages for Snow Leopard and Lion, both 64 bit, available for download. Once downloaded, just drag the MacOSX package to the Applications folder (or any other location). Double-clicking the package will fire up vmtk within PypePad. If you want to have vmtk available at the Terminal (recommended), just cut and paste the following line
into the .profile file in your home directory and restart a new Terminal (or start a new tab). At this point, not only vmtk becomes available at the command line, but you also get vmtk and VTK, Python-wrapped, for free. As a check, fire up a terminal, enter the python shell and type
and you have access to all vmtkscripts and Python-wrapped vmtk and VTK classes. In addition, the package also contains pre-compiled VTK and ITK libraries and header files to develop their applications in C++. Windows 7 installersAfter you download the proper architecture (32bit vs 64bit - if in doubt go for 32bit), just run the installer. It will take you through the installation stage, after which you'll find vmtk in your start menu. Click on vmtk, and you'll see PypePad ready for use. Note that, along with vmtk, the installer directly provides a Python interpreter, Python-wrapped vmtk and VTK classes, and vmtk, VTK, ITK dll's and header files to develop new applications in Python and C++. Installing from sourcevmtk is now based on SuperBuild, a CMake feature that allows to automatically download and compile dependencies (in our case VTK and ITK). This makes the whole process a lot easier than it was up until version 0.9. Make sure you update your notes based on the instructions below. Requirementsvmtk is cross-platform and will compile and work on Linux, Mac OSX and Windows. Most of the development is performed under Linux and Mac OSX, but feel free to update us on eventual issues on Windows. In order to successfully compile and use vmtk, the following software has to be installed in your system: For Ubuntu users, you'll have to install the following packages prior to compiling:
Installation
Note that in the above I assume vtk is at version 5.10. It might not be if I forget to update the instructions. Check the directory name if this doesn't work, and please send an email on the mailing list. Enjoy Extra note for Windows 7 64 bit users (thanks to Hugo Gratama van Andel)Apparently the FindPythonLibs CMake script is not working correctly on Windows 7 64 bit, see: - FindPythonLibs no longer finding Python libs in Windows 7 64 bit, and - FindPythonLibs fails inexplicably If your build is throwing errors you can resolve this by editing the CMakeCache.txt file in the .\ VTK-Build\ directory:
|