[ITK] [ITK-users] [Paraview] compile itk (VTKGlue ON) with vtk from paraview

Matt McCormick matt.mccormick at kitware.com
Thu Apr 2 17:18:22 EDT 2015


Hi Roman,

The VTK version that ParaView uses does change often, but to build
against ParaView's VTK, the best result will still be obtained from
building VTK independently, then building ParaView and any other
dependencies, like ITK, against that version of VTK. To find the
version of VTK that ParaView is using,

  cd ~/src/ParaView
  git submodule status VTK

The process to build will then be something like

  cd ~/bin/VTK
  cmake ~/src/VTK
  make

  cd ~/bin/ITK
  cmake -DVTK_DIR=~/bin/VTK -DModule_ITKVtkGlue=ON ~/src/ITK
  make

  cd ~/bin/ParaView
  cmake -DVTK_DIR=~/bin/VTK -DUSE_EXTERNAL_VTK:BOOL=ON ~/src/ParaView

HTH,
Matt
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list