IGT:ToolKit/Build-IGSTK

From NAMIC Wiki
Revision as of 16:17, 26 May 2008 by Hliu (talk | contribs)
Jump to: navigation, search
Home < IGT:ToolKit < Build-IGSTK

Back to IGT:ToolKit

1. In directory igt-tutorial, download IGSTK source code by running these commands:

cvs -d :pserver:anonymous@public.kitware.com:/cvsroot/IGSTK login
 answer by 'igstk'
cvs -d :pserver:anonymous@public.kitware.com:/cvsroot/IGSTK co IGSTK
cvs -d :pserver:anonymous@public.kitware.com:/cvsroot/IGSTK co IGSTKSandbox

2. Build IGSTK

  • In directory igt-tutorial, create a new directory IGSTK-build.
  • Cd IGSTK-build, configure the project
ccmake ../IGSTK

You need ITK, VTK for the configuration. ITK and VTK can be found after Slicer3 is built.

  • Run this command to build
make

3. Build IGSTKSandbox

  • In directory igt-tutorial, create a new directory IGSTKSandbox-build.
  • Cd IGSTKSandbox-build, configure the project
ccmake ../IGSTKSandbox

You need ITK, VTK and IGSTK to configure IGSTKSandbox.

  • Run this command to build
make