VTK/Obtaining: Difference between revisions

From KitwarePublic
< VTK
Jump to navigationJump to search
(Created page with 'First, you must install git git and [http://www.cmake.org/cmake/resources/software.html | Cmake] ==Linux & Mac== * git clone http://vtk.org/VTK.git VTK * Creat…')
 
No edit summary
Line 1: Line 1:
First, you must install git [[Git/Download|git]] and [http://www.cmake.org/cmake/resources/software.html | Cmake]
First, you must install git [[Git/Download|git]] and [http://www.cmake.org/cmake/resources/software.html CMake]


==Linux & Mac==
==Linux & Mac==

Revision as of 13:42, 26 August 2010

First, you must install git git and CMake

Linux & Mac

  • git clone http://vtk.org/VTK.git VTK
  • Create a build directory, say ~/VTK/build. Go into that directory and configure VTK with:
 ccmake ../VTK
  • Press c (to configure, depending on your options you may have to do this twice)
  • Press g (to generate & quit)
  • Build VTK:
 make

Windows