projects links |
Main / Installation
Installation instructionsInstalling binary packagesUbuntu packagesThanks to Jonannes Ring, from Simula Research Laboratory, Oslo, Norway, vmtk packages for
both 32 and 64 bit. The nice thing about Ubuntu packages is that all dependencies are resolved for you (from Insight to VTK to Python). Basically you can have a working vmtk installation on a clean Ubuntu machine (both 32 and 64bit) in a matter of minutes. Just follow the instructions below (i.e. fire up a terminal and cut and paste the lines). Note: if you upgraded Ubuntu to Jaunty or Intrepid from Hardy and had vmtk packages installed, you can remove one repository previously needed for ITK packages sudo rm -f /etc/apt/sources.list.d/paulnovo.list since ITK packages made it to the official Debian repositories. The above is not mandatory, so you can keep it if you need it for other purposes. If you're installing vmtk for the first time or you upgraded Ubuntu, do the following. First add the Simula repositories: for Ubuntu 10.04 (Lucid) sudo wget http://packages.simula.no/lucid.list -O /etc/apt/sources.list.d/simula.list for Ubuntu 9.10 (Karmic) sudo wget http://packages.simula.no/karmic.list -O /etc/apt/sources.list.d/simula.list for Ubuntu 9.04 (Jaunty) sudo wget http://packages.simula.no/jaunty.list -O /etc/apt/sources.list.d/simula.list for Ubuntu 8.10 (Intrepid) sudo wget http://packages.simula.no/intrepid.list -O /etc/apt/sources.list.d/simula.list for Ubuntu 8.04 (Hardy) sudo wget http://packages.simula.no/hardy.list -O /etc/apt/sources.list.d/simula.list sudo wget http://apt.paulnovo.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/paulnovo.list then add the Simula public key: wget http://packages.simula.no/pubring.gpg -O- | sudo apt-key add - if you're working on Ubuntu 8.04 Hardy, add Paul Novo's public key: wget http://apt.paulnovo.org/549EC7E2.key -O- | sudo apt-key add - finally, update the packages: sudo apt-get update and install the vmtk package: sudo apt-get install vmtk0-bin At this point, for future vmtk releases, you will be able to upgrade to newer versions just by running the update tool provided in Ubuntu. Compiling from sourceRequirementsvmtk is cross-platform and will compile and work on Linux, Mac OSX and Windows. However, all the development and testing is performed under Linux and Mac OSX. In order to successfully compile and use vmtk, the following software has to be installed in your system:
Installation
Notes for Max OSX users
Notes for Windows usersHugo Gratama van Andel and Joppe Schneiders, with the contribution of Rocco Gasteiger, have created a great How to compile VMTK on windows with MS Visual Studio guide. Click on the link to download it in pdf format. Older note for those who upgrade to 0.7 from versions prior to 0.6Starting with 0.6, the vmtk Python module has been created. This means that the global namespace doesn't get polluted, which is much cleaner and makes more sense. However,
Older notes for Windows usersThanks to Pieter Kitslaar, these are fixes for building vmtk 0.6 under Windows and Python 2.5. With the advent of vmtk 0.7, the fixes should have been all incorporated, but please post on the mailing list if you encounter any problems.
Thanks Pieter! I incorporated the fixes in the SVN version, they will be included in the next release. Extra notes for Windows usersThere seems to be a problem in compiling the official VTK release (5.0.4) with Python wrapping ON and TCL wrapping OFF. For VTK this can be fixed by setting the VTK_USE_TK boolean to OFF in the advanced values. However when one tries to run Cmake on VMTK it starts getting into trouble again because in the VTK cmake files TCL and Python wrapping are closely connected. The CVS version of VTK doesn't have this problem so we advise to use the CVS version of VTK if one only wants Python wrapping and not TCL. Thanks to Pieter for the advice, and to Joshua Kwan, who first spotted the problem. Anyone who wants to volunteer for creating a binary release for Windows is encouraged to contact me! |