Does the installation of paraview automatically install VTK as well?

I heard that paraview is built around VTK, so I was wondering if the installation of paraview automatically installs VTK as well. Specifically, I hope CGAL’s cmake script can automatically detect the existence of VTK and set VTK_DIR accordingly. For now, this cache variable is VTK_DIR-NOTFOUND after I successfully installed the latest version of paraview. If the installation of paraview includes VTK, could you please tell me what path to set for VTK_DIR? If not, please confirm that VTK is separate from paraview. In that case, I would install VTK separately. Thank you.

Environment:

  • Windows 10, version 1903, 64bit
  • Paraview 5.7.0
  • CMake 3.15.3
  • CGAL 4.14 branch
  • Visual Studio 2015 Update 3

ParaView internally packages VTK, but it is not a CMake usable VTK. You need to install VTK to be able to build CGAL.

1 Like

Well, it is technically usable, but ParaView stuffs its CMake package information under its own directory (where CMake doesn’t search by default). If using ParaView, you need to agree on the VTK to use with it. But yes, it is best to use a standalone VTK for non-ParaView projects.