IGT:ToolKit/Build-IGSTK-Linux

From NAMIC Wiki
Revision as of 00:35, 21 May 2009 by Hliu (talk | contribs) (Created page with 'cd to your '''igt-tutorial''' folder, then $ mkdir IGSTK-build $ cd IGSTK-build $ ccmake ../IGSTK Configure using CMake 2.6. You need ITK and VTK for this configuration,...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home < IGT:ToolKit < Build-IGSTK-Linux

cd to your igt-tutorial folder, then

 $ mkdir IGSTK-build
 $ cd IGSTK-build
 $ ccmake ../IGSTK

Configure using CMake 2.6. You need ITK and VTK for this configuration, both of which can be found in your Slicer3-lib folder after Slicer3 has been built. Here is an example of how IGSTK is configured:

BUILD_DOCUMENTATION              OFF
BUILD_TESTING                    ON
CMAKE_BACKWARDS_COMPATIBILITY    2.4
CMAKE_BUILD_TYPE
CMAKE_INSTALL_PREFIX             /usr/local
DART_ROOT                        DART_ROOT-NOTFOUND
EXECUTABLE_OUTPUT_PATH           /home/hliu/projects/igstk/IGSTK-build/bin
IGSTK_BUILD_EXAMPLES             ON
IGSTK_BUILD_TESTING              ON
IGSTK_DEVELOPMENT_VERSION        ON
IGSTK_TEST_AURORA_ATTACHED       ON
IGSTK_TEST_AURORA_PORT_NUMBER    0
IGSTK_TEST_LOOPBACK_ATTACHED     OFF
IGSTK_TEST_LOOPBACK_PORT_NUMBE   1
IGSTK_TEST_POLARIS_ATTACHED      OFF
IGSTK_TEST_POLARIS_PORT_NUMBER   0
IGSTK_USE_FLTK                   OFF
IGSTK_USE_MicronTracker          OFF
IGSTK_USE_Qt                     OFF
ITK_DIR                          /home/hliu/projects/Slicer3-lib/Insight-build
LIBRARY_OUTPUT_PATH              /home/hliu/projects/igstk/IGSTK-build/bin
VTK_DIR                          /home/hliu/projects/Slicer3-lib/VTK-build

If the previous command has completed without error, you can start building

 $ make