VTK/Building/Linux

From KitwarePublic
Jump to navigationJump to search

Download

Download the source code from the VTK Download page or Clone with Git

git clone git://vtk.org/VTK.git VTK

Configure

mkdir VTK-build
cd VTK-build
ccmake ../VTK

Set any options you would like using the curses interface. Alternatively, set the options at the command line.

mkdir VTK-Release-build
cd VTK-Release-build
cmake -DCMAKE_BUILD_TYPE:STRING=Release /path/to/VTK

Build

make