Difference between revisions of "IGT:ToolKit/Build-IGSTK"

From NAMIC Wiki
Jump to: navigation, search
Line 7: Line 7:
 
  cvs -d :pserver:anonymous@public.kitware.com:/cvsroot/IGSTK co IGSTKSandbox
 
  cvs -d :pserver:anonymous@public.kitware.com:/cvsroot/IGSTK co IGSTKSandbox
  
2. In directory '''igt-tutorial/IGTLoadableModules''', create a new directory '''OpenIGTLink-build'''
+
2. In same directory, create two new directories '''IGSTK-build''' and '''IGSTKSandbox-build'''.
  
 
3. Cd to '''OpenIGTLink-build''', and run the following command to configure the project:
 
3. Cd to '''OpenIGTLink-build''', and run the following command to configure the project:

Revision as of 15:59, 26 May 2008

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. In same directory, create two new directories IGSTK-build and IGSTKSandbox-build.

3. Cd to OpenIGTLink-build, and run the following command to configure the project:

  ccmake ../OpenIGTLink

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.