Difference between revisions of "IGT:ToolKit/Build-IGSTK"
From NAMIC Wiki
Line 11: | Line 11: | ||
* Cd IGSTK-build, configure the project | * Cd IGSTK-build, configure the project | ||
ccmake ../IGSTK | ccmake ../IGSTK | ||
+ | You need ITK, VTK for the configuration. ITK and VTK can be found after Slicer3 is built. | ||
3. Build IGSTKSandbox | 3. Build IGSTKSandbox | ||
Line 16: | Line 17: | ||
* Cd IGSTKSandbox-build, configure the project | * Cd IGSTKSandbox-build, configure the project | ||
ccmake ../IGSTKSandbox | ccmake ../IGSTKSandbox | ||
− | + | You need ITK, VTK and IGSTK to configure IGSTKSandbox. | |
You need to set '''Slicer3_DIR''' as the build directory of Slicer3, i.e. Slicer3-buld. Also, make sure you have version 2.6 of CMake installed. If you don't, you can find in Slicer3-lib/CMake-build/bin. After configuration, run | You need to set '''Slicer3_DIR''' as the build directory of Slicer3, i.e. Slicer3-buld. Also, make sure you have version 2.6 of CMake installed. If you don't, you can find in Slicer3-lib/CMake-build/bin. After configuration, run | ||
make | make | ||
To build OpenIGTLink. Upon completion, you should find '''libOpenIGTLink.so''' here at igt-tutorial/OpenIGTLink-build/lib/Slicer3/Modules. | To build OpenIGTLink. Upon completion, you should find '''libOpenIGTLink.so''' here at igt-tutorial/OpenIGTLink-build/lib/Slicer3/Modules. |
Revision as of 16:15, 26 May 2008
Home < IGT:ToolKit < Build-IGSTKBack 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.
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.
You need to set Slicer3_DIR as the build directory of Slicer3, i.e. Slicer3-buld. Also, make sure you have version 2.6 of CMake installed. If you don't, you can find in Slicer3-lib/CMake-build/bin. After configuration, run
make
To build OpenIGTLink. Upon completion, you should find libOpenIGTLink.so here at igt-tutorial/OpenIGTLink-build/lib/Slicer3/Modules.