Difference between revisions of "OpenIGTLink/Slicer/Build"

From NAMIC Wiki
Jump to: navigation, search
(New page: =Overview= This page describes how to build 3D Slicer with OpenIGTLink interface module. The OpenIGTLink module is in the 3D Slicer 3 trunk repository. Before build the Slicer, you need t...)
 
m (Text replacement - "http://www.slicer.org/slicerWiki/index.php/" to "https://www.slicer.org/wiki/")
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
=Overview=
+
=About this page=
  
 
This page describes how to build 3D Slicer with OpenIGTLink interface module.
 
This page describes how to build 3D Slicer with OpenIGTLink interface module.
Line 23: Line 23:
  
 
=Windows=
 
=Windows=
Detailed instructions can be found in [http://www.slicer.org/slicerWiki/index.php/Slicer3:Build_Instructions Slicer 3 Build Instruction ].
+
Detailed instructions can be found in [https://www.slicer.org/wiki/Slicer3:Build_Instructions Slicer 3 Build Instruction ].
  
 
Before you start, you need:
 
Before you start, you need:

Latest revision as of 17:08, 10 July 2017

Home < OpenIGTLink < Slicer < Build

About this page

This page describes how to build 3D Slicer with OpenIGTLink interface module. The OpenIGTLink module is in the 3D Slicer 3 trunk repository. Before build the Slicer, you need to enable OpenIGTLink option.

Linux and Mac

First, get the source code from the repository. For Linux and Mac:

 $ cd <working directory>
 $ svn co http://svn.slicer.org/Slicer3/trunk Slicer3

Then edit Slicer3/slicer_variables.tcl configuration file. Around line 150:

 set ::USE_OPENIGTLINK "OFF"

should be modified as:

 set ::USE_OPENIGTLINK "ON"

Save the configuration file, start building by running Slicer3/Scripts/getbuildtest.tcl

$ cd Slicer3
$ ./Scripts/getbuildtest.tcl

It will take a while. Once the building process is completed, you could find Slicer3 program in the binary directory. To launch the Slicer, do followings:

$ cd ../Slicer3-build
$ ./Slicer

Windows

Detailed instructions can be found in Slicer 3 Build Instruction .

Before you start, you need:

  • Cygwin with tcltk, svn, cvs, unzip and curl packages.
  • Microsoft C++ compiler. Microsoft Visual C++ 2009 Express can be used and it's free.

First, get the source code from the repository: http://svn.slicer.org/Slicer3/trunk. You could run svn command from Cygwin terminal as:

 $ cd <working directory>
 $ svn co http://svn.slicer.org/Slicer3/trunk Slicer3

Then edit the configuration file. Open Slicer3/slicer_variables.tcl and edit the following line (around line 150):

 set ::USE_OPENIGTLINK "OFF"

as:

 set ::USE_OPENIGTLINK "ON"

Save the configuration file, start building by running Slicer3/Scripts/getbuildtest.tcl

$ cd Slicer3
$ ./Scripts/getbuildtest.tcl

It will take a while. Once the building process is completed, you could find Slicer3.exe in Slicer3-build directory.