vtk

The Visualization Toolkit (VTK) is open source software for manipulating and displaying scientific data.

Latest version: 9.5.1

Add to xmake.lua

add_requires("vtk 9.5.1")

Learn how to add and link packages with Xmake →

Information

License
BSD-3-Clause
Recipe updated
2025-09-28T03:39:36.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • macosx: x86_64, arm64
  • windows: x86, x64

Options

cuda
Enable CUDA support. · Type: boolean · Default: false
imaging
Enable Imaging modules. · Type: string · Default: YES · Values: YES, NO, WANT, DONT_WANT, DEFAULT
mfc
Enable MFC modules. · Type: string · Default: DONT_WANT · Values: YES, NO, WANT, DONT_WANT, DEFAULT
mpi
Enable MPI modules. · Type: string · Default: DONT_WANT · Values: YES, NO, WANT, DONT_WANT, DEFAULT
python
Enable Python modules. · Type: string · Default: DONT_WANT · Values: YES, NO, WANT, DONT_WANT, DEFAULT
qt
Enable Qt modules. · Type: string · Default: DONT_WANT · Values: YES, NO, WANT, DONT_WANT, DEFAULT
remote
Enable Remote modules. · Type: string · Default: DONT_WANT · Values: YES, NO, WANT, DONT_WANT, DEFAULT
rendering
Enable Rendering modules. · Type: string · Default: YES · Values: YES, NO, WANT, DONT_WANT, DEFAULT
standalone
Enable StandAlone modules. · Type: string · Default: YES · Values: YES, NO, WANT, DONT_WANT, DEFAULT
views
Enable Views modules. · Type: string · Default: YES · Values: YES, NO, WANT, DONT_WANT, DEFAULT
web
Enable Web modules. · Type: string · Default: DONT_WANT · Values: YES, NO, WANT, DONT_WANT, DEFAULT

Versions

  • 9.0.1
  • 9.0.3
  • 9.1.0
  • 9.2.2
  • 9.2.6
  • 9.3.1
  • 9.4.2
  • 9.5.1

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "vtk 9.5.1"

show info

xrepo info "vtk"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("vtk 9.5.1")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("vtk")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "vtk 9.5.1" shell