<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slicer.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Belhachemi</id>
	<title>Slicer Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.slicer.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Belhachemi"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/wiki/Special:Contributions/Belhachemi"/>
	<updated>2026-04-08T20:25:00Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=44237</id>
		<title>Slicer:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=44237"/>
		<updated>2015-12-01T04:10:42Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* alternative with system QT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intro==&lt;br /&gt;
&lt;br /&gt;
Instructions how to build Slicer from scratch on Debian systems&lt;br /&gt;
&lt;br /&gt;
==Debian 8 &amp;quot;jessie&amp;quot;==&lt;br /&gt;
&lt;br /&gt;
Debian 8 &amp;quot;jessie&amp;quot; contains all tools to compile 3D Slicer.&lt;br /&gt;
&lt;br /&gt;
It is easier to compile Slicer against the system Qt libraries. This saves about 30 minutes compile time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===3D Slicer 4.5 (Nov 2015)===&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
&lt;br /&gt;
Install build dependencies:&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev zlib1g-dev libxt-dev libqt4-dev&lt;br /&gt;
&lt;br /&gt;
Install runtime dependencies:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
Build 3D Slicer 4.5&lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git checkout 46a42f4fc # TODO git tag? # this is the Slicer release 4.5.0 from Nov 12 2015&lt;br /&gt;
 mkdir ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cmake ../Slicer -DSlicer_REQUIRED_QT_VERSION:STRING=4.8.6 # if using system QT&lt;br /&gt;
 cmake ../Slicer -DSlicer_USE_GIT_PROTOCOL:BOOL=0          # optional for firewall issues&lt;br /&gt;
 make -j8 # takes 30-60 minutes and requires ~14G disk space&lt;br /&gt;
&lt;br /&gt;
Start Slicer via&lt;br /&gt;
 ./Slicer-build/Slicer&lt;br /&gt;
&lt;br /&gt;
You can also use Slicer's command line tools, e.g.&lt;br /&gt;
 ./Slicer-build/lib/Slicer-4.5/cli-modules/CastScalarVolume --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===alternative without system QT===&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.5/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget http://download.qt.io/archive/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.8.6.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.8.6&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.8.6&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.8.6 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.8.6/bin/qmake ../Slicer&lt;br /&gt;
&lt;br /&gt;
===Old Dev Notes===&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev zlib1g-dev libxt-dev #libqt4-dev&lt;br /&gt;
 &lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
 git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git svn rebase&lt;br /&gt;
 git checkout v4.4.0 # optional: this is a Slicer release 4.4.0 from Nov 02 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===BUILD BUGS on Ubuntu 14.04====&lt;br /&gt;
&lt;br /&gt;
 -- Looking for Q_WS_MAC - not found&lt;br /&gt;
 -- Found Qt4: /usr/bin/qmake (found version &amp;quot;4.8.6&amp;quot;) &lt;br /&gt;
 -- Generated: /results/Slicer4-SuperBuild-Debug/CTK-build/DGraphInput-alldep.txt&lt;br /&gt;
 -- Generated: /results/Slicer4-SuperBuild-Debug/CTK-build/DGraphInput-alldep-withext.txt&lt;br /&gt;
 -- Enabling option [CTK_LIB_Visualization/VTK/Core] required by [CTKVisualizationVTKWidgets]&lt;br /&gt;
 -- Found PythonInterp: /results/Slicer4-SuperBuild-Debug/python-install/bin/SlicerPython (found version &amp;quot;2.7.10&amp;quot;) &lt;br /&gt;
 -- Could NOT find PythonLibs (missing:  PYTHON_INCLUDE_DIRS) (found version &amp;quot;2.7.10&amp;quot;)&lt;br /&gt;
 CMake Error at CMakeLists.txt:893 (message):&lt;br /&gt;
   PYTHON_LIBRARIES and PYTHON_INCLUDE_DIRS should be set to build&lt;br /&gt;
   CTK_LIB_Scripting/Python&lt;br /&gt;
&lt;br /&gt;
 Can be fixed by reverting a patch in /usr/share/cmake-2.8/Modules/FindPythonLibs.cmake&lt;br /&gt;
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735248&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Archive==&lt;br /&gt;
&lt;br /&gt;
http://slicer.org/slicerWiki/index.php/Slicer3:Debian&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=44156</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=44156"/>
		<updated>2015-11-20T04:27:39Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: Replaced content with 'Please see [ http://www.slicer.org/slicerWiki/index.php/Slicer:Debian ]'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Please see [ http://www.slicer.org/slicerWiki/index.php/Slicer:Debian ]&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=44155</id>
		<title>Slicer:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=44155"/>
		<updated>2015-11-20T04:20:20Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intro==&lt;br /&gt;
&lt;br /&gt;
Instructions how to build Slicer from scratch on Debian systems&lt;br /&gt;
&lt;br /&gt;
==Debian 8 &amp;quot;jessie&amp;quot;==&lt;br /&gt;
&lt;br /&gt;
Debian 8 &amp;quot;jessie&amp;quot; contains all tools to compile 3D Slicer.&lt;br /&gt;
&lt;br /&gt;
It is easier to compile Slicer against the system Qt libraries. This saves about 30 minutes compile time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===3D Slicer 4.5 (Nov 2015)===&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
&lt;br /&gt;
Install build dependencies:&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev zlib1g-dev libxt-dev libqt4-dev&lt;br /&gt;
&lt;br /&gt;
Install runtime dependencies:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
Build 3D Slicer 4.5&lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git checkout 46a42f4fc # TODO git tag? # this is the Slicer release 4.5.0 from Nov 12 2015&lt;br /&gt;
 mkdir ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cmake ../Slicer -DSlicer_REQUIRED_QT_VERSION:STRING=4.8.6 # if using system QT&lt;br /&gt;
 cmake ../Slicer -DSlicer_USE_GIT_PROTOCOL:BOOL=0          # optional for firewall issues&lt;br /&gt;
 make -j8 # takes 30-60 minutes and requires ~14G disk space&lt;br /&gt;
&lt;br /&gt;
Start Slicer via&lt;br /&gt;
 ./Slicer-build/Slicer&lt;br /&gt;
&lt;br /&gt;
You can also use Slicer's command line tools, e.g.&lt;br /&gt;
 ./Slicer-build/lib/Slicer-4.5/cli-modules/CastScalarVolume --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===alternative with system QT===&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.5/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget http://download.qt.io/archive/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.8.6.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.8.6&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.8.6&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.8.6 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.8.6/bin/qmake ../Slicer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Old Dev Notes===&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev zlib1g-dev libxt-dev #libqt4-dev&lt;br /&gt;
 &lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
 git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git svn rebase&lt;br /&gt;
 git checkout v4.4.0 # optional: this is a Slicer release 4.4.0 from Nov 02 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===BUILD BUGS on Ubuntu 14.04====&lt;br /&gt;
&lt;br /&gt;
 -- Looking for Q_WS_MAC - not found&lt;br /&gt;
 -- Found Qt4: /usr/bin/qmake (found version &amp;quot;4.8.6&amp;quot;) &lt;br /&gt;
 -- Generated: /results/Slicer4-SuperBuild-Debug/CTK-build/DGraphInput-alldep.txt&lt;br /&gt;
 -- Generated: /results/Slicer4-SuperBuild-Debug/CTK-build/DGraphInput-alldep-withext.txt&lt;br /&gt;
 -- Enabling option [CTK_LIB_Visualization/VTK/Core] required by [CTKVisualizationVTKWidgets]&lt;br /&gt;
 -- Found PythonInterp: /results/Slicer4-SuperBuild-Debug/python-install/bin/SlicerPython (found version &amp;quot;2.7.10&amp;quot;) &lt;br /&gt;
 -- Could NOT find PythonLibs (missing:  PYTHON_INCLUDE_DIRS) (found version &amp;quot;2.7.10&amp;quot;)&lt;br /&gt;
 CMake Error at CMakeLists.txt:893 (message):&lt;br /&gt;
   PYTHON_LIBRARIES and PYTHON_INCLUDE_DIRS should be set to build&lt;br /&gt;
   CTK_LIB_Scripting/Python&lt;br /&gt;
&lt;br /&gt;
 Can be fixed by reverting a patch in /usr/share/cmake-2.8/Modules/FindPythonLibs.cmake&lt;br /&gt;
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735248&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Archive==&lt;br /&gt;
&lt;br /&gt;
http://slicer.org/slicerWiki/index.php/Slicer3:Debian&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=44154</id>
		<title>Slicer:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=44154"/>
		<updated>2015-11-20T03:38:31Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* BUILD BUG */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
Instructions how to build Slicer from scratch on Debian systems&lt;br /&gt;
&lt;br /&gt;
= UNDER CONSTRUCTION =&lt;br /&gt;
&lt;br /&gt;
== Debian 8 &amp;quot;jessie&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian 8 &amp;quot;jessie&amp;quot; contains all tools to compile 3D Slicer.&lt;br /&gt;
&lt;br /&gt;
It is easier to compile Slicer against the system Qt libraries. This saves about 30 minutes compile time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3D Slicer 4.5 (Nov 2015) ===&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev zlib1g-dev libxt-dev &lt;br /&gt;
 sudo aptitude install libqt4-dev&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git checkout 46a42f4fc # TODO git tag? # this is the Slicer release 4.5.0 from Nov 12 2015&lt;br /&gt;
 mkdir ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cmake ../Slicer -DSlicer_REQUIRED_QT_VERSION:STRING=4.8.6 # if using system QT&lt;br /&gt;
 cmake ../Slicer -DSlicer_USE_GIT_PROTOCOL:BOOL=0          # optional for firewall issues&lt;br /&gt;
 make -j8&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== BUILD BUG ====&lt;br /&gt;
&lt;br /&gt;
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735248&lt;br /&gt;
&lt;br /&gt;
 -- Looking for Q_WS_MAC - not found&lt;br /&gt;
 -- Found Qt4: /usr/bin/qmake (found version &amp;quot;4.8.6&amp;quot;) &lt;br /&gt;
 -- Generated: /results/Slicer4-SuperBuild-Debug/CTK-build/DGraphInput-alldep.txt&lt;br /&gt;
 -- Generated: /results/Slicer4-SuperBuild-Debug/CTK-build/DGraphInput-alldep-withext.txt&lt;br /&gt;
 -- Enabling option [CTK_LIB_Visualization/VTK/Core] required by [CTKVisualizationVTKWidgets]&lt;br /&gt;
 -- Found PythonInterp: /results/Slicer4-SuperBuild-Debug/python-install/bin/SlicerPython (found version &amp;quot;2.7.10&amp;quot;) &lt;br /&gt;
 -- Could NOT find PythonLibs (missing:  PYTHON_INCLUDE_DIRS) (found version &amp;quot;2.7.10&amp;quot;)&lt;br /&gt;
 CMake Error at CMakeLists.txt:893 (message):&lt;br /&gt;
   PYTHON_LIBRARIES and PYTHON_INCLUDE_DIRS should be set to build&lt;br /&gt;
   CTK_LIB_Scripting/Python&lt;br /&gt;
&lt;br /&gt;
==== alternative with system QT ====&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.5/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget http://download.qt.io/archive/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.8.6.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.8.6&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.8.6&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.8.6 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.8.6/bin/qmake ../Slicer&lt;br /&gt;
&lt;br /&gt;
=== 3D Slicer 4.4 (Nov 2014) ===&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.4/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget https://download.qt.io/archive/qt/4.7/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 #cmake 2.8.6 required because of libarchive&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev zlib1g-dev libxt-dev #libqt4-dev&lt;br /&gt;
 &lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
 git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git svn rebase&lt;br /&gt;
 git checkout v4.4.0 # optional: this is a Slicer release 4.4.0 from Nov 02 2014&lt;br /&gt;
&lt;br /&gt;
 mkdir ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer -DSlicer_REQUIRED_QT_VERSION:STRING=4.8.6 # if using system QT&lt;br /&gt;
 #cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake -DITK_VERSION_MAJOR:STRING=4 -DSlicer_USE_GIT_PROTOCOL:BOOL=OFF ../Slicer&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer&lt;br /&gt;
 make -j8&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
==Archive==&lt;br /&gt;
&lt;br /&gt;
http://slicer.org/slicerWiki/index.php/Slicer3:Debian&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=44153</id>
		<title>Slicer:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=44153"/>
		<updated>2015-11-20T03:19:31Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* 3D Slicer 4.5 (Nov 2015) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
Instructions how to build Slicer from scratch on Debian systems&lt;br /&gt;
&lt;br /&gt;
= UNDER CONSTRUCTION =&lt;br /&gt;
&lt;br /&gt;
== Debian 8 &amp;quot;jessie&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian 8 &amp;quot;jessie&amp;quot; contains all tools to compile 3D Slicer.&lt;br /&gt;
&lt;br /&gt;
It is easier to compile Slicer against the system Qt libraries. This saves about 30 minutes compile time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3D Slicer 4.5 (Nov 2015) ===&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev zlib1g-dev libxt-dev &lt;br /&gt;
 sudo aptitude install libqt4-dev&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git checkout 46a42f4fc # TODO git tag? # this is the Slicer release 4.5.0 from Nov 12 2015&lt;br /&gt;
 mkdir ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cmake ../Slicer -DSlicer_REQUIRED_QT_VERSION:STRING=4.8.6 # if using system QT&lt;br /&gt;
 cmake ../Slicer -DSlicer_USE_GIT_PROTOCOL:BOOL=0          # optional for firewall issues&lt;br /&gt;
 make -j8&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== BUILD BUG ====&lt;br /&gt;
 -- Looking for Q_WS_MAC - not found&lt;br /&gt;
 -- Found Qt4: /usr/bin/qmake (found version &amp;quot;4.8.6&amp;quot;) &lt;br /&gt;
 -- Generated: /results/Slicer4-SuperBuild-Debug/CTK-build/DGraphInput-alldep.txt&lt;br /&gt;
 -- Generated: /results/Slicer4-SuperBuild-Debug/CTK-build/DGraphInput-alldep-withext.txt&lt;br /&gt;
 -- Enabling option [CTK_LIB_Visualization/VTK/Core] required by [CTKVisualizationVTKWidgets]&lt;br /&gt;
 -- Found PythonInterp: /results/Slicer4-SuperBuild-Debug/python-install/bin/SlicerPython (found version &amp;quot;2.7.10&amp;quot;) &lt;br /&gt;
 -- Could NOT find PythonLibs (missing:  PYTHON_INCLUDE_DIRS) (found version &amp;quot;2.7.10&amp;quot;)&lt;br /&gt;
 CMake Error at CMakeLists.txt:893 (message):&lt;br /&gt;
   PYTHON_LIBRARIES and PYTHON_INCLUDE_DIRS should be set to build&lt;br /&gt;
   CTK_LIB_Scripting/Python&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== alternative with system QT ====&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.5/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget http://download.qt.io/archive/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.8.6.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.8.6&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.8.6&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.8.6 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.8.6/bin/qmake ../Slicer&lt;br /&gt;
&lt;br /&gt;
=== 3D Slicer 4.4 (Nov 2014) ===&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.4/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget https://download.qt.io/archive/qt/4.7/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 #cmake 2.8.6 required because of libarchive&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev zlib1g-dev libxt-dev #libqt4-dev&lt;br /&gt;
 &lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
 git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git svn rebase&lt;br /&gt;
 git checkout v4.4.0 # optional: this is a Slicer release 4.4.0 from Nov 02 2014&lt;br /&gt;
&lt;br /&gt;
 mkdir ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer -DSlicer_REQUIRED_QT_VERSION:STRING=4.8.6 # if using system QT&lt;br /&gt;
 #cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake -DITK_VERSION_MAJOR:STRING=4 -DSlicer_USE_GIT_PROTOCOL:BOOL=OFF ../Slicer&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer&lt;br /&gt;
 make -j8&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
==Archive==&lt;br /&gt;
&lt;br /&gt;
http://slicer.org/slicerWiki/index.php/Slicer3:Debian&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=44151</id>
		<title>Slicer:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=44151"/>
		<updated>2015-11-20T03:04:41Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* 3D Slicer 4.5 (Nov 2015) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
Instructions how to build Slicer from scratch on Debian systems&lt;br /&gt;
&lt;br /&gt;
= UNDER CONSTRUCTION =&lt;br /&gt;
&lt;br /&gt;
== Debian 8 &amp;quot;jessie&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian 8 &amp;quot;jessie&amp;quot; contains all tools to compile 3D Slicer.&lt;br /&gt;
&lt;br /&gt;
It is easier to compile Slicer against the system Qt libraries. This saves about 30 minutes compile time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3D Slicer 4.5 (Nov 2015) ===&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev zlib1g-dev libxt-dev &lt;br /&gt;
 sudo aptitude install libqt4-dev&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git checkout 46a42f4fc # TODO git tag? # this is the Slicer release 4.5.0 from Nov 12 2015&lt;br /&gt;
 mkdir ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cmake ../Slicer -DSlicer_REQUIRED_QT_VERSION:STRING=4.8.6 # if using system QT&lt;br /&gt;
 cmake ../Slicer -DSlicer_USE_GIT_PROTOCOL:BOOL=0          # optional for firewall issues&lt;br /&gt;
 make -j8&lt;br /&gt;
&lt;br /&gt;
==== alternative with system QT ====&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.5/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget http://download.qt.io/archive/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.8.6.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.8.6&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.8.6&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.8.6 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.8.6/bin/qmake ../Slicer&lt;br /&gt;
&lt;br /&gt;
=== 3D Slicer 4.4 (Nov 2014) ===&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.4/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget https://download.qt.io/archive/qt/4.7/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 #cmake 2.8.6 required because of libarchive&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev zlib1g-dev libxt-dev #libqt4-dev&lt;br /&gt;
 &lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
 git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git svn rebase&lt;br /&gt;
 git checkout v4.4.0 # optional: this is a Slicer release 4.4.0 from Nov 02 2014&lt;br /&gt;
&lt;br /&gt;
 mkdir ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer -DSlicer_REQUIRED_QT_VERSION:STRING=4.8.6 # if using system QT&lt;br /&gt;
 #cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake -DITK_VERSION_MAJOR:STRING=4 -DSlicer_USE_GIT_PROTOCOL:BOOL=OFF ../Slicer&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer&lt;br /&gt;
 make -j8&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
==Archive==&lt;br /&gt;
&lt;br /&gt;
http://slicer.org/slicerWiki/index.php/Slicer3:Debian&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=44141</id>
		<title>Slicer:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=44141"/>
		<updated>2015-11-20T02:20:03Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: 3D Slicer 4.5 (Nov 2015)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
Instructions how to build Slicer from scratch on Debian systems&lt;br /&gt;
&lt;br /&gt;
= UNDER CONSTRUCTION =&lt;br /&gt;
&lt;br /&gt;
== Debian 8 &amp;quot;jessie&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian 8 &amp;quot;jessie&amp;quot; contains all tools to compile 3D Slicer.&lt;br /&gt;
&lt;br /&gt;
It is easier to compile Slicer against the system Qt libraries. This saves about 30 minutes compile time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3D Slicer 4.5 (Nov 2015) ===&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev zlib1g-dev libxt-dev &lt;br /&gt;
 sudo aptitude install libqt4-dev&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git checkout 46a42f4fc # TODO git tag? # this is the Slicer release 4.5.0 from Nov 12 2015&lt;br /&gt;
 mkdir ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cmake ../Slicer -DSlicer_REQUIRED_QT_VERSION:STRING=4.8.6 # if using system QT&lt;br /&gt;
 make -j8&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 #with &lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.4/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget https://download.qt.io/archive/qt/4.7/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 #cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake -DITK_VERSION_MAJOR:STRING=4 -DSlicer_USE_GIT_PROTOCOL:BOOL=OFF ../Slicer&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3D Slicer 4.4 (Nov 2014) ===&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.4/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget https://download.qt.io/archive/qt/4.7/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 #cmake 2.8.6 required because of libarchive&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev zlib1g-dev libxt-dev #libqt4-dev&lt;br /&gt;
 &lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
 git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git svn rebase&lt;br /&gt;
 git checkout v4.4.0 # optional: this is a Slicer release 4.4.0 from Nov 02 2014&lt;br /&gt;
&lt;br /&gt;
 mkdir ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer -DSlicer_REQUIRED_QT_VERSION:STRING=4.8.6 # if using system QT&lt;br /&gt;
 #cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake -DITK_VERSION_MAJOR:STRING=4 -DSlicer_USE_GIT_PROTOCOL:BOOL=OFF ../Slicer&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer&lt;br /&gt;
 make -j8&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
==Archive==&lt;br /&gt;
&lt;br /&gt;
http://slicer.org/slicerWiki/index.php/Slicer3:Debian&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=42876</id>
		<title>Slicer:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=42876"/>
		<updated>2015-10-08T02:36:58Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
Instructions how to build Slicer from scratch on Debian systems&lt;br /&gt;
&lt;br /&gt;
== Debian 8 &amp;quot;jessie&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian 8 &amp;quot;jessie&amp;quot; contains all tools to compile a local &amp;quot;3D Slicer 4.x&amp;quot; version.&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.4/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget https://download.qt.io/archive/qt/4.7/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 #cmake 2.8.6 required because of libarchive&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev zlib1g-dev libxt-dev #libqt4-dev&lt;br /&gt;
 &lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
 git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git svn rebase&lt;br /&gt;
 git checkout v4.4.0 # optional: this is a Slicer release 4.4.0 from Nov 02 2014&lt;br /&gt;
&lt;br /&gt;
 mkdir ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer -DSlicer_REQUIRED_QT_VERSION:STRING=4.8.6 # if using system QT&lt;br /&gt;
 #cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake -DITK_VERSION_MAJOR:STRING=4 -DSlicer_USE_GIT_PROTOCOL:BOOL=OFF ../Slicer&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer&lt;br /&gt;
 make -j8&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
==Archive==&lt;br /&gt;
&lt;br /&gt;
http://slicer.org/slicerWiki/index.php/Slicer3:Debian&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=42875</id>
		<title>Slicer:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=42875"/>
		<updated>2015-10-08T02:34:58Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: change qt 4.7 download location&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
Instructions how to build Slicer from scratch on Debian systems&lt;br /&gt;
&lt;br /&gt;
== Debian 8 &amp;quot;jessie&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian 8 &amp;quot;jessie&amp;quot; contains all tools to compile a local &amp;quot;3D Slicer 4.x&amp;quot; version.&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget https://download.qt.io/archive/qt/4.7/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 #cmake 2.8.6 required because of libarchive&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev zlib1g-dev libxt-dev #libqt4-dev&lt;br /&gt;
 &lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
 git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git svn rebase&lt;br /&gt;
 git checkout v4.4.0 # optional: this is a Slicer release 4.4.0 from Nov 02 2014&lt;br /&gt;
&lt;br /&gt;
 mkdir ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer -DSlicer_REQUIRED_QT_VERSION:STRING=4.8.6 # if using system QT&lt;br /&gt;
 #cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake -DITK_VERSION_MAJOR:STRING=4 -DSlicer_USE_GIT_PROTOCOL:BOOL=OFF ../Slicer&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer&lt;br /&gt;
 make -j8&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
==Archive==&lt;br /&gt;
&lt;br /&gt;
http://slicer.org/slicerWiki/index.php/Slicer3:Debian&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=42874</id>
		<title>Slicer:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=42874"/>
		<updated>2015-10-08T02:28:40Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: first draft for Slicer on Debian 8&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
Instructions how to build Slicer from scratch on Debian systems&lt;br /&gt;
&lt;br /&gt;
== Debian 8 &amp;quot;jessie&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian 8 &amp;quot;jessie&amp;quot; contains all tools to compile a local &amp;quot;3D Slicer 4.x&amp;quot; version.&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget ftp://ftp.qt-project.org/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 #cmake 2.8.6 required because of libarchive&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev zlib1g-dev libxt-dev #libqt4-dev&lt;br /&gt;
 &lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
 git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git svn rebase&lt;br /&gt;
 git checkout v4.4.0 # optional: this is a Slicer release 4.4.0 from Nov 02 2014&lt;br /&gt;
&lt;br /&gt;
 mkdir ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer -DSlicer_REQUIRED_QT_VERSION:STRING=4.8.6 # if using system QT&lt;br /&gt;
 #cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake -DITK_VERSION_MAJOR:STRING=4 -DSlicer_USE_GIT_PROTOCOL:BOOL=OFF ../Slicer&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer&lt;br /&gt;
 make -j8&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
==Archive==&lt;br /&gt;
&lt;br /&gt;
http://slicer.org/slicerWiki/index.php/Slicer3:Debian&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=37310</id>
		<title>Slicer:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer:Debian&amp;diff=37310"/>
		<updated>2014-02-17T18:20:25Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: Created page with 'http://slicer.org/slicerWiki/index.php/Slicer3:Debian'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;http://slicer.org/slicerWiki/index.php/Slicer3:Debian&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=33966</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=33966"/>
		<updated>2013-07-21T14:03:08Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Debian &amp;quot;wheezy&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
A [http://packages.debian.org/search?keywords=slicer&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Debian package for slicer] has been created to make it easier to install &amp;quot;3D Slicer&amp;quot; on Debian machines. This means users can simply do:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install slicer&lt;br /&gt;
&lt;br /&gt;
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.&lt;br /&gt;
&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;squeeze&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian &amp;quot;squeeze&amp;quot; contains a &amp;quot;3D Slicer 3.4&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;wheezy&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
The next major Debian release &amp;quot;wheezy&amp;quot; will contain all tools to compile a local &amp;quot;3D Slicer 4.x&amp;quot; version.&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget ftp://ftp.qt-project.org/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 #cmake 2.8.6 required because of libarchive&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev zlib1g-dev libxt-dev #libqt4-dev&lt;br /&gt;
 &lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
 git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git svn rebase&lt;br /&gt;
 git checkout 5592f22988522131f21afb90b942793c4bf1706d # optional: this is a tested working version from Jul 19 2013&lt;br /&gt;
&lt;br /&gt;
 mkdir ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer -DSlicer_REQUIRED_QT_VERSION:STRING=4.8.2 # if using system QT&lt;br /&gt;
 #cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake -DITK_VERSION_MAJOR:STRING=4 -DSlicer_USE_GIT_PROTOCOL:BOOL=OFF ../Slicer&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer&lt;br /&gt;
 make -j8&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
== Cloud computing==&lt;br /&gt;
&lt;br /&gt;
The EBS AMI '''ami-6ca05805''' contains a ready to use ''3D Slicer 3.4'' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).&lt;br /&gt;
&lt;br /&gt;
Example session:&lt;br /&gt;
 AMI=ami-6ca05805&lt;br /&gt;
 ec2-describe-images $AMI&lt;br /&gt;
 ec2-run-instances -t t1.micro $AMI -n1 -k mykey&lt;br /&gt;
 ec2-describe-instances&lt;br /&gt;
 host=ec2-174-129-170-61.compute-1.amazonaws.com&lt;br /&gt;
 ssh -i id_rsa-mykey -X ubuntu@${host}&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
[[Media:slicer_rdep_squeeze.png]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
The Ubuntu distribution will also contain a slicer package in their&lt;br /&gt;
universe repository [https://launchpad.net/ubuntu/+source/slicer].&lt;br /&gt;
This package is probably based on the slicer package taken from Debian &amp;quot;unstable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The MOTU team cares for the packages in universe and multiverse (which are comprised mostly of packages from the Debian archive) on a best-effort basis, as there are a large number of packages relative to the resources of the team. Therefore, a vast majority of these packages are used unchanged from Debian, rebuilt in an Ubuntu build environment, and do not receive personal attention from an Ubuntu developer.&amp;quot;&lt;br /&gt;
[https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers#How_does_Ubuntu_differ_from_Debian.3F]&lt;br /&gt;
&lt;br /&gt;
== Thanks! ==&lt;br /&gt;
&lt;br /&gt;
These packages were the result of a lot of work by Dominique Belhachemi.&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=33892</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=33892"/>
		<updated>2013-07-13T18:22:18Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Debian &amp;quot;wheezy&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
A [http://packages.debian.org/search?keywords=slicer&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Debian package for slicer] has been created to make it easier to install &amp;quot;3D Slicer&amp;quot; on Debian machines. This means users can simply do:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install slicer&lt;br /&gt;
&lt;br /&gt;
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.&lt;br /&gt;
&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;squeeze&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian &amp;quot;squeeze&amp;quot; contains a &amp;quot;3D Slicer 3.4&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;wheezy&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
The next major Debian release &amp;quot;wheezy&amp;quot; will contain all tools to compile a local &amp;quot;3D Slicer 4.x&amp;quot; version.&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget ftp://ftp.qt-project.org/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 #cmake 2.8.6 required because of libarchive&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev #libqt4-dev&lt;br /&gt;
 &lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
 git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git svn rebase&lt;br /&gt;
 &lt;br /&gt;
 mkdir ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer -DSlicer_REQUIRED_QT_VERSION:STRING=4.7.4 # if using system QT&lt;br /&gt;
 #cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake -DITK_VERSION_MAJOR:STRING=4 -DSlicer_USE_GIT_PROTOCOL:BOOL=OFF ../Slicer&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer&lt;br /&gt;
 make -j8&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
== Cloud computing==&lt;br /&gt;
&lt;br /&gt;
The EBS AMI '''ami-6ca05805''' contains a ready to use ''3D Slicer 3.4'' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).&lt;br /&gt;
&lt;br /&gt;
Example session:&lt;br /&gt;
 AMI=ami-6ca05805&lt;br /&gt;
 ec2-describe-images $AMI&lt;br /&gt;
 ec2-run-instances -t t1.micro $AMI -n1 -k mykey&lt;br /&gt;
 ec2-describe-instances&lt;br /&gt;
 host=ec2-174-129-170-61.compute-1.amazonaws.com&lt;br /&gt;
 ssh -i id_rsa-mykey -X ubuntu@${host}&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
[[Media:slicer_rdep_squeeze.png]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
The Ubuntu distribution will also contain a slicer package in their&lt;br /&gt;
universe repository [https://launchpad.net/ubuntu/+source/slicer].&lt;br /&gt;
This package is probably based on the slicer package taken from Debian &amp;quot;unstable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The MOTU team cares for the packages in universe and multiverse (which are comprised mostly of packages from the Debian archive) on a best-effort basis, as there are a large number of packages relative to the resources of the team. Therefore, a vast majority of these packages are used unchanged from Debian, rebuilt in an Ubuntu build environment, and do not receive personal attention from an Ubuntu developer.&amp;quot;&lt;br /&gt;
[https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers#How_does_Ubuntu_differ_from_Debian.3F]&lt;br /&gt;
&lt;br /&gt;
== Thanks! ==&lt;br /&gt;
&lt;br /&gt;
These packages were the result of a lot of work by Dominique Belhachemi.&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=29982</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=29982"/>
		<updated>2013-01-25T22:41:12Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Debian &amp;quot;wheezy&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
A [http://packages.debian.org/search?keywords=slicer&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Debian package for slicer] has been created to make it easier to install &amp;quot;3D Slicer&amp;quot; on Debian machines. This means users can simply do:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install slicer&lt;br /&gt;
&lt;br /&gt;
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.&lt;br /&gt;
&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;squeeze&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian &amp;quot;squeeze&amp;quot; contains a &amp;quot;3D Slicer 3.4&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;wheezy&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
The next major Debian release &amp;quot;wheezy&amp;quot; will contain all tools to compile a local &amp;quot;3D Slicer 4.x&amp;quot; version.&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget ftp://ftp.qt-project.org/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 #cmake 2.8.6 required because of libarchive&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev #libqt4-dev&lt;br /&gt;
 &lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
 git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git svn rebase&lt;br /&gt;
 &lt;br /&gt;
 mkdir ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer&lt;br /&gt;
 #cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake -DITK_VERSION_MAJOR:STRING=4 -DSlicer_USE_GIT_PROTOCOL:BOOL=OFF ../Slicer&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer&lt;br /&gt;
 make -j8&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
== Cloud computing==&lt;br /&gt;
&lt;br /&gt;
The EBS AMI '''ami-6ca05805''' contains a ready to use ''3D Slicer 3.4'' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).&lt;br /&gt;
&lt;br /&gt;
Example session:&lt;br /&gt;
 AMI=ami-6ca05805&lt;br /&gt;
 ec2-describe-images $AMI&lt;br /&gt;
 ec2-run-instances -t t1.micro $AMI -n1 -k mykey&lt;br /&gt;
 ec2-describe-instances&lt;br /&gt;
 host=ec2-174-129-170-61.compute-1.amazonaws.com&lt;br /&gt;
 ssh -i id_rsa-mykey -X ubuntu@${host}&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
[[Media:slicer_rdep_squeeze.png]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
The Ubuntu distribution will also contain a slicer package in their&lt;br /&gt;
universe repository [https://launchpad.net/ubuntu/+source/slicer].&lt;br /&gt;
This package is probably based on the slicer package taken from Debian &amp;quot;unstable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The MOTU team cares for the packages in universe and multiverse (which are comprised mostly of packages from the Debian archive) on a best-effort basis, as there are a large number of packages relative to the resources of the team. Therefore, a vast majority of these packages are used unchanged from Debian, rebuilt in an Ubuntu build environment, and do not receive personal attention from an Ubuntu developer.&amp;quot;&lt;br /&gt;
[https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers#How_does_Ubuntu_differ_from_Debian.3F]&lt;br /&gt;
&lt;br /&gt;
== Thanks! ==&lt;br /&gt;
&lt;br /&gt;
These packages were the result of a lot of work by Dominique Belhachemi.&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=29981</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=29981"/>
		<updated>2013-01-25T22:38:15Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Debian &amp;quot;wheezy&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
A [http://packages.debian.org/search?keywords=slicer&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Debian package for slicer] has been created to make it easier to install &amp;quot;3D Slicer&amp;quot; on Debian machines. This means users can simply do:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install slicer&lt;br /&gt;
&lt;br /&gt;
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.&lt;br /&gt;
&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;squeeze&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian &amp;quot;squeeze&amp;quot; contains a &amp;quot;3D Slicer 3.4&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;wheezy&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
The next major Debian release &amp;quot;wheezy&amp;quot; will contain all tools to compile a local &amp;quot;3D Slicer 4.x&amp;quot; version.&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget ftp://ftp.qt-project.org/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 #cmake 2.8.6 required because of libarchive&lt;br /&gt;
 sudo aptitude install git-svn gitk subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev #libqt4-dev&lt;br /&gt;
 &lt;br /&gt;
 git clone https://github.com/Slicer/Slicer.git&lt;br /&gt;
 cd Slicer&lt;br /&gt;
 git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
 git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git svn rebase&lt;br /&gt;
 &lt;br /&gt;
 mkdir ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd ../Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer&lt;br /&gt;
 make -j8&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
== Cloud computing==&lt;br /&gt;
&lt;br /&gt;
The EBS AMI '''ami-6ca05805''' contains a ready to use ''3D Slicer 3.4'' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).&lt;br /&gt;
&lt;br /&gt;
Example session:&lt;br /&gt;
 AMI=ami-6ca05805&lt;br /&gt;
 ec2-describe-images $AMI&lt;br /&gt;
 ec2-run-instances -t t1.micro $AMI -n1 -k mykey&lt;br /&gt;
 ec2-describe-instances&lt;br /&gt;
 host=ec2-174-129-170-61.compute-1.amazonaws.com&lt;br /&gt;
 ssh -i id_rsa-mykey -X ubuntu@${host}&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
[[Media:slicer_rdep_squeeze.png]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
The Ubuntu distribution will also contain a slicer package in their&lt;br /&gt;
universe repository [https://launchpad.net/ubuntu/+source/slicer].&lt;br /&gt;
This package is probably based on the slicer package taken from Debian &amp;quot;unstable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The MOTU team cares for the packages in universe and multiverse (which are comprised mostly of packages from the Debian archive) on a best-effort basis, as there are a large number of packages relative to the resources of the team. Therefore, a vast majority of these packages are used unchanged from Debian, rebuilt in an Ubuntu build environment, and do not receive personal attention from an Ubuntu developer.&amp;quot;&lt;br /&gt;
[https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers#How_does_Ubuntu_differ_from_Debian.3F]&lt;br /&gt;
&lt;br /&gt;
== Thanks! ==&lt;br /&gt;
&lt;br /&gt;
These packages were the result of a lot of work by Dominique Belhachemi.&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=29980</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=29980"/>
		<updated>2013-01-25T21:54:09Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Debian &amp;quot;wheezy&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
A [http://packages.debian.org/search?keywords=slicer&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Debian package for slicer] has been created to make it easier to install &amp;quot;3D Slicer&amp;quot; on Debian machines. This means users can simply do:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install slicer&lt;br /&gt;
&lt;br /&gt;
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.&lt;br /&gt;
&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;squeeze&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian &amp;quot;squeeze&amp;quot; contains a &amp;quot;3D Slicer 3.4&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;wheezy&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
The next major Debian release &amp;quot;wheezy&amp;quot; will contain all tools to compile a local &amp;quot;3D Slicer 4.x&amp;quot; version.&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev make g++&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget ftp://ftp.qt-project.org/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 #cmake 2.8.6 required because of libarchive&lt;br /&gt;
 sudo aptitude install subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev #libqt4-dev&lt;br /&gt;
 svn co http://svn.slicer.org/Slicer4/trunk Slicer4&lt;br /&gt;
 mkdir Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer4&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer4&lt;br /&gt;
 make -j5&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
== Cloud computing==&lt;br /&gt;
&lt;br /&gt;
The EBS AMI '''ami-6ca05805''' contains a ready to use ''3D Slicer 3.4'' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).&lt;br /&gt;
&lt;br /&gt;
Example session:&lt;br /&gt;
 AMI=ami-6ca05805&lt;br /&gt;
 ec2-describe-images $AMI&lt;br /&gt;
 ec2-run-instances -t t1.micro $AMI -n1 -k mykey&lt;br /&gt;
 ec2-describe-instances&lt;br /&gt;
 host=ec2-174-129-170-61.compute-1.amazonaws.com&lt;br /&gt;
 ssh -i id_rsa-mykey -X ubuntu@${host}&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
[[Media:slicer_rdep_squeeze.png]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
The Ubuntu distribution will also contain a slicer package in their&lt;br /&gt;
universe repository [https://launchpad.net/ubuntu/+source/slicer].&lt;br /&gt;
This package is probably based on the slicer package taken from Debian &amp;quot;unstable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The MOTU team cares for the packages in universe and multiverse (which are comprised mostly of packages from the Debian archive) on a best-effort basis, as there are a large number of packages relative to the resources of the team. Therefore, a vast majority of these packages are used unchanged from Debian, rebuilt in an Ubuntu build environment, and do not receive personal attention from an Ubuntu developer.&amp;quot;&lt;br /&gt;
[https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers#How_does_Ubuntu_differ_from_Debian.3F]&lt;br /&gt;
&lt;br /&gt;
== Thanks! ==&lt;br /&gt;
&lt;br /&gt;
These packages were the result of a lot of work by Dominique Belhachemi.&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=29979</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=29979"/>
		<updated>2013-01-24T23:50:07Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
A [http://packages.debian.org/search?keywords=slicer&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Debian package for slicer] has been created to make it easier to install &amp;quot;3D Slicer&amp;quot; on Debian machines. This means users can simply do:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install slicer&lt;br /&gt;
&lt;br /&gt;
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.&lt;br /&gt;
&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;squeeze&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian &amp;quot;squeeze&amp;quot; contains a &amp;quot;3D Slicer 3.4&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;wheezy&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
The next major Debian release &amp;quot;wheezy&amp;quot; will contain all tools to compile a local &amp;quot;3D Slicer 4.x&amp;quot; version.&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget ftp://ftp.qt-project.org/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 #cmake 2.8.6 required because of libarchive&lt;br /&gt;
 sudo aptitude install subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev #libqt4-dev&lt;br /&gt;
 svn co http://svn.slicer.org/Slicer4/trunk Slicer4&lt;br /&gt;
 mkdir Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer4&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer4&lt;br /&gt;
 make -j5&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
== Cloud computing==&lt;br /&gt;
&lt;br /&gt;
The EBS AMI '''ami-6ca05805''' contains a ready to use ''3D Slicer 3.4'' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).&lt;br /&gt;
&lt;br /&gt;
Example session:&lt;br /&gt;
 AMI=ami-6ca05805&lt;br /&gt;
 ec2-describe-images $AMI&lt;br /&gt;
 ec2-run-instances -t t1.micro $AMI -n1 -k mykey&lt;br /&gt;
 ec2-describe-instances&lt;br /&gt;
 host=ec2-174-129-170-61.compute-1.amazonaws.com&lt;br /&gt;
 ssh -i id_rsa-mykey -X ubuntu@${host}&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
[[Media:slicer_rdep_squeeze.png]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
The Ubuntu distribution will also contain a slicer package in their&lt;br /&gt;
universe repository [https://launchpad.net/ubuntu/+source/slicer].&lt;br /&gt;
This package is probably based on the slicer package taken from Debian &amp;quot;unstable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The MOTU team cares for the packages in universe and multiverse (which are comprised mostly of packages from the Debian archive) on a best-effort basis, as there are a large number of packages relative to the resources of the team. Therefore, a vast majority of these packages are used unchanged from Debian, rebuilt in an Ubuntu build environment, and do not receive personal attention from an Ubuntu developer.&amp;quot;&lt;br /&gt;
[https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers#How_does_Ubuntu_differ_from_Debian.3F]&lt;br /&gt;
&lt;br /&gt;
== Thanks! ==&lt;br /&gt;
&lt;br /&gt;
These packages were the result of a lot of work by Dominique Belhachemi.&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=29978</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=29978"/>
		<updated>2013-01-24T23:49:32Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Debian &amp;quot;wheezy&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
A [http://packages.debian.org/search?keywords=slicer&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Debian package for slicer] has been created to make it easier to install &amp;quot;3D Slicer&amp;quot; on Debian machines. This means users can simply do:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install slicer&lt;br /&gt;
&lt;br /&gt;
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.&lt;br /&gt;
&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;squeeze&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian &amp;quot;squeeze&amp;quot; contains a &amp;quot;3D Slicer 3.4&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;wheezy&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
The next major Debian release &amp;quot;wheezy&amp;quot; will contain all tools to compile a local &amp;quot;3D Slicer 4.x&amp;quot; version.&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget ftp://ftp.qt-project.org/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 #cmake 3.8.6 required because of libarchive&lt;br /&gt;
 sudo aptitude install subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev #libqt4-dev&lt;br /&gt;
 svn co http://svn.slicer.org/Slicer4/trunk Slicer4&lt;br /&gt;
 mkdir Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer4&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer4&lt;br /&gt;
 make -j5&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
== Cloud computing==&lt;br /&gt;
&lt;br /&gt;
The EBS AMI '''ami-6ca05805''' contains a ready to use ''3D Slicer 3.4'' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).&lt;br /&gt;
&lt;br /&gt;
Example session:&lt;br /&gt;
 AMI=ami-6ca05805&lt;br /&gt;
 ec2-describe-images $AMI&lt;br /&gt;
 ec2-run-instances -t t1.micro $AMI -n1 -k mykey&lt;br /&gt;
 ec2-describe-instances&lt;br /&gt;
 host=ec2-174-129-170-61.compute-1.amazonaws.com&lt;br /&gt;
 ssh -i id_rsa-mykey -X ubuntu@${host}&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
[[Media:slicer_rdep_squeeze.png]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
The Ubuntu distribution will also contain a slicer package in their&lt;br /&gt;
universe repository [https://launchpad.net/ubuntu/+source/slicer].&lt;br /&gt;
This package is probably based on the slicer package taken from Debian &amp;quot;unstable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The MOTU team cares for the packages in universe and multiverse (which are comprised mostly of packages from the Debian archive) on a best-effort basis, as there are a large number of packages relative to the resources of the team. Therefore, a vast majority of these packages are used unchanged from Debian, rebuilt in an Ubuntu build environment, and do not receive personal attention from an Ubuntu developer.&amp;quot;&lt;br /&gt;
[https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers#How_does_Ubuntu_differ_from_Debian.3F]&lt;br /&gt;
&lt;br /&gt;
== Thanks! ==&lt;br /&gt;
&lt;br /&gt;
These packages were the result of a lot of work by Dominique Belhachemi.&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=29977</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=29977"/>
		<updated>2013-01-24T22:24:00Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Debian &amp;quot;wheezy&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
A [http://packages.debian.org/search?keywords=slicer&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Debian package for slicer] has been created to make it easier to install &amp;quot;3D Slicer&amp;quot; on Debian machines. This means users can simply do:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install slicer&lt;br /&gt;
&lt;br /&gt;
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.&lt;br /&gt;
&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;squeeze&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian &amp;quot;squeeze&amp;quot; contains a &amp;quot;3D Slicer 3.4&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;wheezy&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
The next major Debian release &amp;quot;wheezy&amp;quot; will contain all tools to compile a local &amp;quot;3D Slicer 4.x&amp;quot; version.&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget ftp://ftp.qt-project.org/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 sudo aptitude install subversion git gcc g++ make cmake-curses-gui libglu1-mesa-dev #libqt4-dev&lt;br /&gt;
 svn co http://svn.slicer.org/Slicer4/trunk Slicer4&lt;br /&gt;
 mkdir Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer4&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer4&lt;br /&gt;
 make -j5&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
== Cloud computing==&lt;br /&gt;
&lt;br /&gt;
The EBS AMI '''ami-6ca05805''' contains a ready to use ''3D Slicer 3.4'' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).&lt;br /&gt;
&lt;br /&gt;
Example session:&lt;br /&gt;
 AMI=ami-6ca05805&lt;br /&gt;
 ec2-describe-images $AMI&lt;br /&gt;
 ec2-run-instances -t t1.micro $AMI -n1 -k mykey&lt;br /&gt;
 ec2-describe-instances&lt;br /&gt;
 host=ec2-174-129-170-61.compute-1.amazonaws.com&lt;br /&gt;
 ssh -i id_rsa-mykey -X ubuntu@${host}&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
[[Media:slicer_rdep_squeeze.png]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
The Ubuntu distribution will also contain a slicer package in their&lt;br /&gt;
universe repository [https://launchpad.net/ubuntu/+source/slicer].&lt;br /&gt;
This package is probably based on the slicer package taken from Debian &amp;quot;unstable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The MOTU team cares for the packages in universe and multiverse (which are comprised mostly of packages from the Debian archive) on a best-effort basis, as there are a large number of packages relative to the resources of the team. Therefore, a vast majority of these packages are used unchanged from Debian, rebuilt in an Ubuntu build environment, and do not receive personal attention from an Ubuntu developer.&amp;quot;&lt;br /&gt;
[https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers#How_does_Ubuntu_differ_from_Debian.3F]&lt;br /&gt;
&lt;br /&gt;
== Thanks! ==&lt;br /&gt;
&lt;br /&gt;
These packages were the result of a lot of work by Dominique Belhachemi.&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=29976</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=29976"/>
		<updated>2013-01-24T21:33:01Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
A [http://packages.debian.org/search?keywords=slicer&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Debian package for slicer] has been created to make it easier to install &amp;quot;3D Slicer&amp;quot; on Debian machines. This means users can simply do:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install slicer&lt;br /&gt;
&lt;br /&gt;
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.&lt;br /&gt;
&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;squeeze&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian &amp;quot;squeeze&amp;quot; contains a &amp;quot;3D Slicer 3.4&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;wheezy&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
The next major Debian release &amp;quot;wheezy&amp;quot; will contain all tools to compile a local &amp;quot;3D Slicer 4.x&amp;quot; version.&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget ftp://ftp.qt-project.org/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 sudo aptitude install subversion git gcc g++ make cmake-curses-gui #libqt4-dev&lt;br /&gt;
 svn co http://svn.slicer.org/Slicer4/trunk Slicer4&lt;br /&gt;
 mkdir Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer4&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer4&lt;br /&gt;
 make -j5&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
== Cloud computing==&lt;br /&gt;
&lt;br /&gt;
The EBS AMI '''ami-6ca05805''' contains a ready to use ''3D Slicer 3.4'' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).&lt;br /&gt;
&lt;br /&gt;
Example session:&lt;br /&gt;
 AMI=ami-6ca05805&lt;br /&gt;
 ec2-describe-images $AMI&lt;br /&gt;
 ec2-run-instances -t t1.micro $AMI -n1 -k mykey&lt;br /&gt;
 ec2-describe-instances&lt;br /&gt;
 host=ec2-174-129-170-61.compute-1.amazonaws.com&lt;br /&gt;
 ssh -i id_rsa-mykey -X ubuntu@${host}&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
[[Media:slicer_rdep_squeeze.png]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
The Ubuntu distribution will also contain a slicer package in their&lt;br /&gt;
universe repository [https://launchpad.net/ubuntu/+source/slicer].&lt;br /&gt;
This package is probably based on the slicer package taken from Debian &amp;quot;unstable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The MOTU team cares for the packages in universe and multiverse (which are comprised mostly of packages from the Debian archive) on a best-effort basis, as there are a large number of packages relative to the resources of the team. Therefore, a vast majority of these packages are used unchanged from Debian, rebuilt in an Ubuntu build environment, and do not receive personal attention from an Ubuntu developer.&amp;quot;&lt;br /&gt;
[https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers#How_does_Ubuntu_differ_from_Debian.3F]&lt;br /&gt;
&lt;br /&gt;
== Thanks! ==&lt;br /&gt;
&lt;br /&gt;
These packages were the result of a lot of work by Dominique Belhachemi.&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=29975</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=29975"/>
		<updated>2013-01-24T21:31:37Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: ftp.qt-project.org&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
A [http://packages.debian.org/search?keywords=slicer&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Debian package for slicer] has been created to make it easier to install &amp;quot;3D Slicer&amp;quot; on Debian machines. This means users can simply do:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install slicer&lt;br /&gt;
&lt;br /&gt;
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.&lt;br /&gt;
&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;squeeze&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian &amp;quot;squeeze&amp;quot; contains a &amp;quot;3D Slicer 3.4&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;wheezy&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
The next major Debian release &amp;quot;wheezy&amp;quot; will contain all tools to compile a local &amp;quot;3D Slicer 4.x&amp;quot; version.&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget ftp://ftp.qt-project.org/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 sudo aptitude install subversion git gcc g++ make cmake-curses-gui libqt4-dev&lt;br /&gt;
 svn co http://svn.slicer.org/Slicer4/trunk Slicer4&lt;br /&gt;
 mkdir Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer4&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer4&lt;br /&gt;
 make -j5&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
== Cloud computing==&lt;br /&gt;
&lt;br /&gt;
The EBS AMI '''ami-6ca05805''' contains a ready to use ''3D Slicer 3.4'' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).&lt;br /&gt;
&lt;br /&gt;
Example session:&lt;br /&gt;
 AMI=ami-6ca05805&lt;br /&gt;
 ec2-describe-images $AMI&lt;br /&gt;
 ec2-run-instances -t t1.micro $AMI -n1 -k mykey&lt;br /&gt;
 ec2-describe-instances&lt;br /&gt;
 host=ec2-174-129-170-61.compute-1.amazonaws.com&lt;br /&gt;
 ssh -i id_rsa-mykey -X ubuntu@${host}&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
[[Media:slicer_rdep_squeeze.png]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
The Ubuntu distribution will also contain a slicer package in their&lt;br /&gt;
universe repository [https://launchpad.net/ubuntu/+source/slicer].&lt;br /&gt;
This package is probably based on the slicer package taken from Debian &amp;quot;unstable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The MOTU team cares for the packages in universe and multiverse (which are comprised mostly of packages from the Debian archive) on a best-effort basis, as there are a large number of packages relative to the resources of the team. Therefore, a vast majority of these packages are used unchanged from Debian, rebuilt in an Ubuntu build environment, and do not receive personal attention from an Ubuntu developer.&amp;quot;&lt;br /&gt;
[https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers#How_does_Ubuntu_differ_from_Debian.3F]&lt;br /&gt;
&lt;br /&gt;
== Thanks! ==&lt;br /&gt;
&lt;br /&gt;
These packages were the result of a lot of work by Dominique Belhachemi.&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=26277</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=26277"/>
		<updated>2012-05-22T03:15:50Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
A [http://packages.debian.org/search?keywords=slicer&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Debian package for slicer] has been created to make it easier to install &amp;quot;3D Slicer&amp;quot; on Debian machines. This means users can simply do:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install slicer&lt;br /&gt;
&lt;br /&gt;
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.&lt;br /&gt;
&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;squeeze&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian &amp;quot;squeeze&amp;quot; contains a &amp;quot;3D Slicer 3.4&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;wheezy&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
The next major Debian release &amp;quot;wheezy&amp;quot; will contain all tools to compile a local &amp;quot;3D Slicer 4.x&amp;quot; version.&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install libxext-dev libxrender-dev&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 sudo aptitude install subversion git gcc g++ make cmake-curses-gui libqt4-dev&lt;br /&gt;
 svn co http://svn.slicer.org/Slicer4/trunk Slicer4&lt;br /&gt;
 mkdir Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer4&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer4&lt;br /&gt;
 make -j5&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
== Cloud computing==&lt;br /&gt;
&lt;br /&gt;
The EBS AMI '''ami-6ca05805''' contains a ready to use ''3D Slicer 3.4'' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).&lt;br /&gt;
&lt;br /&gt;
Example session:&lt;br /&gt;
 AMI=ami-6ca05805&lt;br /&gt;
 ec2-describe-images $AMI&lt;br /&gt;
 ec2-run-instances -t t1.micro $AMI -n1 -k mykey&lt;br /&gt;
 ec2-describe-instances&lt;br /&gt;
 host=ec2-174-129-170-61.compute-1.amazonaws.com&lt;br /&gt;
 ssh -i id_rsa-mykey -X ubuntu@${host}&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
[[Media:slicer_rdep_squeeze.png]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
The Ubuntu distribution will also contain a slicer package in their&lt;br /&gt;
universe repository [https://launchpad.net/ubuntu/+source/slicer].&lt;br /&gt;
This package is probably based on the slicer package taken from Debian &amp;quot;unstable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The MOTU team cares for the packages in universe and multiverse (which are comprised mostly of packages from the Debian archive) on a best-effort basis, as there are a large number of packages relative to the resources of the team. Therefore, a vast majority of these packages are used unchanged from Debian, rebuilt in an Ubuntu build environment, and do not receive personal attention from an Ubuntu developer.&amp;quot;&lt;br /&gt;
[https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers#How_does_Ubuntu_differ_from_Debian.3F]&lt;br /&gt;
&lt;br /&gt;
== Thanks! ==&lt;br /&gt;
&lt;br /&gt;
These packages were the result of a lot of work by Dominique Belhachemi.&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=26275</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=26275"/>
		<updated>2012-05-22T02:47:56Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
A [http://packages.debian.org/search?keywords=slicer&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Debian package for slicer] has been created to make it easier to install &amp;quot;3D Slicer&amp;quot; on Debian machines. This means users can simply do:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install slicer&lt;br /&gt;
&lt;br /&gt;
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.&lt;br /&gt;
&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;squeeze&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian &amp;quot;squeeze&amp;quot; contains a &amp;quot;3D Slicer 3.4&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;wheezy&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
The next major Debian release &amp;quot;wheezy&amp;quot; will contain all tools to compile a local &amp;quot;3D Slicer 4.x&amp;quot; version.&lt;br /&gt;
&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 sudo aptitude install subversion git gcc g++ make cmake-curses-gui libqt4-dev # Maverick: libxext-dev&lt;br /&gt;
 svn co http://svn.slicer.org/Slicer4/trunk Slicer4&lt;br /&gt;
 mkdir Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer4&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer4&lt;br /&gt;
 make -j5&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
== Cloud computing==&lt;br /&gt;
&lt;br /&gt;
The EBS AMI '''ami-6ca05805''' contains a ready to use ''3D Slicer 3.4'' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).&lt;br /&gt;
&lt;br /&gt;
Example session:&lt;br /&gt;
 AMI=ami-6ca05805&lt;br /&gt;
 ec2-describe-images $AMI&lt;br /&gt;
 ec2-run-instances -t t1.micro $AMI -n1 -k mykey&lt;br /&gt;
 ec2-describe-instances&lt;br /&gt;
 host=ec2-174-129-170-61.compute-1.amazonaws.com&lt;br /&gt;
 ssh -i id_rsa-mykey -X ubuntu@${host}&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
[[Media:slicer_rdep_squeeze.png]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
The Ubuntu distribution will also contain a slicer package in their&lt;br /&gt;
universe repository [https://launchpad.net/ubuntu/+source/slicer].&lt;br /&gt;
This package is probably based on the slicer package taken from Debian &amp;quot;unstable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The MOTU team cares for the packages in universe and multiverse (which are comprised mostly of packages from the Debian archive) on a best-effort basis, as there are a large number of packages relative to the resources of the team. Therefore, a vast majority of these packages are used unchanged from Debian, rebuilt in an Ubuntu build environment, and do not receive personal attention from an Ubuntu developer.&amp;quot;&lt;br /&gt;
[https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers#How_does_Ubuntu_differ_from_Debian.3F]&lt;br /&gt;
&lt;br /&gt;
== Thanks! ==&lt;br /&gt;
&lt;br /&gt;
These packages were the result of a lot of work by Dominique Belhachemi.&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=26156</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=26156"/>
		<updated>2012-05-13T23:31:09Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Debian &amp;quot;wheezy&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
A [http://packages.debian.org/search?keywords=slicer&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Debian package for slicer] has been created to make it easier to install &amp;quot;3D Slicer&amp;quot; on Debian machines. This means users can simply do:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install slicer&lt;br /&gt;
&lt;br /&gt;
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.&lt;br /&gt;
&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;squeeze&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian &amp;quot;squeeze&amp;quot; contains a &amp;quot;3D Slicer 3.4&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;wheezy&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
The next major Debian release &amp;quot;wheezy&amp;quot; will contain all tools to compile a local &amp;quot;3D Slicer 4.x&amp;quot; version.&lt;br /&gt;
&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 sudo aptitude install subversion git gcc g++ make cmake-curses-gui libqt4-dev&lt;br /&gt;
 svn co http://svn.slicer.org/Slicer4/trunk Slicer4&lt;br /&gt;
 mkdir Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd Slicer4-SuperBuild-Debug&lt;br /&gt;
 #cmake ../Slicer4&lt;br /&gt;
 cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer4&lt;br /&gt;
 make -j5&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
== Cloud computing==&lt;br /&gt;
&lt;br /&gt;
The EBS AMI '''ami-6ca05805''' contains a ready to use ''3D Slicer 3.4'' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).&lt;br /&gt;
&lt;br /&gt;
Example session:&lt;br /&gt;
 AMI=ami-6ca05805&lt;br /&gt;
 ec2-describe-images $AMI&lt;br /&gt;
 ec2-run-instances -t t1.micro $AMI -n1 -k mykey&lt;br /&gt;
 ec2-describe-instances&lt;br /&gt;
 host=ec2-174-129-170-61.compute-1.amazonaws.com&lt;br /&gt;
 ssh -i id_rsa-mykey -X ubuntu@${host}&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
[[Media:slicer_rdep_squeeze.png]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
The Ubuntu distribution will also contain a slicer package in their&lt;br /&gt;
universe repository [https://launchpad.net/ubuntu/+source/slicer].&lt;br /&gt;
This package is probably based on the slicer package taken from Debian &amp;quot;unstable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The MOTU team cares for the packages in universe and multiverse (which are comprised mostly of packages from the Debian archive) on a best-effort basis, as there are a large number of packages relative to the resources of the team. Therefore, a vast majority of these packages are used unchanged from Debian, rebuilt in an Ubuntu build environment, and do not receive personal attention from an Ubuntu developer.&amp;quot;&lt;br /&gt;
[https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers#How_does_Ubuntu_differ_from_Debian.3F]&lt;br /&gt;
&lt;br /&gt;
== Thanks! ==&lt;br /&gt;
&lt;br /&gt;
These packages were the result of a lot of work by Dominique Belhachemi.&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Developers/Build_Instructions&amp;diff=26155</id>
		<title>Documentation/4.0/Developers/Build Instructions</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Developers/Build_Instructions&amp;diff=26155"/>
		<updated>2012-05-13T22:56:55Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{mbox&lt;br /&gt;
| text = The goal of the [[{{tool|logo|cmake}}|x16px]] [{{tool|homepage|cmake}} CMake] '''Super-Build''' is to provide a cross-platform build system that allows developers to quickly install and configure the multiple packages.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Where [[Slicer3:Build_Instructions|Slicer3's build system]] relied on a [[Slicer3:getbuildtest|custom build script called getbuildtest]], new features added to [{{tool|homepage|cmake}} CMake], partly driven by slicer's requirements, allow porting of the scripts to rely more on native [{{tool|homepage|cmake}} CMake] functionality with the benefit that build script is more modular and general purpose.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== PREREQUISITES ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;To avoid &amp;lt;br&amp;gt;[[#Common_errors|'''Common errors''']], &amp;lt;br&amp;gt;we&amp;lt;br&amp;gt; '''STRONGLY'''&amp;lt;br&amp;gt; recommend to read the&amp;lt;br&amp;gt; &amp;lt;font size=&amp;quot;+2&amp;quot;&amp;gt;[[Documentation/{{documentation/version}}/Developers/Build Instructions/Prerequisites|Prerequisites]]&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt; section.&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CHECKOUT slicer source files ==&lt;br /&gt;
&lt;br /&gt;
Two options:  &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt;   or    &amp;lt;code&amp;gt;git-svn&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make '''review''' and '''integration''' of your welcome contributions, we recommends the use of &amp;lt;code&amp;gt;git-svn&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{ambox&lt;br /&gt;
| type  = warning&lt;br /&gt;
| text  = While it is not enforced, we strongly recommend you to '''AVOID''' the use of '''SPACES''' for both the &amp;lt;code&amp;gt;source directory&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;build directory&amp;lt;/code&amp;gt;. We mean it.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that even if you use &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; to check out Slicer source code, you will need to have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; installed to checkout and build other libraries. '''YES''', you need to install the things listed in the [[Documentation/{{documentation/version}}/Developers/Build Instructions/Prerequisites|prerequisites]] !.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Using &amp;lt;code&amp;gt;git-svn&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
  git clone git://github.com/Slicer/Slicer.git&lt;br /&gt;
  cd Slicer&lt;br /&gt;
  git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
  git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
  git checkout master&lt;br /&gt;
  git svn rebase&lt;br /&gt;
&lt;br /&gt;
Consider reading the following page: [[Slicer:git-svn|Slicer guide to &amp;lt;code&amp;gt;git-svn&amp;lt;/code&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
=== Using &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
 cd MyProjects&lt;br /&gt;
 svn co [http://svn.slicer.org/Slicer4/trunk http://svn.slicer.org/Slicer4/trunk] Slicer4&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CONFIGURE and generate Slicer solution files ==&lt;br /&gt;
You can configure and generate Slicer solution files using either &amp;lt;code&amp;gt;ccmake&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;.&lt;br /&gt;
=== Per-platform instructions===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
*'''Recommended''': &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;&lt;br /&gt;
** Configure using default options.&lt;br /&gt;
* '''Remarks''':&lt;br /&gt;
#If you downloaded the Qt binary then &amp;lt;code&amp;gt;qmake&amp;lt;/code&amp;gt; will be detected and all paths will be set automatically.  &lt;br /&gt;
#If you built your own Qt (e.g. in Debug mode for use with the designer) set the &amp;lt;code&amp;gt;QT_QMAKE_EXECUTABLE&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;.&amp;lt;code&amp;gt;QT_QMAKE_EXECUTABLE&amp;lt;/code&amp;gt; should be set to the path of the qmake.exe file, which is inside the bin directory (for example, &amp;lt;code&amp;gt;/path/to/qt-everywhere-opensource-build-4.7.4/bin/qmake.exe&amp;lt;/code&amp;gt;). &lt;br /&gt;
#Windows doesn't support path longer than 260 characters, please make sure that the total path name of your &amp;lt;code&amp;gt;Slicer-build&amp;lt;/code&amp;gt; directory is no longer than 50 characters ( for example &amp;lt;code&amp;gt;c:\work\Slicer\Slicer-Superbuild&amp;lt;/code&amp;gt; (32 characters) is fine)&lt;br /&gt;
&lt;br /&gt;
==== Unix-like ====&lt;br /&gt;
*'''Recommended''': &amp;lt;code&amp;gt;ccmake&amp;lt;/code&amp;gt;&lt;br /&gt;
** Configure using the following commands. By default '''CMAKE_BUILD_TYPE''' is set to '''Debug'''.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir Slicer4-SuperBuild-Debug&lt;br /&gt;
cd Slicer4-SuperBuild-Debug&lt;br /&gt;
ccmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/path/to/QtSDK-1.2/Desktop/Qt/474/gcc/bin/qmake ../Slicer4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* '''Remarks''':&lt;br /&gt;
# Using top-level directory name like &amp;lt;code&amp;gt;Slicer-Superbuild-Release&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Slicer-Superbuild-Debug&amp;lt;/code&amp;gt; is recommended.&lt;br /&gt;
&lt;br /&gt;
=== General information ===&lt;br /&gt;
&lt;br /&gt;
Two projects are generated by either &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ccmake&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
One of them is in the top-level bin directory &amp;lt;code&amp;gt;Slicer4-Superbuild&amp;lt;/code&amp;gt; and the other one is in the subdirectory &amp;lt;code&amp;gt;Slicer-build&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Slicer4-Superbuild/Slicer-build&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# The first project in &amp;lt;code&amp;gt;Slicer4-Superbuild&amp;lt;/code&amp;gt; manages all the external dependencies of Slicer (VTK, ITK, Python, ...). To build Slicer for the first time, run make (or build the solution file in Visual Studio) in &amp;lt;code&amp;gt;Slicer4-Superbuild&amp;lt;/code&amp;gt;, which will update and build the external libraries and if successful will then build the subproject Slicer-build.&amp;lt;br&amp;gt;&lt;br /&gt;
# The second project in &amp;lt;code&amp;gt;Slicer4-Superbuild/Slicer-build&amp;lt;/code&amp;gt; is the &amp;quot;traditional&amp;quot; build directory of Slicer.  After local changes in Slicer (or after an svn update on the source directory of Slicer), only running make (or building the solution file in Visual Studio) in &amp;lt;code&amp;gt;Slicer4-Superbuild/Slicer-build&amp;lt;/code&amp;gt; is necessary (the external libraries are considered built and up to date). &amp;lt;br&amp;gt;&lt;br /&gt;
#'''Warning''': An important amount of disk space is required to compile Slicer in Debug (&amp;gt;10GB on Windows)&lt;br /&gt;
&lt;br /&gt;
=== Workaround firewall blocking git protocol ===&lt;br /&gt;
* Some firewall will be blocking the git protocol, a possible workaround is to configure Slicer disabling the option &amp;lt;code&amp;gt;Slicer_USE_GIT_PROTOCOL&amp;lt;/code&amp;gt;. Then http protocol will be used instead. Consider also reading https://github.com/commontk/CTK/issues/33&lt;br /&gt;
&lt;br /&gt;
=== Notes for advanced users ===&lt;br /&gt;
* By default, if CMake finds Java on your machine, it automatically builds Java CLIs. If you don't want any Java in your Slicer (or if you don't want to install Java on your Mac Os X), you can pass &amp;lt;code&amp;gt;-DCMAKE_DISABLE_FIND_PACKAGE_Java:BOOL=TRUE&amp;lt;/code&amp;gt; when configuring Slicer.&lt;br /&gt;
* Same applies for OpenSSL: &amp;lt;code&amp;gt;CMAKE_DISABLE_FIND_PACKAGE_OpenSSL:BOOL=TRUE&amp;lt;/code&amp;gt; can be passed when building Slicer for packaging.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== BUILD Slicer4 ==&lt;br /&gt;
After configuration, start the build process in the  &amp;lt;code&amp;gt;Slicer4-SuperBuild&amp;lt;/code&amp;gt; directory&lt;br /&gt;
&lt;br /&gt;
=== Per-platform instructions===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
* Open &amp;lt;code&amp;gt;Slicer4-SuperBuild\Slicer.sln&amp;lt;/code&amp;gt; in Visual Studio&lt;br /&gt;
* Select your build configuration. Usually '''Release''' of '''Debug'''&lt;br /&gt;
* Build the &amp;lt;code&amp;gt;ALL_BUILD&amp;lt;/code&amp;gt; project.&lt;br /&gt;
&lt;br /&gt;
* If you make local changes to Slicer4, open the solution file located in the directory &amp;lt;code&amp;gt;Slicer4-SuperBuild/Slicer-build&amp;lt;/code&amp;gt; instead. You should then be able to either build all projects or just a specific one.&lt;br /&gt;
&lt;br /&gt;
==== Unix-like ====&lt;br /&gt;
&lt;br /&gt;
  cd ~/Projects/Slicer4-SuperBuild&lt;br /&gt;
  make -j&amp;lt;NUMBEROFCORES&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RUN Slicer ==&lt;br /&gt;
=== Per-platform instructions===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
&lt;br /&gt;
Run &amp;lt;code&amp;gt;Slicer4-SuperBuild/Slicer-build/Slicer.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Unix-like ====&lt;br /&gt;
&lt;br /&gt;
Run &amp;lt;code&amp;gt;Slicer4-SuperBuild/Slicer-build/Slicer&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== DEBUG Slicer ==&lt;br /&gt;
=== Per-platform instructions===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
* Make sure you build Slicer using the '''Debug''' configuration.&lt;br /&gt;
* Open a windows terminal &amp;lt;code&amp;gt;cmd.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
* Execute the following command:&lt;br /&gt;
  cd \path\to\Slicer4-SuperBuild\Slicer-build&lt;br /&gt;
  Slicer.exe --VisualStudio Slicer.sln&lt;br /&gt;
&lt;br /&gt;
==== Unix-like ====&lt;br /&gt;
NA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Common errors ==&lt;br /&gt;
=== error: ‘class QList&amp;lt;QString&amp;gt;’ has no member named ‘reserve’ ===&lt;br /&gt;
 /nfs/Users/blowekamp/QtSDK/Desktop/Qt/474/gcc/include/QtCore/qdatastream.h: In function ‘QDataStream&amp;amp; operator&amp;gt;&amp;gt;(QDataStream&amp;amp;, QList&amp;lt;T&amp;gt;&amp;amp;) [with T = QString]’:&lt;br /&gt;
 /nfs/Users/blowekamp/QtSDK/Desktop/Qt/474/gcc/include/QtCore/qstringlist.h:247:   instantiated from here&lt;br /&gt;
 /nfs/Users/blowekamp/QtSDK/Desktop/Qt/474/gcc/include/QtCore/qdatastream.h:246: error: ‘class QList&amp;lt;QString&amp;gt;’ has no member named ‘reserve’&lt;br /&gt;
You have multiple Qt versions installed on your machine. Try removing the Qt version installed on the system.&lt;br /&gt;
&lt;br /&gt;
=== libarchive.so: undefined reference to `SHA256_Update' ===&lt;br /&gt;
&lt;br /&gt;
 Linking CXX executable ../../../../../bin/MRMLLogicCxxTests&lt;br /&gt;
 /home/benjaminlong/work/slicer/Slicer4-Superbuild-Debug/LibArchive-install/lib/libarchive.so: undefined reference to `SHA256_Update'&lt;br /&gt;
 /home/benjaminlong/work/slicer/Slicer4-Superbuild-Debug/LibArchive-install/lib/libarchive.so: undefined reference to `SHA256_Final'&lt;br /&gt;
 /home/benjaminlong/work/slicer/Slicer4-Superbuild-Debug/LibArchive-install/lib/libarchive.so: undefined reference to `SHA256_Init'&lt;br /&gt;
 /home/benjaminlong/work/slicer/Slicer4-Superbuild-Debug/LibArchive-install/lib/libarchive.so: undefined reference to `MD5_Init'&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
 cd Slicer-superbuild&lt;br /&gt;
 rm -rf LibArchive-*&lt;br /&gt;
 make -j4&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* http://na-mic.org/Mantis/view.php?id=1616&lt;br /&gt;
* http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;amp;revision=18923&lt;br /&gt;
* http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;amp;revision=18969&lt;br /&gt;
&lt;br /&gt;
=== A tool returned an error code from &amp;quot;Performing configure step for ...&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Older CMake versions had some problems building complex projects on Windows7 (see more details in: http://cmake.org/Bug/view.php?id=12957).&lt;br /&gt;
Make sure you use the required CMake version.&lt;br /&gt;
&lt;br /&gt;
=== A tool returned an error code from &amp;quot;Performing download step (git clone) for ...&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
CMake has problems cloning git repositories on Windows7. See more details in http://cmake.org/Bug/view.php?id=12564&lt;br /&gt;
&lt;br /&gt;
If you think the described problem is the same as you have, please add your specific error message to the bug report (the more people report the problem the sooner it will be fixed).&lt;br /&gt;
&lt;br /&gt;
=== No rule to make target `/usr/lib/x86_64-linux-gnu/libGL.so' ===&lt;br /&gt;
See http://techtidings.blogspot.com/2012/01/problem-with-libglso-on-64-bit-ubuntu.html&lt;br /&gt;
&lt;br /&gt;
=== X11 Window errors at start time ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
X Error: BadWindow (invalid Window parameter) 3&lt;br /&gt;
  Extension:    137 (Uknown extension)&lt;br /&gt;
  Minor opcode: 4 (Unknown request)&lt;br /&gt;
  Resource id:  0x4200199&lt;br /&gt;
X Error: BadWindow (invalid Window parameter) 3&lt;br /&gt;
  Extension:    137 (Uknown extension)&lt;br /&gt;
  Minor opcode: 4 (Unknown request)&lt;br /&gt;
  Resource id:  0x42001a6&lt;br /&gt;
X Error: BadWindow (invalid Window parameter) 3&lt;br /&gt;
  Extension:    137 (Uknown extension)&lt;br /&gt;
  Minor opcode: 4 (Unknown request)&lt;br /&gt;
  Resource id:  0x42001b3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solution: &lt;br /&gt;
* Reinstall Nvidia drivers (that also rewrite the xorg.conf file).&lt;br /&gt;
&lt;br /&gt;
=== error C2061: syntax error : identifier 'ssize_t' ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
4&amp;gt;1&amp;gt;Compiling...&lt;br /&gt;
4&amp;gt;1&amp;gt;version.c&lt;br /&gt;
4&amp;gt;1&amp;gt;c:\chene\winbin64\slicer4\cmcurl\urldata.h(585) : error C2061: syntax error : identifier 'ssize_t'&lt;br /&gt;
4&amp;gt;1&amp;gt;c:\chene\winbin64\slicer4\cmcurl\urldata.h(593) : error C2365: 'fread' : redefinition; previous definition was 'function'&lt;br /&gt;
4&amp;gt;1&amp;gt;        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\stdio.h(248) : see declaration of 'fread'&lt;br /&gt;
4&amp;gt;1&amp;gt;c:\chene\winbin64\slicer4\cmcurl\urldata.h(610) : error C2059: syntax error : '}'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
 * See [[#A_tool_returned_an_error_code_from_.22Performing_configure_step_for_....22]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Platform Notes==&lt;br /&gt;
&lt;br /&gt;
* Linux Ubuntu: if you have odd rendering artifacts, try disabling visual effects (System/Appearance/Visual Effects)&lt;br /&gt;
* Windows: If build was OK, but it Slicer doesn't start (gives the error: [bin/Release/SlicerQT-real.exe] exit abnormally - Report the problem.) then one possible root cause is that you have a copy of Python26.dll in your windows system directory (e.g., c:\Windows\System32\python26.dll). The solution is to rename or remove the python dll in the system directory. See more details here: http://www.na-mic.org/Bug/view.php?id=1180&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=26154</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=26154"/>
		<updated>2012-05-13T22:55:47Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Debian &amp;quot;squeeze&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
A [http://packages.debian.org/search?keywords=slicer&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Debian package for slicer] has been created to make it easier to install &amp;quot;3D Slicer&amp;quot; on Debian machines. This means users can simply do:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install slicer&lt;br /&gt;
&lt;br /&gt;
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.&lt;br /&gt;
&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;squeeze&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian &amp;quot;squeeze&amp;quot; contains a &amp;quot;3D Slicer 3.4&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;wheezy&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
The next major Debian release &amp;quot;wheezy&amp;quot; will contain all tools to compile a local &amp;quot;3D Slicer 4.x&amp;quot; version.&lt;br /&gt;
&lt;br /&gt;
 # download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions/Prerequisites/Qt]&lt;br /&gt;
 wget http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 mkdir qt-everywhere-opensource-build-4.7.4&lt;br /&gt;
 tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz&lt;br /&gt;
 cd qt-everywhere-opensource-src-4.7.4&lt;br /&gt;
 ./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos&lt;br /&gt;
 make -j8&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 sudo aptitude install subversion git gcc g++ make cmake-curses-gui libqt4-dev&lt;br /&gt;
 svn co http://svn.slicer.org/Slicer4/trunk Slicer4&lt;br /&gt;
 mkdir Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd Slicer4-SuperBuild-Debug&lt;br /&gt;
 cmake ../Slicer4&lt;br /&gt;
 make -j5&lt;br /&gt;
&lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;br /&gt;
&lt;br /&gt;
== Cloud computing==&lt;br /&gt;
&lt;br /&gt;
The EBS AMI '''ami-6ca05805''' contains a ready to use ''3D Slicer 3.4'' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).&lt;br /&gt;
&lt;br /&gt;
Example session:&lt;br /&gt;
 AMI=ami-6ca05805&lt;br /&gt;
 ec2-describe-images $AMI&lt;br /&gt;
 ec2-run-instances -t t1.micro $AMI -n1 -k mykey&lt;br /&gt;
 ec2-describe-instances&lt;br /&gt;
 host=ec2-174-129-170-61.compute-1.amazonaws.com&lt;br /&gt;
 ssh -i id_rsa-mykey -X ubuntu@${host}&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
[[Media:slicer_rdep_squeeze.png]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
The Ubuntu distribution will also contain a slicer package in their&lt;br /&gt;
universe repository [https://launchpad.net/ubuntu/+source/slicer].&lt;br /&gt;
This package is probably based on the slicer package taken from Debian &amp;quot;unstable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The MOTU team cares for the packages in universe and multiverse (which are comprised mostly of packages from the Debian archive) on a best-effort basis, as there are a large number of packages relative to the resources of the team. Therefore, a vast majority of these packages are used unchanged from Debian, rebuilt in an Ubuntu build environment, and do not receive personal attention from an Ubuntu developer.&amp;quot;&lt;br /&gt;
[https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers#How_does_Ubuntu_differ_from_Debian.3F]&lt;br /&gt;
&lt;br /&gt;
== Thanks! ==&lt;br /&gt;
&lt;br /&gt;
These packages were the result of a lot of work by Dominique Belhachemi.&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Developers/Build_Instructions&amp;diff=25372</id>
		<title>Documentation/4.0/Developers/Build Instructions</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Developers/Build_Instructions&amp;diff=25372"/>
		<updated>2012-04-07T03:15:41Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Quick Build on Debian */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{mbox&lt;br /&gt;
| text = The goal of the [[{{tool|logo|cmake}}|x16px]] [{{tool|homepage|cmake}} CMake] '''Super-Build''' is to provide a cross-platform build system that allows developers to quickly install and configure the multiple packages.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Where [[Slicer3:Build_Instructions|Slicer3's build system]] relied on a [[Slicer3:getbuildtest|custom build script called getbuildtest]], new features added to [{{tool|homepage|cmake}} CMake], partly driven by slicer's requirements, allow porting of the scripts to rely more on native [{{tool|homepage|cmake}} CMake] functionality with the benefit that build script is more modular and general purpose.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== PREREQUISITES ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;To avoid &amp;lt;br&amp;gt;[[#Common_errors|'''Common errors''']], &amp;lt;br&amp;gt;we&amp;lt;br&amp;gt; '''STRONGLY'''&amp;lt;br&amp;gt; recommend to read the&amp;lt;br&amp;gt; &amp;lt;font size=&amp;quot;+2&amp;quot;&amp;gt;[[Documentation/{{documentation/version}}/Developers/Build Instructions/Prerequisites|Prerequisites]]&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt; section.&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CHECKOUT slicer source files ==&lt;br /&gt;
&lt;br /&gt;
Two options:  &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt;   or    &amp;lt;code&amp;gt;git-svn&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make '''review''' and '''integration''' of your welcome contributions, we recommends the use of &amp;lt;code&amp;gt;git-svn&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{ambox&lt;br /&gt;
| type  = warning&lt;br /&gt;
| text  = While it is not enforced, we strongly recommend you to '''AVOID''' the use of '''SPACES''' for both the &amp;lt;code&amp;gt;source directory&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;build directory&amp;lt;/code&amp;gt;. We mean it.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that even if you use &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; to check out Slicer source code, you will need to have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; installed to checkout and build other libraries. '''YES''', you need to install the things listed in the [[Documentation/{{documentation/version}}/Developers/Build Instructions/Prerequisites|prerequisites]] !.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Using &amp;lt;code&amp;gt;git-svn&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
  git clone git://github.com/Slicer/Slicer.git&lt;br /&gt;
  cd Slicer&lt;br /&gt;
  git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
  git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
  git checkout master&lt;br /&gt;
  git svn rebase&lt;br /&gt;
&lt;br /&gt;
Consider reading the following page: [[Slicer:git-svn|Slicer guide to &amp;lt;code&amp;gt;git-svn&amp;lt;/code&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
=== Using &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
 cd MyProjects&lt;br /&gt;
 svn co [http://svn.slicer.org/Slicer4/trunk http://svn.slicer.org/Slicer4/trunk] Slicer4&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CONFIGURE and generate Slicer solution files ==&lt;br /&gt;
You can configure and generate Slicer solution files using either &amp;lt;code&amp;gt;ccmake&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;.&lt;br /&gt;
=== Per-platform instructions===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
*'''Recommended''': &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;&lt;br /&gt;
** Configure using default options.&lt;br /&gt;
* '''Remarks''':&lt;br /&gt;
#If you downloaded the Qt binary then &amp;lt;code&amp;gt;qmake&amp;lt;/code&amp;gt; will be detected and all paths will be set automatically.  &lt;br /&gt;
#If you built your own Qt (e.g. in Debug mode for use with the designer) set the &amp;lt;code&amp;gt;QT_QMAKE_EXECUTABLE&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;.&amp;lt;code&amp;gt;QT_QMAKE_EXECUTABLE&amp;lt;/code&amp;gt; should be set to the path of the qmake.exe file, which is inside the bin directory (for example, &amp;lt;code&amp;gt;/path/to/qt-everywhere-opensource-build-4.7.4/bin/qmake.exe&amp;lt;/code&amp;gt;). &lt;br /&gt;
#Windows doesn't support path longer than 260 characters, please make sure that the total path name of your &amp;lt;code&amp;gt;Slicer-build&amp;lt;/code&amp;gt; directory is no longer than 50 characters ( for example &amp;lt;code&amp;gt;c:\work\Slicer\Slicer-Superbuild&amp;lt;/code&amp;gt; (32 characters) is fine)&lt;br /&gt;
&lt;br /&gt;
==== Unix-like ====&lt;br /&gt;
*'''Recommended''': &amp;lt;code&amp;gt;ccmake&amp;lt;/code&amp;gt;&lt;br /&gt;
** Configure using the following commands. By default '''CMAKE_BUILD_TYPE''' is set to '''Debug'''.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir Slicer4-SuperBuild-Debug&lt;br /&gt;
cd Slicer4-SuperBuild-Debug&lt;br /&gt;
ccmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/path/to/QtSDK-1.2/Desktop/Qt/474/gcc/bin/qmake ../Slicer4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* '''Remarks''':&lt;br /&gt;
# Using top-level directory name like &amp;lt;code&amp;gt;Slicer-Superbuild-Release&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Slicer-Superbuild-Debug&amp;lt;/code&amp;gt; is recommended.&lt;br /&gt;
&lt;br /&gt;
=== General information ===&lt;br /&gt;
&lt;br /&gt;
Two projects are generated by either &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ccmake&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
One of them is in the top-level bin directory &amp;lt;code&amp;gt;Slicer4-Superbuild&amp;lt;/code&amp;gt; and the other one is in the subdirectory &amp;lt;code&amp;gt;Slicer-build&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Slicer4-Superbuild/Slicer-build&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# The first project in &amp;lt;code&amp;gt;Slicer4-Superbuild&amp;lt;/code&amp;gt; manages all the external dependencies of Slicer (VTK, ITK, Python, ...). To build Slicer for the first time, run make (or build the solution file in Visual Studio) in &amp;lt;code&amp;gt;Slicer4-Superbuild&amp;lt;/code&amp;gt;, which will update and build the external libraries and if successful will then build the subproject Slicer-build.&amp;lt;br&amp;gt;&lt;br /&gt;
# The second project in &amp;lt;code&amp;gt;Slicer4-Superbuild/Slicer-build&amp;lt;/code&amp;gt; is the &amp;quot;traditional&amp;quot; build directory of Slicer.  After local changes in Slicer (or after an svn update on the source directory of Slicer), only running make (or building the solution file in Visual Studio) in &amp;lt;code&amp;gt;Slicer4-Superbuild/Slicer-build&amp;lt;/code&amp;gt; is necessary (the external libraries are considered built and up to date). &amp;lt;br&amp;gt;&lt;br /&gt;
#'''Warning''': An important amount of disk space is required to compile Slicer in Debug (&amp;gt;10GB on Windows)&lt;br /&gt;
&lt;br /&gt;
=== Workaround firewall blocking git protocol ===&lt;br /&gt;
* Some firewall will be blocking the git protocol, a possible workaround is to configure Slicer disabling the option &amp;lt;code&amp;gt;Slicer_USE_GIT_PROTOCOL&amp;lt;/code&amp;gt;. Then http protocol will be used instead. Consider also reading https://github.com/commontk/CTK/issues/33&lt;br /&gt;
&lt;br /&gt;
=== Notes for advanced users ===&lt;br /&gt;
* By default, if CMake finds Java on your machine, it automatically builds Java CLIs. If you don't want any Java in your Slicer (or if you don't want to install Java on your Mac Os X), you can pass &amp;lt;code&amp;gt;-DCMAKE_DISABLE_FIND_PACKAGE_Java:BOOL=TRUE&amp;lt;/code&amp;gt; when configuring Slicer.&lt;br /&gt;
* Same applies for OpenSSL: &amp;lt;code&amp;gt;CMAKE_DISABLE_FIND_PACKAGE_OpenSSL:BOOL=TRUE&amp;lt;/code&amp;gt; can be passed when building Slicer for packaging.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== BUILD Slicer4 ==&lt;br /&gt;
After configuration, start the build process in the  &amp;lt;code&amp;gt;Slicer4-SuperBuild&amp;lt;/code&amp;gt; directory&lt;br /&gt;
&lt;br /&gt;
=== Per-platform instructions===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
* Open &amp;lt;code&amp;gt;Slicer4-SuperBuild\Slicer.sln&amp;lt;/code&amp;gt; in Visual Studio&lt;br /&gt;
* Select your build configuration. Usually '''Release''' of '''Debug'''&lt;br /&gt;
* Build the &amp;lt;code&amp;gt;ALL_BUILD&amp;lt;/code&amp;gt; project.&lt;br /&gt;
&lt;br /&gt;
* If you make local changes to Slicer4, open the solution file located in the directory &amp;lt;code&amp;gt;Slicer4-SuperBuild/Slicer-build&amp;lt;/code&amp;gt; instead. You should then be able to either build all projects or just a specific one.&lt;br /&gt;
&lt;br /&gt;
==== Unix-like ====&lt;br /&gt;
&lt;br /&gt;
  cd ~/Projects/Slicer4-SuperBuild&lt;br /&gt;
  make -j&amp;lt;NUMBEROFCORES&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RUN Slicer ==&lt;br /&gt;
=== Per-platform instructions===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
&lt;br /&gt;
Run &amp;lt;code&amp;gt;Slicer4-SuperBuild/Slicer-build/Slicer.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Unix-like ====&lt;br /&gt;
&lt;br /&gt;
Run &amp;lt;code&amp;gt;Slicer4-SuperBuild/Slicer-build/Slicer&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== DEBUG Slicer ==&lt;br /&gt;
=== Per-platform instructions===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
* Make sure you build Slicer using the '''Debug''' configuration.&lt;br /&gt;
* Open a windows terminal &amp;lt;code&amp;gt;cmd.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
* Execute the following command:&lt;br /&gt;
  cd \path\to\Slicer4-SuperBuild\Slicer-build&lt;br /&gt;
  Slicer.exe --VisualStudio Slicer.sln&lt;br /&gt;
&lt;br /&gt;
==== Unix-like ====&lt;br /&gt;
NA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Common errors ==&lt;br /&gt;
=== error: ‘class QList&amp;lt;QString&amp;gt;’ has no member named ‘reserve’ ===&lt;br /&gt;
 /nfs/Users/blowekamp/QtSDK/Desktop/Qt/474/gcc/include/QtCore/qdatastream.h: In function ‘QDataStream&amp;amp; operator&amp;gt;&amp;gt;(QDataStream&amp;amp;, QList&amp;lt;T&amp;gt;&amp;amp;) [with T = QString]’:&lt;br /&gt;
 /nfs/Users/blowekamp/QtSDK/Desktop/Qt/474/gcc/include/QtCore/qstringlist.h:247:   instantiated from here&lt;br /&gt;
 /nfs/Users/blowekamp/QtSDK/Desktop/Qt/474/gcc/include/QtCore/qdatastream.h:246: error: ‘class QList&amp;lt;QString&amp;gt;’ has no member named ‘reserve’&lt;br /&gt;
You have multiple Qt versions installed on your machine. Try removing the Qt version installed on the system.&lt;br /&gt;
&lt;br /&gt;
=== libarchive.so: undefined reference to `SHA256_Update' ===&lt;br /&gt;
&lt;br /&gt;
 Linking CXX executable ../../../../../bin/MRMLLogicCxxTests&lt;br /&gt;
 /home/benjaminlong/work/slicer/Slicer4-Superbuild-Debug/LibArchive-install/lib/libarchive.so: undefined reference to `SHA256_Update'&lt;br /&gt;
 /home/benjaminlong/work/slicer/Slicer4-Superbuild-Debug/LibArchive-install/lib/libarchive.so: undefined reference to `SHA256_Final'&lt;br /&gt;
 /home/benjaminlong/work/slicer/Slicer4-Superbuild-Debug/LibArchive-install/lib/libarchive.so: undefined reference to `SHA256_Init'&lt;br /&gt;
 /home/benjaminlong/work/slicer/Slicer4-Superbuild-Debug/LibArchive-install/lib/libarchive.so: undefined reference to `MD5_Init'&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
 cd Slicer-superbuild&lt;br /&gt;
 rm -rf LibArchive-*&lt;br /&gt;
 make -j4&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* http://na-mic.org/Mantis/view.php?id=1616&lt;br /&gt;
* http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;amp;revision=18923&lt;br /&gt;
* http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;amp;revision=18969&lt;br /&gt;
&lt;br /&gt;
=== A tool returned an error code from &amp;quot;Performing configure step for ...&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
CMake has some problems building complex projects on Windows7. See more details in: http://cmake.org/Bug/view.php?id=12957&lt;br /&gt;
&lt;br /&gt;
A fix has been already identified and soon will be available in an official CMake release (probably 2.8.8). Until then this unofficial version can be used (based on CMake-2.8.7): https://qshare.queensu.ca/Users01/lasso/public/cmake-2.8.7.12957-win32-x86.exe&lt;br /&gt;
&lt;br /&gt;
=== A tool returned an error code from &amp;quot;Performing download step (git clone) for ...&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
CMake has problems cloning git repositories on Windows7. See more details in http://cmake.org/Bug/view.php?id=12564&lt;br /&gt;
&lt;br /&gt;
If you think the described problem is the same as you have, please add your specific error message to the bug report (the more people report the problem the sooner it will be fixed).&lt;br /&gt;
&lt;br /&gt;
=== No rule to make target `/usr/lib/x86_64-linux-gnu/libGL.so' ===&lt;br /&gt;
See http://techtidings.blogspot.com/2012/01/problem-with-libglso-on-64-bit-ubuntu.html&lt;br /&gt;
&lt;br /&gt;
=== X11 Window errors at start time ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
X Error: BadWindow (invalid Window parameter) 3&lt;br /&gt;
  Extension:    137 (Uknown extension)&lt;br /&gt;
  Minor opcode: 4 (Unknown request)&lt;br /&gt;
  Resource id:  0x4200199&lt;br /&gt;
X Error: BadWindow (invalid Window parameter) 3&lt;br /&gt;
  Extension:    137 (Uknown extension)&lt;br /&gt;
  Minor opcode: 4 (Unknown request)&lt;br /&gt;
  Resource id:  0x42001a6&lt;br /&gt;
X Error: BadWindow (invalid Window parameter) 3&lt;br /&gt;
  Extension:    137 (Uknown extension)&lt;br /&gt;
  Minor opcode: 4 (Unknown request)&lt;br /&gt;
  Resource id:  0x42001b3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solution: &lt;br /&gt;
* Reinstall Nvidia drivers (that also rewrite the xorg.conf file).&lt;br /&gt;
&lt;br /&gt;
=== error C2061: syntax error : identifier 'ssize_t' ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
4&amp;gt;1&amp;gt;Compiling...&lt;br /&gt;
4&amp;gt;1&amp;gt;version.c&lt;br /&gt;
4&amp;gt;1&amp;gt;c:\chene\winbin64\slicer4\cmcurl\urldata.h(585) : error C2061: syntax error : identifier 'ssize_t'&lt;br /&gt;
4&amp;gt;1&amp;gt;c:\chene\winbin64\slicer4\cmcurl\urldata.h(593) : error C2365: 'fread' : redefinition; previous definition was 'function'&lt;br /&gt;
4&amp;gt;1&amp;gt;        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\stdio.h(248) : see declaration of 'fread'&lt;br /&gt;
4&amp;gt;1&amp;gt;c:\chene\winbin64\slicer4\cmcurl\urldata.h(610) : error C2059: syntax error : '}'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
 * See [[#A_tool_returned_an_error_code_from_.22Performing_configure_step_for_....22]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Platform Notes==&lt;br /&gt;
&lt;br /&gt;
* Linux Ubuntu: if you have odd rendering artifacts, try disabling visual effects (System/Appearance/Visual Effects)&lt;br /&gt;
* Windows: If build was OK, but it Slicer doesn't start (gives the error: [bin/Release/SlicerQT-real.exe] exit abnormally - Report the problem.) then one possible root cause is that you have a copy of Python26.dll in your windows system directory (e.g., c:\Windows\System32\python26.dll). The solution is to rename or remove the python dll in the system directory. See more details here: http://www.na-mic.org/Bug/view.php?id=1180&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Quick Build on Debian==&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 sudo aptitude install subversion git gcc g++ make cmake-curses-gui libqt4-dev&lt;br /&gt;
 svn co http://svn.slicer.org/Slicer4/trunk Slicer4&lt;br /&gt;
 mkdir Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd Slicer4-SuperBuild-Debug&lt;br /&gt;
 cmake ../Slicer4&lt;br /&gt;
 make -j5&lt;br /&gt;
 &lt;br /&gt;
 # runtime dependency:&lt;br /&gt;
 sudo aptitude install python-tk&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Developers/Build_Instructions&amp;diff=25361</id>
		<title>Documentation/4.0/Developers/Build Instructions</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Developers/Build_Instructions&amp;diff=25361"/>
		<updated>2012-04-06T00:47:58Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Platform Notes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{mbox&lt;br /&gt;
| text = The goal of the [[{{tool|logo|cmake}}|x16px]] [{{tool|homepage|cmake}} CMake] '''Super-Build''' is to provide a cross-platform build system that allows developers to quickly install and configure the multiple packages.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Where [[Slicer3:Build_Instructions|Slicer3's build system]] relied on a [[Slicer3:getbuildtest|custom build script called getbuildtest]], new features added to [{{tool|homepage|cmake}} CMake], partly driven by slicer's requirements, allow porting of the scripts to rely more on native [{{tool|homepage|cmake}} CMake] functionality with the benefit that build script is more modular and general purpose.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== PREREQUISITES ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;To avoid &amp;lt;br&amp;gt;[[#Common_errors|'''Common errors''']], &amp;lt;br&amp;gt;we&amp;lt;br&amp;gt; '''STRONGLY'''&amp;lt;br&amp;gt; recommend to read the&amp;lt;br&amp;gt; &amp;lt;font size=&amp;quot;+2&amp;quot;&amp;gt;[[Documentation/{{documentation/version}}/Developers/Build Instructions/Prerequisites|Prerequisites]]&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt; section.&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CHECKOUT slicer source files ==&lt;br /&gt;
&lt;br /&gt;
Two options:  &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt;   or    &amp;lt;code&amp;gt;git-svn&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make '''review''' and '''integration''' of your welcome contributions, we recommends the use of &amp;lt;code&amp;gt;git-svn&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{ambox&lt;br /&gt;
| type  = warning&lt;br /&gt;
| text  = While it is not enforced, we strongly recommend you to '''AVOID''' the use of '''SPACES''' for both the &amp;lt;code&amp;gt;source directory&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;build directory&amp;lt;/code&amp;gt;. We mean it.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that even if you use &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; to check out Slicer source code, you will need to have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; installed to checkout and build other libraries. '''YES''', you need to install the things listed in the [[Documentation/{{documentation/version}}/Developers/Build Instructions/Prerequisites|prerequisites]] !.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Using &amp;lt;code&amp;gt;git-svn&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
  git clone git://github.com/Slicer/Slicer.git&lt;br /&gt;
  cd Slicer&lt;br /&gt;
  git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
  git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
  git checkout master&lt;br /&gt;
  git svn rebase&lt;br /&gt;
&lt;br /&gt;
Consider reading the following page: [[Slicer:git-svn|Slicer guide to &amp;lt;code&amp;gt;git-svn&amp;lt;/code&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
=== Using &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
 cd MyProjects&lt;br /&gt;
 svn co [http://svn.slicer.org/Slicer4/trunk http://svn.slicer.org/Slicer4/trunk] Slicer4&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CONFIGURE and generate Slicer solution files ==&lt;br /&gt;
You can configure and generate Slicer solution files using either &amp;lt;code&amp;gt;ccmake&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;.&lt;br /&gt;
=== Per-platform instructions===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
*'''Recommended''': &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;&lt;br /&gt;
** Configure using default options.&lt;br /&gt;
* '''Remarks''':&lt;br /&gt;
#If you downloaded the Qt binary then &amp;lt;code&amp;gt;qmake&amp;lt;/code&amp;gt; will be detected and all paths will be set automatically.  &lt;br /&gt;
#If you built your own Qt (e.g. in Debug mode for use with the designer) set the &amp;lt;code&amp;gt;QT_QMAKE_EXECUTABLE&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;.&amp;lt;code&amp;gt;QT_QMAKE_EXECUTABLE&amp;lt;/code&amp;gt; should be set to the path of the qmake.exe file, which is inside the bin directory (for example, &amp;lt;code&amp;gt;/path/to/qt-everywhere-opensource-build-4.7.4/bin/qmake.exe&amp;lt;/code&amp;gt;). &lt;br /&gt;
#Windows doesn't support path longer than 260 characters, please make sure that the total path name of your &amp;lt;code&amp;gt;Slicer-build&amp;lt;/code&amp;gt; directory is no longer than 50 characters ( for example &amp;lt;code&amp;gt;c:\work\Slicer\Slicer-Superbuild&amp;lt;/code&amp;gt; (32 characters) is fine)&lt;br /&gt;
&lt;br /&gt;
==== Unix-like ====&lt;br /&gt;
*'''Recommended''': &amp;lt;code&amp;gt;ccmake&amp;lt;/code&amp;gt;&lt;br /&gt;
** Configure using the following commands. By default '''CMAKE_BUILD_TYPE''' is set to '''Debug'''.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir Slicer4-SuperBuild-Debug&lt;br /&gt;
cd Slicer4-SuperBuild-Debug&lt;br /&gt;
ccmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/path/to/QtSDK-1.2/Desktop/Qt/474/gcc/bin/qmake ../Slicer4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* '''Remarks''':&lt;br /&gt;
# Using top-level directory name like &amp;lt;code&amp;gt;Slicer-Superbuild-Release&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Slicer-Superbuild-Debug&amp;lt;/code&amp;gt; is recommended.&lt;br /&gt;
&lt;br /&gt;
=== General information ===&lt;br /&gt;
&lt;br /&gt;
Two projects are generated by either &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ccmake&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
One of them is in the top-level bin directory &amp;lt;code&amp;gt;Slicer4-Superbuild&amp;lt;/code&amp;gt; and the other one is in the subdirectory &amp;lt;code&amp;gt;Slicer-build&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Slicer4-Superbuild/Slicer-build&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# The first project in &amp;lt;code&amp;gt;Slicer4-Superbuild&amp;lt;/code&amp;gt; manages all the external dependencies of Slicer (VTK, ITK, Python, ...). To build Slicer for the first time, run make (or build the solution file in Visual Studio) in &amp;lt;code&amp;gt;Slicer4-Superbuild&amp;lt;/code&amp;gt;, which will update and build the external libraries and if successful will then build the subproject Slicer-build.&amp;lt;br&amp;gt;&lt;br /&gt;
# The second project in &amp;lt;code&amp;gt;Slicer4-Superbuild/Slicer-build&amp;lt;/code&amp;gt; is the &amp;quot;traditional&amp;quot; build directory of Slicer.  After local changes in Slicer (or after an svn update on the source directory of Slicer), only running make (or building the solution file in Visual Studio) in &amp;lt;code&amp;gt;Slicer4-Superbuild/Slicer-build&amp;lt;/code&amp;gt; is necessary (the external libraries are considered built and up to date). &amp;lt;br&amp;gt;&lt;br /&gt;
#'''Warning''': An important amount of disk space is required to compile Slicer in Debug (&amp;gt;10GB on Windows)&lt;br /&gt;
&lt;br /&gt;
=== Workaround firewall blocking git protocol ===&lt;br /&gt;
* Some firewall will be blocking the git protocol, a possible workaround is to configure Slicer disabling the option &amp;lt;code&amp;gt;Slicer_USE_GIT_PROTOCOL&amp;lt;/code&amp;gt;. Then http protocol will be used instead. Consider also reading https://github.com/commontk/CTK/issues/33&lt;br /&gt;
&lt;br /&gt;
=== Notes for advanced users ===&lt;br /&gt;
* By default, if CMake finds Java on your machine, it automatically builds Java CLIs. If you don't want any Java in your Slicer (or if you don't want to install Java on your Mac Os X), you can pass &amp;lt;code&amp;gt;-DCMAKE_DISABLE_FIND_PACKAGE_Java:BOOL=TRUE&amp;lt;/code&amp;gt; when configuring Slicer.&lt;br /&gt;
* Same applies for OpenSSL: &amp;lt;code&amp;gt;CMAKE_DISABLE_FIND_PACKAGE_OpenSSL:BOOL=TRUE&amp;lt;/code&amp;gt; can be passed when building Slicer for packaging.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== BUILD Slicer4 ==&lt;br /&gt;
After configuration, start the build process in the  &amp;lt;code&amp;gt;Slicer4-SuperBuild&amp;lt;/code&amp;gt; directory&lt;br /&gt;
&lt;br /&gt;
=== Per-platform instructions===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
* Open &amp;lt;code&amp;gt;Slicer4-SuperBuild\Slicer.sln&amp;lt;/code&amp;gt; in Visual Studio&lt;br /&gt;
* Select your build configuration. Usually '''Release''' of '''Debug'''&lt;br /&gt;
* Build the &amp;lt;code&amp;gt;ALL_BUILD&amp;lt;/code&amp;gt; project.&lt;br /&gt;
&lt;br /&gt;
* If you make local changes to Slicer4, open the solution file located in the directory &amp;lt;code&amp;gt;Slicer4-SuperBuild/Slicer-build&amp;lt;/code&amp;gt; instead. You should then be able to either build all projects or just a specific one.&lt;br /&gt;
&lt;br /&gt;
==== Unix-like ====&lt;br /&gt;
&lt;br /&gt;
  cd ~/Projects/Slicer4-SuperBuild&lt;br /&gt;
  make -j&amp;lt;NUMBEROFCORES&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RUN Slicer ==&lt;br /&gt;
=== Per-platform instructions===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
&lt;br /&gt;
Run &amp;lt;code&amp;gt;Slicer4-SuperBuild/Slicer-build/Slicer.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Unix-like ====&lt;br /&gt;
&lt;br /&gt;
Run &amp;lt;code&amp;gt;Slicer4-SuperBuild/Slicer-build/Slicer&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== DEBUG Slicer ==&lt;br /&gt;
=== Per-platform instructions===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
* Make sure you build Slicer using the '''Debug''' configuration.&lt;br /&gt;
* Open a windows terminal &amp;lt;code&amp;gt;cmd.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
* Execute the following command:&lt;br /&gt;
  cd \path\to\Slicer4-SuperBuild\Slicer-build&lt;br /&gt;
  Slicer.exe --VisualStudio Slicer.sln&lt;br /&gt;
&lt;br /&gt;
==== Unix-like ====&lt;br /&gt;
NA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Common errors ==&lt;br /&gt;
=== error: ‘class QList&amp;lt;QString&amp;gt;’ has no member named ‘reserve’ ===&lt;br /&gt;
 /nfs/Users/blowekamp/QtSDK/Desktop/Qt/474/gcc/include/QtCore/qdatastream.h: In function ‘QDataStream&amp;amp; operator&amp;gt;&amp;gt;(QDataStream&amp;amp;, QList&amp;lt;T&amp;gt;&amp;amp;) [with T = QString]’:&lt;br /&gt;
 /nfs/Users/blowekamp/QtSDK/Desktop/Qt/474/gcc/include/QtCore/qstringlist.h:247:   instantiated from here&lt;br /&gt;
 /nfs/Users/blowekamp/QtSDK/Desktop/Qt/474/gcc/include/QtCore/qdatastream.h:246: error: ‘class QList&amp;lt;QString&amp;gt;’ has no member named ‘reserve’&lt;br /&gt;
You have multiple Qt versions installed on your machine. Try removing the Qt version installed on the system.&lt;br /&gt;
&lt;br /&gt;
=== libarchive.so: undefined reference to `SHA256_Update' ===&lt;br /&gt;
&lt;br /&gt;
 Linking CXX executable ../../../../../bin/MRMLLogicCxxTests&lt;br /&gt;
 /home/benjaminlong/work/slicer/Slicer4-Superbuild-Debug/LibArchive-install/lib/libarchive.so: undefined reference to `SHA256_Update'&lt;br /&gt;
 /home/benjaminlong/work/slicer/Slicer4-Superbuild-Debug/LibArchive-install/lib/libarchive.so: undefined reference to `SHA256_Final'&lt;br /&gt;
 /home/benjaminlong/work/slicer/Slicer4-Superbuild-Debug/LibArchive-install/lib/libarchive.so: undefined reference to `SHA256_Init'&lt;br /&gt;
 /home/benjaminlong/work/slicer/Slicer4-Superbuild-Debug/LibArchive-install/lib/libarchive.so: undefined reference to `MD5_Init'&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
 cd Slicer-superbuild&lt;br /&gt;
 rm -rf LibArchive-*&lt;br /&gt;
 make -j4&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* http://na-mic.org/Mantis/view.php?id=1616&lt;br /&gt;
* http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;amp;revision=18923&lt;br /&gt;
* http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;amp;revision=18969&lt;br /&gt;
&lt;br /&gt;
=== A tool returned an error code from &amp;quot;Performing configure step for ...&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
CMake has some problems building complex projects on Windows7. See more details in: http://cmake.org/Bug/view.php?id=12957&lt;br /&gt;
&lt;br /&gt;
A fix has been already identified and soon will be available in an official CMake release (probably 2.8.8). Until then this unofficial version can be used (based on CMake-2.8.7): https://qshare.queensu.ca/Users01/lasso/public/cmake-2.8.7.12957-win32-x86.exe&lt;br /&gt;
&lt;br /&gt;
=== A tool returned an error code from &amp;quot;Performing download step (git clone) for ...&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
CMake has problems cloning git repositories on Windows7. See more details in http://cmake.org/Bug/view.php?id=12564&lt;br /&gt;
&lt;br /&gt;
If you think the described problem is the same as you have, please add your specific error message to the bug report (the more people report the problem the sooner it will be fixed).&lt;br /&gt;
&lt;br /&gt;
=== No rule to make target `/usr/lib/x86_64-linux-gnu/libGL.so' ===&lt;br /&gt;
See http://techtidings.blogspot.com/2012/01/problem-with-libglso-on-64-bit-ubuntu.html&lt;br /&gt;
&lt;br /&gt;
=== X11 Window errors at start time ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
X Error: BadWindow (invalid Window parameter) 3&lt;br /&gt;
  Extension:    137 (Uknown extension)&lt;br /&gt;
  Minor opcode: 4 (Unknown request)&lt;br /&gt;
  Resource id:  0x4200199&lt;br /&gt;
X Error: BadWindow (invalid Window parameter) 3&lt;br /&gt;
  Extension:    137 (Uknown extension)&lt;br /&gt;
  Minor opcode: 4 (Unknown request)&lt;br /&gt;
  Resource id:  0x42001a6&lt;br /&gt;
X Error: BadWindow (invalid Window parameter) 3&lt;br /&gt;
  Extension:    137 (Uknown extension)&lt;br /&gt;
  Minor opcode: 4 (Unknown request)&lt;br /&gt;
  Resource id:  0x42001b3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solution: &lt;br /&gt;
* Reinstall Nvidia drivers (that also rewrite the xorg.conf file).&lt;br /&gt;
&lt;br /&gt;
=== error C2061: syntax error : identifier 'ssize_t' ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
4&amp;gt;1&amp;gt;Compiling...&lt;br /&gt;
4&amp;gt;1&amp;gt;version.c&lt;br /&gt;
4&amp;gt;1&amp;gt;c:\chene\winbin64\slicer4\cmcurl\urldata.h(585) : error C2061: syntax error : identifier 'ssize_t'&lt;br /&gt;
4&amp;gt;1&amp;gt;c:\chene\winbin64\slicer4\cmcurl\urldata.h(593) : error C2365: 'fread' : redefinition; previous definition was 'function'&lt;br /&gt;
4&amp;gt;1&amp;gt;        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\stdio.h(248) : see declaration of 'fread'&lt;br /&gt;
4&amp;gt;1&amp;gt;c:\chene\winbin64\slicer4\cmcurl\urldata.h(610) : error C2059: syntax error : '}'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
 * See [[#A_tool_returned_an_error_code_from_.22Performing_configure_step_for_....22]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Platform Notes==&lt;br /&gt;
&lt;br /&gt;
* Linux Ubuntu: if you have odd rendering artifacts, try disabling visual effects (System/Appearance/Visual Effects)&lt;br /&gt;
* Windows: If build was OK, but it Slicer doesn't start (gives the error: [bin/Release/SlicerQT-real.exe] exit abnormally - Report the problem.) then one possible root cause is that you have a copy of Python26.dll in your windows system directory (e.g., c:\Windows\System32\python26.dll). The solution is to rename or remove the python dll in the system directory. See more details here: http://www.na-mic.org/Bug/view.php?id=1180&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Quick Build on Debian==&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 sudo aptitude install subversion git gcc g++ make cmake-curses-gui libqt4-dev&lt;br /&gt;
 svn co http://svn.slicer.org/Slicer4/trunk Slicer4&lt;br /&gt;
 mkdir Slicer4-SuperBuild-Debug&lt;br /&gt;
 cd Slicer4-SuperBuild-Debug&lt;br /&gt;
 cmake ../Slicer4&lt;br /&gt;
 make -j5&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Developers/Build_Instructions&amp;diff=25360</id>
		<title>Documentation/4.0/Developers/Build Instructions</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Developers/Build_Instructions&amp;diff=25360"/>
		<updated>2012-04-06T00:45:59Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Unix-like */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{mbox&lt;br /&gt;
| text = The goal of the [[{{tool|logo|cmake}}|x16px]] [{{tool|homepage|cmake}} CMake] '''Super-Build''' is to provide a cross-platform build system that allows developers to quickly install and configure the multiple packages.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Where [[Slicer3:Build_Instructions|Slicer3's build system]] relied on a [[Slicer3:getbuildtest|custom build script called getbuildtest]], new features added to [{{tool|homepage|cmake}} CMake], partly driven by slicer's requirements, allow porting of the scripts to rely more on native [{{tool|homepage|cmake}} CMake] functionality with the benefit that build script is more modular and general purpose.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== PREREQUISITES ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;To avoid &amp;lt;br&amp;gt;[[#Common_errors|'''Common errors''']], &amp;lt;br&amp;gt;we&amp;lt;br&amp;gt; '''STRONGLY'''&amp;lt;br&amp;gt; recommend to read the&amp;lt;br&amp;gt; &amp;lt;font size=&amp;quot;+2&amp;quot;&amp;gt;[[Documentation/{{documentation/version}}/Developers/Build Instructions/Prerequisites|Prerequisites]]&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt; section.&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CHECKOUT slicer source files ==&lt;br /&gt;
&lt;br /&gt;
Two options:  &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt;   or    &amp;lt;code&amp;gt;git-svn&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make '''review''' and '''integration''' of your welcome contributions, we recommends the use of &amp;lt;code&amp;gt;git-svn&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{ambox&lt;br /&gt;
| type  = warning&lt;br /&gt;
| text  = While it is not enforced, we strongly recommend you to '''AVOID''' the use of '''SPACES''' for both the &amp;lt;code&amp;gt;source directory&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;build directory&amp;lt;/code&amp;gt;. We mean it.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that even if you use &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; to check out Slicer source code, you will need to have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; installed to checkout and build other libraries. '''YES''', you need to install the things listed in the [[Documentation/{{documentation/version}}/Developers/Build Instructions/Prerequisites|prerequisites]] !.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Using &amp;lt;code&amp;gt;git-svn&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
  git clone git://github.com/Slicer/Slicer.git&lt;br /&gt;
  cd Slicer&lt;br /&gt;
  git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
  git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
  git checkout master&lt;br /&gt;
  git svn rebase&lt;br /&gt;
&lt;br /&gt;
Consider reading the following page: [[Slicer:git-svn|Slicer guide to &amp;lt;code&amp;gt;git-svn&amp;lt;/code&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
=== Using &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
 cd MyProjects&lt;br /&gt;
 svn co [http://svn.slicer.org/Slicer4/trunk http://svn.slicer.org/Slicer4/trunk] Slicer4&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CONFIGURE and generate Slicer solution files ==&lt;br /&gt;
You can configure and generate Slicer solution files using either &amp;lt;code&amp;gt;ccmake&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;.&lt;br /&gt;
=== Per-platform instructions===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
*'''Recommended''': &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;&lt;br /&gt;
** Configure using default options.&lt;br /&gt;
* '''Remarks''':&lt;br /&gt;
#If you downloaded the Qt binary then &amp;lt;code&amp;gt;qmake&amp;lt;/code&amp;gt; will be detected and all paths will be set automatically.  &lt;br /&gt;
#If you built your own Qt (e.g. in Debug mode for use with the designer) set the &amp;lt;code&amp;gt;QT_QMAKE_EXECUTABLE&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;.&amp;lt;code&amp;gt;QT_QMAKE_EXECUTABLE&amp;lt;/code&amp;gt; should be set to the path of the qmake.exe file, which is inside the bin directory (for example, &amp;lt;code&amp;gt;/path/to/qt-everywhere-opensource-build-4.7.4/bin/qmake.exe&amp;lt;/code&amp;gt;). &lt;br /&gt;
#Windows doesn't support path longer than 260 characters, please make sure that the total path name of your &amp;lt;code&amp;gt;Slicer-build&amp;lt;/code&amp;gt; directory is no longer than 50 characters ( for example &amp;lt;code&amp;gt;c:\work\Slicer\Slicer-Superbuild&amp;lt;/code&amp;gt; (32 characters) is fine)&lt;br /&gt;
&lt;br /&gt;
==== Unix-like ====&lt;br /&gt;
*'''Recommended''': &amp;lt;code&amp;gt;ccmake&amp;lt;/code&amp;gt;&lt;br /&gt;
** Configure using the following commands. By default '''CMAKE_BUILD_TYPE''' is set to '''Debug'''.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir Slicer4-SuperBuild-Debug&lt;br /&gt;
cd Slicer4-SuperBuild-Debug&lt;br /&gt;
ccmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/path/to/QtSDK-1.2/Desktop/Qt/474/gcc/bin/qmake ../Slicer4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* '''Remarks''':&lt;br /&gt;
# Using top-level directory name like &amp;lt;code&amp;gt;Slicer-Superbuild-Release&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Slicer-Superbuild-Debug&amp;lt;/code&amp;gt; is recommended.&lt;br /&gt;
&lt;br /&gt;
=== General information ===&lt;br /&gt;
&lt;br /&gt;
Two projects are generated by either &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ccmake&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
One of them is in the top-level bin directory &amp;lt;code&amp;gt;Slicer4-Superbuild&amp;lt;/code&amp;gt; and the other one is in the subdirectory &amp;lt;code&amp;gt;Slicer-build&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Slicer4-Superbuild/Slicer-build&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# The first project in &amp;lt;code&amp;gt;Slicer4-Superbuild&amp;lt;/code&amp;gt; manages all the external dependencies of Slicer (VTK, ITK, Python, ...). To build Slicer for the first time, run make (or build the solution file in Visual Studio) in &amp;lt;code&amp;gt;Slicer4-Superbuild&amp;lt;/code&amp;gt;, which will update and build the external libraries and if successful will then build the subproject Slicer-build.&amp;lt;br&amp;gt;&lt;br /&gt;
# The second project in &amp;lt;code&amp;gt;Slicer4-Superbuild/Slicer-build&amp;lt;/code&amp;gt; is the &amp;quot;traditional&amp;quot; build directory of Slicer.  After local changes in Slicer (or after an svn update on the source directory of Slicer), only running make (or building the solution file in Visual Studio) in &amp;lt;code&amp;gt;Slicer4-Superbuild/Slicer-build&amp;lt;/code&amp;gt; is necessary (the external libraries are considered built and up to date). &amp;lt;br&amp;gt;&lt;br /&gt;
#'''Warning''': An important amount of disk space is required to compile Slicer in Debug (&amp;gt;10GB on Windows)&lt;br /&gt;
&lt;br /&gt;
=== Workaround firewall blocking git protocol ===&lt;br /&gt;
* Some firewall will be blocking the git protocol, a possible workaround is to configure Slicer disabling the option &amp;lt;code&amp;gt;Slicer_USE_GIT_PROTOCOL&amp;lt;/code&amp;gt;. Then http protocol will be used instead. Consider also reading https://github.com/commontk/CTK/issues/33&lt;br /&gt;
&lt;br /&gt;
=== Notes for advanced users ===&lt;br /&gt;
* By default, if CMake finds Java on your machine, it automatically builds Java CLIs. If you don't want any Java in your Slicer (or if you don't want to install Java on your Mac Os X), you can pass &amp;lt;code&amp;gt;-DCMAKE_DISABLE_FIND_PACKAGE_Java:BOOL=TRUE&amp;lt;/code&amp;gt; when configuring Slicer.&lt;br /&gt;
* Same applies for OpenSSL: &amp;lt;code&amp;gt;CMAKE_DISABLE_FIND_PACKAGE_OpenSSL:BOOL=TRUE&amp;lt;/code&amp;gt; can be passed when building Slicer for packaging.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== BUILD Slicer4 ==&lt;br /&gt;
After configuration, start the build process in the  &amp;lt;code&amp;gt;Slicer4-SuperBuild&amp;lt;/code&amp;gt; directory&lt;br /&gt;
&lt;br /&gt;
=== Per-platform instructions===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
* Open &amp;lt;code&amp;gt;Slicer4-SuperBuild\Slicer.sln&amp;lt;/code&amp;gt; in Visual Studio&lt;br /&gt;
* Select your build configuration. Usually '''Release''' of '''Debug'''&lt;br /&gt;
* Build the &amp;lt;code&amp;gt;ALL_BUILD&amp;lt;/code&amp;gt; project.&lt;br /&gt;
&lt;br /&gt;
* If you make local changes to Slicer4, open the solution file located in the directory &amp;lt;code&amp;gt;Slicer4-SuperBuild/Slicer-build&amp;lt;/code&amp;gt; instead. You should then be able to either build all projects or just a specific one.&lt;br /&gt;
&lt;br /&gt;
==== Unix-like ====&lt;br /&gt;
&lt;br /&gt;
  cd ~/Projects/Slicer4-SuperBuild&lt;br /&gt;
  make -j&amp;lt;NUMBEROFCORES&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RUN Slicer ==&lt;br /&gt;
=== Per-platform instructions===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
&lt;br /&gt;
Run &amp;lt;code&amp;gt;Slicer4-SuperBuild/Slicer-build/Slicer.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Unix-like ====&lt;br /&gt;
&lt;br /&gt;
Run &amp;lt;code&amp;gt;Slicer4-SuperBuild/Slicer-build/Slicer&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== DEBUG Slicer ==&lt;br /&gt;
=== Per-platform instructions===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
* Make sure you build Slicer using the '''Debug''' configuration.&lt;br /&gt;
* Open a windows terminal &amp;lt;code&amp;gt;cmd.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
* Execute the following command:&lt;br /&gt;
  cd \path\to\Slicer4-SuperBuild\Slicer-build&lt;br /&gt;
  Slicer.exe --VisualStudio Slicer.sln&lt;br /&gt;
&lt;br /&gt;
==== Unix-like ====&lt;br /&gt;
NA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Common errors ==&lt;br /&gt;
=== error: ‘class QList&amp;lt;QString&amp;gt;’ has no member named ‘reserve’ ===&lt;br /&gt;
 /nfs/Users/blowekamp/QtSDK/Desktop/Qt/474/gcc/include/QtCore/qdatastream.h: In function ‘QDataStream&amp;amp; operator&amp;gt;&amp;gt;(QDataStream&amp;amp;, QList&amp;lt;T&amp;gt;&amp;amp;) [with T = QString]’:&lt;br /&gt;
 /nfs/Users/blowekamp/QtSDK/Desktop/Qt/474/gcc/include/QtCore/qstringlist.h:247:   instantiated from here&lt;br /&gt;
 /nfs/Users/blowekamp/QtSDK/Desktop/Qt/474/gcc/include/QtCore/qdatastream.h:246: error: ‘class QList&amp;lt;QString&amp;gt;’ has no member named ‘reserve’&lt;br /&gt;
You have multiple Qt versions installed on your machine. Try removing the Qt version installed on the system.&lt;br /&gt;
&lt;br /&gt;
=== libarchive.so: undefined reference to `SHA256_Update' ===&lt;br /&gt;
&lt;br /&gt;
 Linking CXX executable ../../../../../bin/MRMLLogicCxxTests&lt;br /&gt;
 /home/benjaminlong/work/slicer/Slicer4-Superbuild-Debug/LibArchive-install/lib/libarchive.so: undefined reference to `SHA256_Update'&lt;br /&gt;
 /home/benjaminlong/work/slicer/Slicer4-Superbuild-Debug/LibArchive-install/lib/libarchive.so: undefined reference to `SHA256_Final'&lt;br /&gt;
 /home/benjaminlong/work/slicer/Slicer4-Superbuild-Debug/LibArchive-install/lib/libarchive.so: undefined reference to `SHA256_Init'&lt;br /&gt;
 /home/benjaminlong/work/slicer/Slicer4-Superbuild-Debug/LibArchive-install/lib/libarchive.so: undefined reference to `MD5_Init'&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
 cd Slicer-superbuild&lt;br /&gt;
 rm -rf LibArchive-*&lt;br /&gt;
 make -j4&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* http://na-mic.org/Mantis/view.php?id=1616&lt;br /&gt;
* http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;amp;revision=18923&lt;br /&gt;
* http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;amp;revision=18969&lt;br /&gt;
&lt;br /&gt;
=== A tool returned an error code from &amp;quot;Performing configure step for ...&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
CMake has some problems building complex projects on Windows7. See more details in: http://cmake.org/Bug/view.php?id=12957&lt;br /&gt;
&lt;br /&gt;
A fix has been already identified and soon will be available in an official CMake release (probably 2.8.8). Until then this unofficial version can be used (based on CMake-2.8.7): https://qshare.queensu.ca/Users01/lasso/public/cmake-2.8.7.12957-win32-x86.exe&lt;br /&gt;
&lt;br /&gt;
=== A tool returned an error code from &amp;quot;Performing download step (git clone) for ...&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
CMake has problems cloning git repositories on Windows7. See more details in http://cmake.org/Bug/view.php?id=12564&lt;br /&gt;
&lt;br /&gt;
If you think the described problem is the same as you have, please add your specific error message to the bug report (the more people report the problem the sooner it will be fixed).&lt;br /&gt;
&lt;br /&gt;
=== No rule to make target `/usr/lib/x86_64-linux-gnu/libGL.so' ===&lt;br /&gt;
See http://techtidings.blogspot.com/2012/01/problem-with-libglso-on-64-bit-ubuntu.html&lt;br /&gt;
&lt;br /&gt;
=== X11 Window errors at start time ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
X Error: BadWindow (invalid Window parameter) 3&lt;br /&gt;
  Extension:    137 (Uknown extension)&lt;br /&gt;
  Minor opcode: 4 (Unknown request)&lt;br /&gt;
  Resource id:  0x4200199&lt;br /&gt;
X Error: BadWindow (invalid Window parameter) 3&lt;br /&gt;
  Extension:    137 (Uknown extension)&lt;br /&gt;
  Minor opcode: 4 (Unknown request)&lt;br /&gt;
  Resource id:  0x42001a6&lt;br /&gt;
X Error: BadWindow (invalid Window parameter) 3&lt;br /&gt;
  Extension:    137 (Uknown extension)&lt;br /&gt;
  Minor opcode: 4 (Unknown request)&lt;br /&gt;
  Resource id:  0x42001b3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solution: &lt;br /&gt;
* Reinstall Nvidia drivers (that also rewrite the xorg.conf file).&lt;br /&gt;
&lt;br /&gt;
=== error C2061: syntax error : identifier 'ssize_t' ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
4&amp;gt;1&amp;gt;Compiling...&lt;br /&gt;
4&amp;gt;1&amp;gt;version.c&lt;br /&gt;
4&amp;gt;1&amp;gt;c:\chene\winbin64\slicer4\cmcurl\urldata.h(585) : error C2061: syntax error : identifier 'ssize_t'&lt;br /&gt;
4&amp;gt;1&amp;gt;c:\chene\winbin64\slicer4\cmcurl\urldata.h(593) : error C2365: 'fread' : redefinition; previous definition was 'function'&lt;br /&gt;
4&amp;gt;1&amp;gt;        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\stdio.h(248) : see declaration of 'fread'&lt;br /&gt;
4&amp;gt;1&amp;gt;c:\chene\winbin64\slicer4\cmcurl\urldata.h(610) : error C2059: syntax error : '}'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
 * See [[#A_tool_returned_an_error_code_from_.22Performing_configure_step_for_....22]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Platform Notes==&lt;br /&gt;
&lt;br /&gt;
* Linux Ubuntu: if you have odd rendering artifacts, try disabling visual effects (System/Appearance/Visual Effects)&lt;br /&gt;
* Windows: If build was OK, but it Slicer doesn't start (gives the error: [bin/Release/SlicerQT-real.exe] exit abnormally - Report the problem.) then one possible root cause is that you have a copy of Python26.dll in your windows system directory (e.g., c:\Windows\System32\python26.dll). The solution is to rename or remove the python dll in the system directory. See more details here: http://www.na-mic.org/Bug/view.php?id=1180&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=20488</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=20488"/>
		<updated>2011-07-31T17:52:39Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Ubuntu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
A [http://packages.debian.org/search?keywords=slicer&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Debian package for slicer] has been created to make it easier to install &amp;quot;3D Slicer&amp;quot; on Debian machines. This means users can simply do:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install slicer&lt;br /&gt;
&lt;br /&gt;
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.&lt;br /&gt;
&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;squeeze&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian &amp;quot;squeeze&amp;quot; contains a &amp;quot;3D Slicer 3.4&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
The next major Debian release &amp;quot;wheezy&amp;quot; will contain a &amp;quot;3D Slicer 3.6&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
== Cloud computing==&lt;br /&gt;
&lt;br /&gt;
The EBS AMI '''ami-6ca05805''' contains a ready to use ''3D Slicer 3.4'' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).&lt;br /&gt;
&lt;br /&gt;
Example session:&lt;br /&gt;
 AMI=ami-6ca05805&lt;br /&gt;
 ec2-describe-images $AMI&lt;br /&gt;
 ec2-run-instances -t t1.micro $AMI -n1 -k mykey&lt;br /&gt;
 ec2-describe-instances&lt;br /&gt;
 host=ec2-174-129-170-61.compute-1.amazonaws.com&lt;br /&gt;
 ssh -i id_rsa-mykey -X ubuntu@${host}&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
[[Media:slicer_rdep_squeeze.png]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
The Ubuntu distribution will also contain a slicer package in their&lt;br /&gt;
universe repository [https://launchpad.net/ubuntu/+source/slicer].&lt;br /&gt;
This package is probably based on the slicer package taken from Debian &amp;quot;unstable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The MOTU team cares for the packages in universe and multiverse (which are comprised mostly of packages from the Debian archive) on a best-effort basis, as there are a large number of packages relative to the resources of the team. Therefore, a vast majority of these packages are used unchanged from Debian, rebuilt in an Ubuntu build environment, and do not receive personal attention from an Ubuntu developer.&amp;quot;&lt;br /&gt;
[https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers#How_does_Ubuntu_differ_from_Debian.3F]&lt;br /&gt;
&lt;br /&gt;
== Thanks! ==&lt;br /&gt;
&lt;br /&gt;
These packages were the result of a lot of work by Dominique Belhachemi.&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Developers/Build_Instructions&amp;diff=20452</id>
		<title>Documentation/4.0/Developers/Build Instructions</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Developers/Build_Instructions&amp;diff=20452"/>
		<updated>2011-07-24T16:09:28Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* STEP 0: Prerequisites */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Slicer4| Back to Slicer 4]]&lt;br /&gt;
&lt;br /&gt;
The goal of the Super-Build is to provide a cross-platform build system that allows developers to quickly install and configure the multiple packages.&lt;br /&gt;
&lt;br /&gt;
Where [[Slicer3:Build_Instructions|Slicer3's build system]] relied on a [[Slicer3:getbuildtest|custom build script called getbuildtest]], new features added to [http://www.cmake.org CMake], partly driven by slicer's requirements, allow porting of the scripts to rely more on native CMake functionality with the benefit that build script is more modular and general purpose.&lt;br /&gt;
&lt;br /&gt;
== STEP 0: Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
Please check that the following tools are installed on your machine.&lt;br /&gt;
&lt;br /&gt;
*Debian Squeeze user type:&lt;br /&gt;
 sudo apt-get install gcc libX11-dev libXt-dev libgl1-mesa-dev libosmesa6-dev libglu1-mesa-dev git cmake cmake-curses-gui libqt4-dev subversion make g++&lt;br /&gt;
*Ubuntu users, just type the following line in a terminal&lt;br /&gt;
 sudo apt-get install gcc libX11-dev libXt-dev libgl1-mesa-dev libosmesa6-dev libglu1-mesa-dev git cmake cmake-curses-gui&lt;br /&gt;
*CentOS user type:&lt;br /&gt;
 yum install gcc-c++ libX11-devel libXt-devel make&lt;br /&gt;
&lt;br /&gt;
*Mac&lt;br /&gt;
** git version &amp;gt;= 1.6.5&lt;br /&gt;
*** [http://git-scm.com/download Download and install Git]&lt;br /&gt;
**[http://www.cmake.org/cmake/resources/software.html CMake] version &amp;gt;= 2.8.2&lt;br /&gt;
&lt;br /&gt;
* Linux prerequisites (''need to confirm'')&lt;br /&gt;
** gcc&lt;br /&gt;
** gcc-c++&lt;br /&gt;
** libX11 &lt;br /&gt;
** libX11-devel (libX11-dev  on Ubuntu 7.04)&lt;br /&gt;
** libXt-devel (libXt-dev on Ubuntu)&lt;br /&gt;
** opengl/mesa (libgl1-mesa-dev on Ubuntu) (and libosmesa6-dev on Ubuntu)&lt;br /&gt;
** glu (libglu1-mesa-dev on Ubuntu)&lt;br /&gt;
** git version &amp;gt;= 1.6.5&lt;br /&gt;
*** [http://git-scm.com/download Download Git]&lt;br /&gt;
*** install git: &amp;lt;code&amp;gt;sudo apt-get install git&amp;lt;/code&amp;gt;. If &amp;lt;code&amp;gt;git --version&amp;lt;/code&amp;gt; is inferior to 1.6.5, then:&amp;lt;code&amp;gt;sudo dpkg --install git-core_1.6.5-1~bpo50+1_amd64.deb&amp;lt;/code&amp;gt;&lt;br /&gt;
**[http://www.cmake.org/cmake/resources/software.html CMake] version &amp;gt;= 2.8.2&lt;br /&gt;
&lt;br /&gt;
* Windows prerequisites&lt;br /&gt;
** IDE:&lt;br /&gt;
*** Prefered: Microsoft Visual Studio 2008 or 2010 (including [http://www.microsoft.com/express/Downloads/#2010-Visual-CPP Express Edition])&lt;br /&gt;
*** Cygwin suite&lt;br /&gt;
**[http://www.cmake.org/cmake/resources/software.html CMake] version &amp;gt;= 2.8.2&lt;br /&gt;
** SVN&lt;br /&gt;
** CVS&lt;br /&gt;
** git version &amp;gt;= 1.6.5. [http://code.google.com/p/msysgit/ msysgit] is recommended. Using [http://code.google.com/p/tortoisegit/ TortoiseGit] is a plus.&lt;br /&gt;
* '''All Platforms: Qt.'''{{note}} Use one of the links provided in the table below to download the source code or binary of Qt. If required, you can download the source code and compile Qt using the instructions in [[Slicer4:Build_Instructions_for_QT|Slicer4: Build Instructions for Qt]].&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; style=&amp;quot;margin-left: 20px;&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;#FFFFCC&amp;quot;&lt;br /&gt;
!rowspan=&amp;quot;3&amp;quot;|&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;2&amp;quot;|Linux&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Mac&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;2&amp;quot;|Windows&lt;br /&gt;
|- bgcolor=&amp;quot;#FFFFCC&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot;|Tiger&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot;|Leopard, SnowLeopard&lt;br /&gt;
|- bgcolor=&amp;quot;#FFFFCC&amp;quot;&lt;br /&gt;
!|32bits&lt;br /&gt;
!|64bits&lt;br /&gt;
!|32bits&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot;|64bits&lt;br /&gt;
!|32bits&lt;br /&gt;
!|64bits&lt;br /&gt;
|-&lt;br /&gt;
! bgcolor=&amp;quot;#FFFFCC&amp;quot; | [http://get.qt.nokia.com/qt/source/ Qt source link]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;4&amp;quot;| [http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.3.tar.gz 4.6.3]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;2&amp;quot;| [http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.3.zip 4.6.3 (vs2008)] &amp;lt;br /&amp;gt;[http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.3.zip 4.7.3 (vs2010)]&lt;br /&gt;
|-&lt;br /&gt;
! bgcolor=&amp;quot;#FFFFCC&amp;quot; | [http://get.qt.nokia.com/qt/source/  Qt binary link]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qtsdk/qt-sdk-linux-x86-opensource-2010.05.bin x86_2010.05]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qtsdk/qt-sdk-linux-x86_64-opensource-2010.05.bin x86_64_2010.05]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qt/source/qt-mac-carbon-opensource-4.7.0.dmg carbon_4.7.0]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qtsdk/qt-sdk-mac-opensource-2010.05.dmg cocoa_4.7.0] &lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qt/source/qt-win-opensource-4.6.3-vs2008.exe 4.6.3 (vs2008)] &amp;lt;br /&amp;gt;[http://get.qt.nokia.com/qt/source/qt-win-opensource-4.7.3-vs2008.exe 4.7.3 (vs2010)]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Step1: Checkout slicer source files using subversion  ==&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd MyProjects&lt;br /&gt;
svn co http://svn.slicer.org/Slicer4/trunk Slicer4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Step2: Configure and generate Slicer solution files ==&lt;br /&gt;
You can configure and generate Slicer solution files using either ccmake or cmake-gui. &lt;br /&gt;
*cmake-gui (Recommended): Configure using default options.&lt;br /&gt;
{{note}}&lt;br /&gt;
#If you downloaded the Qt binary then qmake will be detected and all paths will be set automatically.  &lt;br /&gt;
#If you built your own Qt (e.g. in Debug mode for use with the designer) set the QT_QMAKE_EXECUTABLE in cmake-gui.QT_QMAKE_EXECUTABLE should be set to the path of the qmake.exe file, which is inside the bin directory (for example, ./QT/qt-everywhere-opensource-src-4.7.3/bin/qmake.exe). &lt;br /&gt;
&lt;br /&gt;
*ccmake (for linux/mac): Configure using the following commands. For developers, set the '''CMAKE_BUILD_TYPE''' to '''Debug'''.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir Slicer4-SuperBuild&lt;br /&gt;
cd Slicer4-SuperBuild&lt;br /&gt;
ccmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/myself/qt-4.6.3/qt/bin/qmake ../Slicer4&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Two projects are generated by ccmake/cmake-gui. One of them is in the top-level bin directory Slicer4-Superbuild and the other one is in the subdirectory Slicer4-Superbuild/Slicer-build:&lt;br /&gt;
&lt;br /&gt;
#The first project in Slicer4-Superbuild manages all the external dependencies of Slicer (VTK, ITK, Python, ...). To build Slicer for the first time, run make (or build the solution file in Visual Studio) in Slicer4-Superbuild, which will update and build the external libraries and if successful will then build the subproject Slicer-build.&amp;lt;br&amp;gt;&lt;br /&gt;
#The second project in Slicer4-Superbuild/Slicer-build is the &amp;quot;traditional&amp;quot; build directory of Slicer.  After local changes in Slicer (or after an svn update on the source directory of Slicer), only running make (or building the solution file in Visual Studio) in Slicer4-Superuild/Slicer-build is necessary (the external libraries are considered built and up to date). &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{warning}}&lt;br /&gt;
#For Windows users:Windows doesn't support path longer than 260 characters, please make sure that the total path name of your Slicer-build directory is no longer than 75 characters ( for example &amp;quot;c:\work\Slicer\Slicer-Superbuild&amp;quot; (32 characters) is fine)&lt;br /&gt;
#Warning: a lot of space disk is necessary to compile Slicer (&amp;gt;10GB on Windows)&lt;br /&gt;
&lt;br /&gt;
== Step3: Build Slicer4 ==&lt;br /&gt;
After configuration, start the build process in the  Slicer4-SuperBuild directory&lt;br /&gt;
*Linux / Mac: Run the following code:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make -j&amp;lt;NUMBEROFCORES&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Windows: Open Slicer4-SuperBuild\Slicer.sln  (or Slicer-4.0\Slicer4-SuperBuild\Slicer-build\Slicer.sln) in Visual Studio and build the ALL_BUILD project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{warning}}&lt;br /&gt;
# As it is indicated in Step2, if you make local changes in Slicer4, run make (or build the solution file in Visual Studio) in the directory Slicer4-Superuild/Slicer-build.&lt;br /&gt;
# If you would like to make local changes and debug your code in Debug mode in Visual Studio, use the Visual Studio Command Prompt to open the solution file in Slicer4-Superuild/Slicer-build:&lt;br /&gt;
#* Open Visual Studio Command Prompt&lt;br /&gt;
#* Go to the directory  Slicer4-Superuild/Slicer-build&lt;br /&gt;
#* Write Slicer.exe --VisualStudio Slicer.sln&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step4: Run Slicer4 ==&lt;br /&gt;
Run the launcher in Slicer4-SuperBuild/Slicer-build/Slicer (Slicer.exe on windows)&lt;br /&gt;
&lt;br /&gt;
==Platform Notes==&lt;br /&gt;
&lt;br /&gt;
* Linux Ubuntu: if you have odd rendering artifacts, try disabling visual effects (System/Appearance/Visual Effects)&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Developers/Build_Instructions&amp;diff=20451</id>
		<title>Documentation/4.0/Developers/Build Instructions</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Developers/Build_Instructions&amp;diff=20451"/>
		<updated>2011-07-24T04:43:46Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* STEP 0: Prerequisites */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Slicer4| Back to Slicer 4]]&lt;br /&gt;
&lt;br /&gt;
The goal of the Super-Build is to provide a cross-platform build system that allows developers to quickly install and configure the multiple packages.&lt;br /&gt;
&lt;br /&gt;
Where [[Slicer3:Build_Instructions|Slicer3's build system]] relied on a [[Slicer3:getbuildtest|custom build script called getbuildtest]], new features added to [http://www.cmake.org CMake], partly driven by slicer's requirements, allow porting of the scripts to rely more on native CMake functionality with the benefit that build script is more modular and general purpose.&lt;br /&gt;
&lt;br /&gt;
== STEP 0: Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
Please check that the following tools are installed on your machine.&lt;br /&gt;
&lt;br /&gt;
*Debian Squeeze user type:&lt;br /&gt;
 sudo apt-get install gcc libX11-dev libXt-dev libgl1-mesa-dev libosmesa6-dev libglu1-mesa-dev git cmake cmake-curses-gui libqt4-dev subversion make g++&lt;br /&gt;
*Ubuntu users, just type the following line in a terminal&lt;br /&gt;
 sudo apt-get install gcc libX11-dev libXt-dev libgl1-mesa-dev libosmesa6-dev libglu1-mesa-dev git cmake cmake-curses-gui&lt;br /&gt;
&lt;br /&gt;
*Mac&lt;br /&gt;
** git version &amp;gt;= 1.6.5&lt;br /&gt;
*** [http://git-scm.com/download Download and install Git]&lt;br /&gt;
**[http://www.cmake.org/cmake/resources/software.html CMake] version &amp;gt;= 2.8.2&lt;br /&gt;
&lt;br /&gt;
* Linux prerequisites (''need to confirm'')&lt;br /&gt;
** gcc&lt;br /&gt;
** gcc-c++&lt;br /&gt;
** libX11 &lt;br /&gt;
** libX11-devel (libX11-dev  on Ubuntu 7.04)&lt;br /&gt;
** libXt-devel (libXt-dev on Ubuntu)&lt;br /&gt;
** opengl/mesa (libgl1-mesa-dev on Ubuntu) (and libosmesa6-dev on Ubuntu)&lt;br /&gt;
** glu (libglu1-mesa-dev on Ubuntu)&lt;br /&gt;
** git version &amp;gt;= 1.6.5&lt;br /&gt;
*** [http://git-scm.com/download Download Git]&lt;br /&gt;
*** install git: &amp;lt;code&amp;gt;sudo apt-get install git&amp;lt;/code&amp;gt;. If &amp;lt;code&amp;gt;git --version&amp;lt;/code&amp;gt; is inferior to 1.6.5, then:&amp;lt;code&amp;gt;sudo dpkg --install git-core_1.6.5-1~bpo50+1_amd64.deb&amp;lt;/code&amp;gt;&lt;br /&gt;
**[http://www.cmake.org/cmake/resources/software.html CMake] version &amp;gt;= 2.8.2&lt;br /&gt;
&lt;br /&gt;
* Windows prerequisites&lt;br /&gt;
** IDE:&lt;br /&gt;
*** Prefered: Microsoft Visual Studio 2008 or 2010 (including [http://www.microsoft.com/express/Downloads/#2010-Visual-CPP Express Edition])&lt;br /&gt;
*** Cygwin suite&lt;br /&gt;
**[http://www.cmake.org/cmake/resources/software.html CMake] version &amp;gt;= 2.8.2&lt;br /&gt;
** SVN&lt;br /&gt;
** CVS&lt;br /&gt;
** git version &amp;gt;= 1.6.5. [http://code.google.com/p/msysgit/ msysgit] is recommended. Using [http://code.google.com/p/tortoisegit/ TortoiseGit] is a plus.&lt;br /&gt;
* '''All Platforms: Qt.'''{{note}} Use one of the links provided in the table below to download the source code or binary of Qt. If required, you can download the source code and compile Qt using the instructions in [[Slicer4:Build_Instructions_for_QT|Slicer4: Build Instructions for Qt]].&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; style=&amp;quot;margin-left: 20px;&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;#FFFFCC&amp;quot;&lt;br /&gt;
!rowspan=&amp;quot;3&amp;quot;|&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;2&amp;quot;|Linux&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Mac&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;2&amp;quot;|Windows&lt;br /&gt;
|- bgcolor=&amp;quot;#FFFFCC&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot;|Tiger&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot;|Leopard, SnowLeopard&lt;br /&gt;
|- bgcolor=&amp;quot;#FFFFCC&amp;quot;&lt;br /&gt;
!|32bits&lt;br /&gt;
!|64bits&lt;br /&gt;
!|32bits&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot;|64bits&lt;br /&gt;
!|32bits&lt;br /&gt;
!|64bits&lt;br /&gt;
|-&lt;br /&gt;
! bgcolor=&amp;quot;#FFFFCC&amp;quot; | [http://get.qt.nokia.com/qt/source/ Qt source link]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;4&amp;quot;| [http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.3.tar.gz 4.6.3]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;2&amp;quot;| [http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.3.zip 4.6.3 (vs2008)] &amp;lt;br /&amp;gt;[http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.3.zip 4.7.3 (vs2010)]&lt;br /&gt;
|-&lt;br /&gt;
! bgcolor=&amp;quot;#FFFFCC&amp;quot; | [http://get.qt.nokia.com/qt/source/  Qt binary link]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qtsdk/qt-sdk-linux-x86-opensource-2010.05.bin x86_2010.05]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qtsdk/qt-sdk-linux-x86_64-opensource-2010.05.bin x86_64_2010.05]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qt/source/qt-mac-carbon-opensource-4.7.0.dmg carbon_4.7.0]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qtsdk/qt-sdk-mac-opensource-2010.05.dmg cocoa_4.7.0] &lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qt/source/qt-win-opensource-4.6.3-vs2008.exe 4.6.3 (vs2008)] &amp;lt;br /&amp;gt;[http://get.qt.nokia.com/qt/source/qt-win-opensource-4.7.3-vs2008.exe 4.7.3 (vs2010)]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Step1: Checkout slicer source files using subversion  ==&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd MyProjects&lt;br /&gt;
svn co http://svn.slicer.org/Slicer4/trunk Slicer4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Step2: Configure and generate Slicer solution files ==&lt;br /&gt;
You can configure and generate Slicer solution files using either ccmake or cmake-gui. &lt;br /&gt;
*cmake-gui (Recommended): Configure using default options.&lt;br /&gt;
{{note}}&lt;br /&gt;
#If you downloaded the Qt binary then qmake will be detected and all paths will be set automatically.  &lt;br /&gt;
#If you built your own Qt (e.g. in Debug mode for use with the designer) set the QT_QMAKE_EXECUTABLE in cmake-gui.QT_QMAKE_EXECUTABLE should be set to the path of the qmake.exe file, which is inside the bin directory (for example, ./QT/qt-everywhere-opensource-src-4.7.3/bin/qmake.exe). &lt;br /&gt;
&lt;br /&gt;
*ccmake (for linux/mac): Configure using the following commands. For developers, set the '''CMAKE_BUILD_TYPE''' to '''Debug'''.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir Slicer4-SuperBuild&lt;br /&gt;
cd Slicer4-SuperBuild&lt;br /&gt;
ccmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/myself/qt-4.6.3/qt/bin/qmake ../Slicer4&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Two projects are generated by ccmake/cmake-gui. One of them is in the top-level bin directory Slicer4-Superbuild and the other one is in the subdirectory Slicer4-Superbuild/Slicer-build:&lt;br /&gt;
&lt;br /&gt;
#The first project in Slicer4-Superbuild manages all the external dependencies of Slicer (VTK, ITK, Python, ...). To build Slicer for the first time, run make (or build the solution file in Visual Studio) in Slicer4-Superbuild, which will update and build the external libraries and if successful will then build the subproject Slicer-build.&amp;lt;br&amp;gt;&lt;br /&gt;
#The second project in Slicer4-Superbuild/Slicer-build is the &amp;quot;traditional&amp;quot; build directory of Slicer.  After local changes in Slicer (or after an svn update on the source directory of Slicer), only running make (or building the solution file in Visual Studio) in Slicer4-Superuild/Slicer-build is necessary (the external libraries are considered built and up to date). &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{warning}}&lt;br /&gt;
#For Windows users:Windows doesn't support path longer than 260 characters, please make sure that the total path name of your Slicer-build directory is no longer than 75 characters ( for example &amp;quot;c:\work\Slicer\Slicer-Superbuild&amp;quot; (32 characters) is fine)&lt;br /&gt;
#Warning: a lot of space disk is necessary to compile Slicer (&amp;gt;10GB on Windows)&lt;br /&gt;
&lt;br /&gt;
== Step3: Build Slicer4 ==&lt;br /&gt;
After configuration, start the build process in the  Slicer4-SuperBuild directory&lt;br /&gt;
*Linux / Mac: Run the following code:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make -j&amp;lt;NUMBEROFCORES&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Windows: Open Slicer4-SuperBuild\Slicer.sln  (or Slicer-4.0\Slicer4-SuperBuild\Slicer-build\Slicer.sln) in Visual Studio and build the ALL_BUILD project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{warning}}&lt;br /&gt;
# As it is indicated in Step2, if you make local changes in Slicer4, run make (or build the solution file in Visual Studio) in the directory Slicer4-Superuild/Slicer-build.&lt;br /&gt;
# If you would like to make local changes and debug your code in Debug mode in Visual Studio, use the Visual Studio Command Prompt to open the solution file in Slicer4-Superuild/Slicer-build:&lt;br /&gt;
#* Open Visual Studio Command Prompt&lt;br /&gt;
#* Go to the directory  Slicer4-Superuild/Slicer-build&lt;br /&gt;
#* Write Slicer.exe --VisualStudio Slicer.sln&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step4: Run Slicer4 ==&lt;br /&gt;
Run the launcher in Slicer4-SuperBuild/Slicer-build/Slicer (Slicer.exe on windows)&lt;br /&gt;
&lt;br /&gt;
==Platform Notes==&lt;br /&gt;
&lt;br /&gt;
* Linux Ubuntu: if you have odd rendering artifacts, try disabling visual effects (System/Appearance/Visual Effects)&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Developers/Build_Instructions&amp;diff=20450</id>
		<title>Documentation/4.0/Developers/Build Instructions</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Developers/Build_Instructions&amp;diff=20450"/>
		<updated>2011-07-24T04:36:20Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* STEP 0: Prerequisites */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Slicer4| Back to Slicer 4]]&lt;br /&gt;
&lt;br /&gt;
The goal of the Super-Build is to provide a cross-platform build system that allows developers to quickly install and configure the multiple packages.&lt;br /&gt;
&lt;br /&gt;
Where [[Slicer3:Build_Instructions|Slicer3's build system]] relied on a [[Slicer3:getbuildtest|custom build script called getbuildtest]], new features added to [http://www.cmake.org CMake], partly driven by slicer's requirements, allow porting of the scripts to rely more on native CMake functionality with the benefit that build script is more modular and general purpose.&lt;br /&gt;
&lt;br /&gt;
== STEP 0: Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
Please check that the following tools are installed on your machine.&lt;br /&gt;
&lt;br /&gt;
*Mac&lt;br /&gt;
** git version &amp;gt;= 1.6.5&lt;br /&gt;
*** [http://git-scm.com/download Download and install Git]&lt;br /&gt;
**[http://www.cmake.org/cmake/resources/software.html CMake] version &amp;gt;= 2.8.2&lt;br /&gt;
&lt;br /&gt;
* Linux prerequisites (''need to confirm'')&lt;br /&gt;
** Debian Squeeze user type: &amp;lt;code&amp;gt;sudo apt-get install gcc libX11-dev libXt-dev libgl1-mesa-dev libosmesa6-dev libglu1-mesa-dev git cmake cmake-curses-gui libqt4-dev subversion&amp;lt;/code&amp;gt;&lt;br /&gt;
** Ubuntu users, just type the following line in a terminal &amp;lt;code&amp;gt;sudo apt-get install gcc libX11-dev libXt-dev libgl1-mesa-dev libosmesa6-dev libglu1-mesa-dev git cmake cmake-curses-gui&amp;lt;/code&amp;gt;&lt;br /&gt;
** gcc&lt;br /&gt;
** gcc-c++&lt;br /&gt;
** libX11 &lt;br /&gt;
** libX11-devel (libX11-dev  on Ubuntu 7.04)&lt;br /&gt;
** libXt-devel (libXt-dev on Ubuntu)&lt;br /&gt;
** opengl/mesa (libgl1-mesa-dev on Ubuntu) (and libosmesa6-dev on Ubuntu)&lt;br /&gt;
** glu (libglu1-mesa-dev on Ubuntu)&lt;br /&gt;
** git version &amp;gt;= 1.6.5&lt;br /&gt;
*** [http://git-scm.com/download Download Git]&lt;br /&gt;
*** install git: &amp;lt;code&amp;gt;sudo apt-get install git&amp;lt;/code&amp;gt;. If &amp;lt;code&amp;gt;git --version&amp;lt;/code&amp;gt; is inferior to 1.6.5, then:&amp;lt;code&amp;gt;sudo dpkg --install git-core_1.6.5-1~bpo50+1_amd64.deb&amp;lt;/code&amp;gt;&lt;br /&gt;
**[http://www.cmake.org/cmake/resources/software.html CMake] version &amp;gt;= 2.8.2&lt;br /&gt;
&lt;br /&gt;
* Windows prerequisites&lt;br /&gt;
** IDE:&lt;br /&gt;
*** Prefered: Microsoft Visual Studio 2008 or 2010 (including [http://www.microsoft.com/express/Downloads/#2010-Visual-CPP Express Edition])&lt;br /&gt;
*** Cygwin suite&lt;br /&gt;
**[http://www.cmake.org/cmake/resources/software.html CMake] version &amp;gt;= 2.8.2&lt;br /&gt;
** SVN&lt;br /&gt;
** CVS&lt;br /&gt;
** git version &amp;gt;= 1.6.5. [http://code.google.com/p/msysgit/ msysgit] is recommended. Using [http://code.google.com/p/tortoisegit/ TortoiseGit] is a plus.&lt;br /&gt;
* '''All Platforms: Qt.'''{{note}} Use one of the links provided in the table below to download the source code or binary of Qt. If required, you can download the source code and compile Qt using the instructions in [[Slicer4:Build_Instructions_for_QT|Slicer4: Build Instructions for Qt]].&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; style=&amp;quot;margin-left: 20px;&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;#FFFFCC&amp;quot;&lt;br /&gt;
!rowspan=&amp;quot;3&amp;quot;|&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;2&amp;quot;|Linux&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Mac&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;2&amp;quot;|Windows&lt;br /&gt;
|- bgcolor=&amp;quot;#FFFFCC&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot;|Tiger&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot;|Leopard, SnowLeopard&lt;br /&gt;
|- bgcolor=&amp;quot;#FFFFCC&amp;quot;&lt;br /&gt;
!|32bits&lt;br /&gt;
!|64bits&lt;br /&gt;
!|32bits&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot;|64bits&lt;br /&gt;
!|32bits&lt;br /&gt;
!|64bits&lt;br /&gt;
|-&lt;br /&gt;
! bgcolor=&amp;quot;#FFFFCC&amp;quot; | [http://get.qt.nokia.com/qt/source/ Qt source link]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;4&amp;quot;| [http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.3.tar.gz 4.6.3]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;2&amp;quot;| [http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.3.zip 4.6.3 (vs2008)] &amp;lt;br /&amp;gt;[http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.3.zip 4.7.3 (vs2010)]&lt;br /&gt;
|-&lt;br /&gt;
! bgcolor=&amp;quot;#FFFFCC&amp;quot; | [http://get.qt.nokia.com/qt/source/  Qt binary link]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qtsdk/qt-sdk-linux-x86-opensource-2010.05.bin x86_2010.05]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qtsdk/qt-sdk-linux-x86_64-opensource-2010.05.bin x86_64_2010.05]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qt/source/qt-mac-carbon-opensource-4.7.0.dmg carbon_4.7.0]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qtsdk/qt-sdk-mac-opensource-2010.05.dmg cocoa_4.7.0] &lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qt/source/qt-win-opensource-4.6.3-vs2008.exe 4.6.3 (vs2008)] &amp;lt;br /&amp;gt;[http://get.qt.nokia.com/qt/source/qt-win-opensource-4.7.3-vs2008.exe 4.7.3 (vs2010)]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Step1: Checkout slicer source files using subversion  ==&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd MyProjects&lt;br /&gt;
svn co http://svn.slicer.org/Slicer4/trunk Slicer4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Step2: Configure and generate Slicer solution files ==&lt;br /&gt;
You can configure and generate Slicer solution files using either ccmake or cmake-gui. &lt;br /&gt;
*cmake-gui (Recommended): Configure using default options.&lt;br /&gt;
{{note}}&lt;br /&gt;
#If you downloaded the Qt binary then qmake will be detected and all paths will be set automatically.  &lt;br /&gt;
#If you built your own Qt (e.g. in Debug mode for use with the designer) set the QT_QMAKE_EXECUTABLE in cmake-gui.QT_QMAKE_EXECUTABLE should be set to the path of the qmake.exe file, which is inside the bin directory (for example, ./QT/qt-everywhere-opensource-src-4.7.3/bin/qmake.exe). &lt;br /&gt;
&lt;br /&gt;
*ccmake (for linux/mac): Configure using the following commands. For developers, set the '''CMAKE_BUILD_TYPE''' to '''Debug'''.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir Slicer4-SuperBuild&lt;br /&gt;
cd Slicer4-SuperBuild&lt;br /&gt;
ccmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/myself/qt-4.6.3/qt/bin/qmake ../Slicer4&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Two projects are generated by ccmake/cmake-gui. One of them is in the top-level bin directory Slicer4-Superbuild and the other one is in the subdirectory Slicer4-Superbuild/Slicer-build:&lt;br /&gt;
&lt;br /&gt;
#The first project in Slicer4-Superbuild manages all the external dependencies of Slicer (VTK, ITK, Python, ...). To build Slicer for the first time, run make (or build the solution file in Visual Studio) in Slicer4-Superbuild, which will update and build the external libraries and if successful will then build the subproject Slicer-build.&amp;lt;br&amp;gt;&lt;br /&gt;
#The second project in Slicer4-Superbuild/Slicer-build is the &amp;quot;traditional&amp;quot; build directory of Slicer.  After local changes in Slicer (or after an svn update on the source directory of Slicer), only running make (or building the solution file in Visual Studio) in Slicer4-Superuild/Slicer-build is necessary (the external libraries are considered built and up to date). &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{warning}}&lt;br /&gt;
#For Windows users:Windows doesn't support path longer than 260 characters, please make sure that the total path name of your Slicer-build directory is no longer than 75 characters ( for example &amp;quot;c:\work\Slicer\Slicer-Superbuild&amp;quot; (32 characters) is fine)&lt;br /&gt;
#Warning: a lot of space disk is necessary to compile Slicer (&amp;gt;10GB on Windows)&lt;br /&gt;
&lt;br /&gt;
== Step3: Build Slicer4 ==&lt;br /&gt;
After configuration, start the build process in the  Slicer4-SuperBuild directory&lt;br /&gt;
*Linux / Mac: Run the following code:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make -j&amp;lt;NUMBEROFCORES&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Windows: Open Slicer4-SuperBuild\Slicer.sln  (or Slicer-4.0\Slicer4-SuperBuild\Slicer-build\Slicer.sln) in Visual Studio and build the ALL_BUILD project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{warning}}&lt;br /&gt;
# As it is indicated in Step2, if you make local changes in Slicer4, run make (or build the solution file in Visual Studio) in the directory Slicer4-Superuild/Slicer-build.&lt;br /&gt;
# If you would like to make local changes and debug your code in Debug mode in Visual Studio, use the Visual Studio Command Prompt to open the solution file in Slicer4-Superuild/Slicer-build:&lt;br /&gt;
#* Open Visual Studio Command Prompt&lt;br /&gt;
#* Go to the directory  Slicer4-Superuild/Slicer-build&lt;br /&gt;
#* Write Slicer.exe --VisualStudio Slicer.sln&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step4: Run Slicer4 ==&lt;br /&gt;
Run the launcher in Slicer4-SuperBuild/Slicer-build/Slicer (Slicer.exe on windows)&lt;br /&gt;
&lt;br /&gt;
==Platform Notes==&lt;br /&gt;
&lt;br /&gt;
* Linux Ubuntu: if you have odd rendering artifacts, try disabling visual effects (System/Appearance/Visual Effects)&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Developers/Build_Instructions&amp;diff=20449</id>
		<title>Documentation/4.0/Developers/Build Instructions</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Developers/Build_Instructions&amp;diff=20449"/>
		<updated>2011-07-24T04:34:50Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* STEP 0: Prerequisites */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Slicer4| Back to Slicer 4]]&lt;br /&gt;
&lt;br /&gt;
The goal of the Super-Build is to provide a cross-platform build system that allows developers to quickly install and configure the multiple packages.&lt;br /&gt;
&lt;br /&gt;
Where [[Slicer3:Build_Instructions|Slicer3's build system]] relied on a [[Slicer3:getbuildtest|custom build script called getbuildtest]], new features added to [http://www.cmake.org CMake], partly driven by slicer's requirements, allow porting of the scripts to rely more on native CMake functionality with the benefit that build script is more modular and general purpose.&lt;br /&gt;
&lt;br /&gt;
== STEP 0: Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
Please check that the following tools are installed on your machine.&lt;br /&gt;
&lt;br /&gt;
*Mac&lt;br /&gt;
** git version &amp;gt;= 1.6.5&lt;br /&gt;
*** [http://git-scm.com/download Download and install Git]&lt;br /&gt;
**[http://www.cmake.org/cmake/resources/software.html CMake] version &amp;gt;= 2.8.2&lt;br /&gt;
&lt;br /&gt;
* Linux prerequisites (''need to confirm'')&lt;br /&gt;
** Ubuntu users, just type the following line in a terminal &amp;lt;code&amp;gt;sudo apt-get install gcc libX11-dev libXt-dev libgl1-mesa-dev libosmesa6-dev libglu1-mesa-dev git cmake cmake-curses-gui&amp;lt;/code&amp;gt;&lt;br /&gt;
** Debian Squeeze user type: &amp;lt;code&amp;gt;sudo apt-get install gcc libX11-dev libXt-dev libgl1-mesa-dev libosmesa6-dev libglu1-mesa-dev git cmake cmake-curses-gui libqt4-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
** gcc&lt;br /&gt;
** gcc-c++&lt;br /&gt;
** libX11 &lt;br /&gt;
** libX11-devel (libX11-dev  on Ubuntu 7.04)&lt;br /&gt;
** libXt-devel (libXt-dev on Ubuntu)&lt;br /&gt;
** opengl/mesa (libgl1-mesa-dev on Ubuntu) (and libosmesa6-dev on Ubuntu)&lt;br /&gt;
** glu (libglu1-mesa-dev on Ubuntu)&lt;br /&gt;
** git version &amp;gt;= 1.6.5&lt;br /&gt;
*** [http://git-scm.com/download Download Git]&lt;br /&gt;
*** install git: &amp;lt;code&amp;gt;sudo apt-get install git&amp;lt;/code&amp;gt;. If &amp;lt;code&amp;gt;git --version&amp;lt;/code&amp;gt; is inferior to 1.6.5, then:&amp;lt;code&amp;gt;sudo dpkg --install git-core_1.6.5-1~bpo50+1_amd64.deb&amp;lt;/code&amp;gt;&lt;br /&gt;
**[http://www.cmake.org/cmake/resources/software.html CMake] version &amp;gt;= 2.8.2&lt;br /&gt;
&lt;br /&gt;
* Windows prerequisites&lt;br /&gt;
** IDE:&lt;br /&gt;
*** Prefered: Microsoft Visual Studio 2008 or 2010 (including [http://www.microsoft.com/express/Downloads/#2010-Visual-CPP Express Edition])&lt;br /&gt;
*** Cygwin suite&lt;br /&gt;
**[http://www.cmake.org/cmake/resources/software.html CMake] version &amp;gt;= 2.8.2&lt;br /&gt;
** SVN&lt;br /&gt;
** CVS&lt;br /&gt;
** git version &amp;gt;= 1.6.5. [http://code.google.com/p/msysgit/ msysgit] is recommended. Using [http://code.google.com/p/tortoisegit/ TortoiseGit] is a plus.&lt;br /&gt;
* '''All Platforms: Qt.'''{{note}} Use one of the links provided in the table below to download the source code or binary of Qt. If required, you can download the source code and compile Qt using the instructions in [[Slicer4:Build_Instructions_for_QT|Slicer4: Build Instructions for Qt]].&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; style=&amp;quot;margin-left: 20px;&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;#FFFFCC&amp;quot;&lt;br /&gt;
!rowspan=&amp;quot;3&amp;quot;|&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;2&amp;quot;|Linux&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Mac&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;2&amp;quot;|Windows&lt;br /&gt;
|- bgcolor=&amp;quot;#FFFFCC&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot;|Tiger&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot;|Leopard, SnowLeopard&lt;br /&gt;
|- bgcolor=&amp;quot;#FFFFCC&amp;quot;&lt;br /&gt;
!|32bits&lt;br /&gt;
!|64bits&lt;br /&gt;
!|32bits&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot;|64bits&lt;br /&gt;
!|32bits&lt;br /&gt;
!|64bits&lt;br /&gt;
|-&lt;br /&gt;
! bgcolor=&amp;quot;#FFFFCC&amp;quot; | [http://get.qt.nokia.com/qt/source/ Qt source link]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;4&amp;quot;| [http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.3.tar.gz 4.6.3]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;2&amp;quot;| [http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.3.zip 4.6.3 (vs2008)] &amp;lt;br /&amp;gt;[http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.3.zip 4.7.3 (vs2010)]&lt;br /&gt;
|-&lt;br /&gt;
! bgcolor=&amp;quot;#FFFFCC&amp;quot; | [http://get.qt.nokia.com/qt/source/  Qt binary link]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qtsdk/qt-sdk-linux-x86-opensource-2010.05.bin x86_2010.05]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qtsdk/qt-sdk-linux-x86_64-opensource-2010.05.bin x86_64_2010.05]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qt/source/qt-mac-carbon-opensource-4.7.0.dmg carbon_4.7.0]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qtsdk/qt-sdk-mac-opensource-2010.05.dmg cocoa_4.7.0] &lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| [http://get.qt.nokia.com/qt/source/qt-win-opensource-4.6.3-vs2008.exe 4.6.3 (vs2008)] &amp;lt;br /&amp;gt;[http://get.qt.nokia.com/qt/source/qt-win-opensource-4.7.3-vs2008.exe 4.7.3 (vs2010)]&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;1&amp;quot;| -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Step1: Checkout slicer source files using subversion  ==&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd MyProjects&lt;br /&gt;
svn co http://svn.slicer.org/Slicer4/trunk Slicer4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Step2: Configure and generate Slicer solution files ==&lt;br /&gt;
You can configure and generate Slicer solution files using either ccmake or cmake-gui. &lt;br /&gt;
*cmake-gui (Recommended): Configure using default options.&lt;br /&gt;
{{note}}&lt;br /&gt;
#If you downloaded the Qt binary then qmake will be detected and all paths will be set automatically.  &lt;br /&gt;
#If you built your own Qt (e.g. in Debug mode for use with the designer) set the QT_QMAKE_EXECUTABLE in cmake-gui.QT_QMAKE_EXECUTABLE should be set to the path of the qmake.exe file, which is inside the bin directory (for example, ./QT/qt-everywhere-opensource-src-4.7.3/bin/qmake.exe). &lt;br /&gt;
&lt;br /&gt;
*ccmake (for linux/mac): Configure using the following commands. For developers, set the '''CMAKE_BUILD_TYPE''' to '''Debug'''.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir Slicer4-SuperBuild&lt;br /&gt;
cd Slicer4-SuperBuild&lt;br /&gt;
ccmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/myself/qt-4.6.3/qt/bin/qmake ../Slicer4&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Two projects are generated by ccmake/cmake-gui. One of them is in the top-level bin directory Slicer4-Superbuild and the other one is in the subdirectory Slicer4-Superbuild/Slicer-build:&lt;br /&gt;
&lt;br /&gt;
#The first project in Slicer4-Superbuild manages all the external dependencies of Slicer (VTK, ITK, Python, ...). To build Slicer for the first time, run make (or build the solution file in Visual Studio) in Slicer4-Superbuild, which will update and build the external libraries and if successful will then build the subproject Slicer-build.&amp;lt;br&amp;gt;&lt;br /&gt;
#The second project in Slicer4-Superbuild/Slicer-build is the &amp;quot;traditional&amp;quot; build directory of Slicer.  After local changes in Slicer (or after an svn update on the source directory of Slicer), only running make (or building the solution file in Visual Studio) in Slicer4-Superuild/Slicer-build is necessary (the external libraries are considered built and up to date). &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{warning}}&lt;br /&gt;
#For Windows users:Windows doesn't support path longer than 260 characters, please make sure that the total path name of your Slicer-build directory is no longer than 75 characters ( for example &amp;quot;c:\work\Slicer\Slicer-Superbuild&amp;quot; (32 characters) is fine)&lt;br /&gt;
#Warning: a lot of space disk is necessary to compile Slicer (&amp;gt;10GB on Windows)&lt;br /&gt;
&lt;br /&gt;
== Step3: Build Slicer4 ==&lt;br /&gt;
After configuration, start the build process in the  Slicer4-SuperBuild directory&lt;br /&gt;
*Linux / Mac: Run the following code:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make -j&amp;lt;NUMBEROFCORES&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Windows: Open Slicer4-SuperBuild\Slicer.sln  (or Slicer-4.0\Slicer4-SuperBuild\Slicer-build\Slicer.sln) in Visual Studio and build the ALL_BUILD project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{warning}}&lt;br /&gt;
# As it is indicated in Step2, if you make local changes in Slicer4, run make (or build the solution file in Visual Studio) in the directory Slicer4-Superuild/Slicer-build.&lt;br /&gt;
# If you would like to make local changes and debug your code in Debug mode in Visual Studio, use the Visual Studio Command Prompt to open the solution file in Slicer4-Superuild/Slicer-build:&lt;br /&gt;
#* Open Visual Studio Command Prompt&lt;br /&gt;
#* Go to the directory  Slicer4-Superuild/Slicer-build&lt;br /&gt;
#* Write Slicer.exe --VisualStudio Slicer.sln&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Step4: Run Slicer4 ==&lt;br /&gt;
Run the launcher in Slicer4-SuperBuild/Slicer-build/Slicer (Slicer.exe on windows)&lt;br /&gt;
&lt;br /&gt;
==Platform Notes==&lt;br /&gt;
&lt;br /&gt;
* Linux Ubuntu: if you have odd rendering artifacts, try disabling visual effects (System/Appearance/Visual Effects)&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Modules:AtlasCreator&amp;diff=20439</id>
		<title>Modules:AtlasCreator</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Modules:AtlasCreator&amp;diff=20439"/>
		<updated>2011-07-21T17:09:17Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* The Command Line Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Documentation-3.6|Return to Slicer 3.6 Documentation]]&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
===AtlasCreator===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|[[Image:ACguiStart.png|thumb|280px|Atlas Creator User Interface in '''simple mode''']]&lt;br /&gt;
|[[Image:ACexampleOutput.png|thumb|280px|Example of generated Atlases]]&lt;br /&gt;
|[[Image:ACcheckerboard.png|thumb|280px|Comparison of the alignment of two cases before and after Atlas Creation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== General Information ==&lt;br /&gt;
===Module Type &amp;amp; Category===&lt;br /&gt;
&lt;br /&gt;
Type: Built-in Loadable Module&lt;br /&gt;
&lt;br /&gt;
Category: Registration&lt;br /&gt;
&lt;br /&gt;
===Authors, Collaborators &amp;amp; Contact===&lt;br /&gt;
* Daniel Haehn, University of Pennsylvania&lt;br /&gt;
* Kilian Pohl, University of Pennsylvania&lt;br /&gt;
* Contact: Daniel Haehn (haehn@bwh.harvard.edu)&lt;br /&gt;
&lt;br /&gt;
===Module Description===&lt;br /&gt;
The '''Atlas Creator module''' aligns images paired with segmentations to '''generate statistical atlases''' for several segmented structures.&lt;br /&gt;
&lt;br /&gt;
'''Features''':&lt;br /&gt;
* Support for BRAINSFit/CMTK/Congeal toolkits for Registration and Resampling&lt;br /&gt;
* Fixed Registration against a template or Dynamic Registration against a mean image&lt;br /&gt;
* Normalization of output atlases to a given value&lt;br /&gt;
* auto-detection of Structures (labels)&lt;br /&gt;
* different Output Casts&lt;br /&gt;
* Principal Component Analysis&lt;br /&gt;
* Cluster Computation Mode&lt;br /&gt;
* using existing Transforms and skipping the Registration (f.e. to re-run a previous generation)&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
This module supports different usage types and interfaces:&lt;br /&gt;
# '''[[Modules:AtlasCreator#simple|Simple Atlas Creation (HowTo)]]'''&lt;br /&gt;
# [[Modules:AtlasCreator#extended|The extended graphical user interface]]&lt;br /&gt;
# [[Modules:AtlasCreator#cli|The command line interface]]&lt;br /&gt;
# [[Modules:AtlasCreator#mrml|External invocation using the Atlas Creator MRML Node]]&lt;br /&gt;
&lt;br /&gt;
===Use Cases, Examples===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=darkred&amp;gt;''' Input Data Requirements '''&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Atlas Creator expects input data to be structured the following way:&lt;br /&gt;
&lt;br /&gt;
* In general each original image is accompanied by a manual segmentation.&lt;br /&gt;
* The images and the segmentations have to be in two different folders but have matching filenames.&lt;br /&gt;
* All images and segmentations have to be in Slicer-readable format.&lt;br /&gt;
* For Example:&lt;br /&gt;
**./originals/case1.nrrd&lt;br /&gt;
**./originals/case2.nrrd&lt;br /&gt;
**./originals/case3.nrrd&lt;br /&gt;
**./segmentations/case1.nrrd&lt;br /&gt;
**./segmentations/case2.nrrd&lt;br /&gt;
**./segmentations/case3.nrrd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;simple&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
{| style=&amp;quot;color:darkblue; background-color:lightgrey;&amp;quot; cellpadding=&amp;quot;10&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|'''HowTo: Simple Atlas Creation'''&lt;br /&gt;
|-&lt;br /&gt;
|The following steps perform a Pair Fixed Registration against an automatic chosen template for automatically detected structures.&lt;br /&gt;
|-&lt;br /&gt;
|'''1.''' Select the directories containing the '''Original Images''' and the '''Segmentations''' in the Input/Output panel.&lt;br /&gt;
|-&lt;br /&gt;
|'''2.''' Select an '''Output Directory''' in the Input/Output panel. It makes sense to create a new directory to use for the Output.&lt;br /&gt;
|-&lt;br /&gt;
|'''3.''' Hit '''Start!'''&lt;br /&gt;
|-&lt;br /&gt;
|'''4.''' After some wait (minutes or hours!, depending on the number of input cases), the generated atlases and the used template will be loaded into 3D Slicer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Output Directory Structure'''&lt;br /&gt;
&lt;br /&gt;
The ''Output Directory'' contains the following content after the Atlas Creator finished.&lt;br /&gt;
&lt;br /&gt;
* '''./template.nrrd''' - The fixed or dynamic template&lt;br /&gt;
* '''./normalizedIntensityMapOfAligned.nrrd''' - An intensity map of all aligned cases, divided by the number of cases.&lt;br /&gt;
* '''./registered/''' - A directory containing the registered Original Images, if ''Delete Aligned Images'' is ''off''.&lt;br /&gt;
* '''./resampled/''' - A directory containing the resampled Segmentations used for the Atlas Creation, if ''Delete Aligned Segs.'' is ''off''.&lt;br /&gt;
* '''./transforms/''' - A directory containing the generated transforms as a result of the registration&lt;br /&gt;
* '''./atlasX.nrrd''' - Atlas for label X, if ''Activate PCA'' is ''off''.&lt;br /&gt;
* '''./atlasY.nrrd''' - Atlas for label Y, if ''Activate PCA'' is ''off''.&lt;br /&gt;
* '''./atlasZ.nrrd''' - Atlas for label Z, if ''Activate PCA'' is ''off''.&lt;br /&gt;
* '''./PCA/PCAX/''' - A directory containing generated PCA data for label X, if ''Activate PCA'' is ''on''.&lt;br /&gt;
* '''./PCA/PCAY/''' - A directory containing generated PCA data for label Y, if ''Activate PCA'' is ''on''.&lt;br /&gt;
* '''./PCA/PCAZ/''' - A directory containing generated PCA data for label Z, if ''Activate PCA'' is ''on''.&lt;br /&gt;
* ... more atlases depending on which structures were used&lt;br /&gt;
&lt;br /&gt;
===Quick Tour of Features and Use===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;extended&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===='''The Extended Graphical User Interface'''====&lt;br /&gt;
&lt;br /&gt;
[[Image:ACfullGui.png|thumb|360x360px|right|Atlas Creator User Interface in '''extended mode''']]&lt;br /&gt;
The Atlas Creator module is organized in panels from which only the ''Input/Output panel'' is expanded by default. Additional features are provided through an extended interface. This extended interface is divided into the ''Parameters'' panel and the ''Advanced'' panels which are collapsed by default.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Input/Output Panel'''&lt;br /&gt;
&lt;br /&gt;
The Input/Output panel reflects the required settings for any atlas creation, simple or extended. &lt;br /&gt;
&lt;br /&gt;
[[Image:ACinputoutput.png|360x360px|The '''Input/Output''' panel]]&lt;br /&gt;
* ''Original Images'': The folder containing the original images '''Required'''&lt;br /&gt;
* ''Segmentations'': The folder containing the segmentations '''Required'''&lt;br /&gt;
* ''Output directory'': The output folder - if it does not exist or is not empty, a new output folder with a similar name will be created '''Required'''&lt;br /&gt;
* ''Registration Type'': The type of alignment used during registration stage&lt;br /&gt;
** ''Pair Fixed'': Register all other cases against a fixed template. By default, the Atlas Creator chooses this template.&lt;br /&gt;
** ''Pair Online'': Register all cases against a mean image of all cases which will be generated automatically.&lt;br /&gt;
** ''Group Online'': Register all cases using the un-biased groupwise registration provided by the [[Modules:AtlasCreator:CongealingCLI|Congeal]] tool.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Parameters Panel'''&lt;br /&gt;
&lt;br /&gt;
[[Image:ACparameters.png|360x360px|The '''Parameters''' panel]]&lt;br /&gt;
* ''Toolkit'' for ''Pair Fixed'' and ''Pair Online'': By default ''BRAINSFit'' are used for registration and resampling. If the ''CMTK'' extensions are installed, it be used as an alternative. If ''CMTK'' was chosen but not installed, the Atlas Creator falls back to ''BRAINSFit''.&lt;br /&gt;
* ''Deformation'': Choose the deformation model for the registration stage.&lt;br /&gt;
** ''Affine'': Use linear transformations (faster, less flexible)&lt;br /&gt;
** ''Non-rigid'': Use non-rigid transformations on top of linear transformations (slower, more flexible)&lt;br /&gt;
* ''Alignment iterations'', for ''Pair Online'': The number of iterations for generating a mean image and registering against it in ''Pair Online'' mode.&lt;br /&gt;
* ''Default case'', for ''Pair Fixed'': The default case to use as the fixed template in ''Pair Fixed'' mode. This gets chosen automatically when selecting ''Original Images'' and ''Segmentations'' but can be modified for convenience.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Advanced Panels'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Cluster Configuration Panel'''&lt;br /&gt;
&lt;br /&gt;
The Atlas Creator supports distributing all computations among a Grid Environment. This includes using a scheduler to start all computation jobs (registration, resampling, computing mean images, combine to atlases). All submitted jobs will be monitored for completion and will be re-started up to 4 times on failure. The atlas creation will continue if the failure is not critical but will notify of all failures.&lt;br /&gt;
&lt;br /&gt;
[[Image:ACadvancedCluster.png|360x360px|The advanced '''Cluster Configuration''' panel]]&lt;br /&gt;
* ''Use Cluster'': If activated, all computation jobs will be submitted using the ''Scheduler Command''.&lt;br /&gt;
* ''Scheduler Command'': This command will be used to submit all jobs. For example, if the ''Scheduler Command'' is ''bsub &amp;lt; '', the computation jobs will be run as ''bsub &amp;lt; script1.sh'' instead of just running ''script1.sh''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Principal Component Analysis Panel'''&lt;br /&gt;
&lt;br /&gt;
Beside generating statistical atlases, the Atlas Creator module supports a Principal Component Analysis (PCA) to incorporate shape information.&lt;br /&gt;
&lt;br /&gt;
[[Image:ACadvancedPCA.png|360x360px|The advanced '''Principal Component Analysis''' panel]]&lt;br /&gt;
* ''Activate PCA'': Use Principal Component Analysis instead of statistical atlas generation.&lt;br /&gt;
* ''Max. Eigenvectors'': The maximal number of eigenvectors to analyze during the PCA computation. Should be equal to the number of input cases but can be restricted for convenience. The Atlas Creator will detect if the number exceeds the number of cases.&lt;br /&gt;
* ''Combine PCAs'': If activated, all structures (labels) will be defined in one PCA model instead of defining a PCA model for each structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Use Existing Transforms Panel'''&lt;br /&gt;
&lt;br /&gt;
It is possible to skip the registration stage and directly resample segmentations using existing transforms. This can be used to modify existing atlases.&lt;br /&gt;
&lt;br /&gt;
[[Image:ACadvancedUseExisting.png|360x360px|The advanced '''Use Existing Transforms''' panel]]&lt;br /&gt;
* ''Skip Registration'': If activated, the registration stage will be skipped and existing transforms are used for resampling the input segmentations.&lt;br /&gt;
* ''Transforms directory'': The directory containing existing transformations. In order to be valid, these transformations must have been generated by the same toolkit (CMTK or BRAINSFit) as configured now.&lt;br /&gt;
* ''Existing Template:'': The existing template which was used in the previous atlas generation (''template.nrrd'').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Misc. Panel'''&lt;br /&gt;
&lt;br /&gt;
Miscellaneous settings can be specified using this panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:ACadvancedMisc.png|360x360px|The advanced '''Misc.''' panel]]&lt;br /&gt;
* ''Labels'': The list of structures for which to generate the different atlases. Each structure has to be represented by a label number. By default, the Atlas Creator reads this list from the ''default case'' - if specified - or from the first segmentation automatically.&lt;br /&gt;
* ''Save Transforms'': If activated, the generated transforms of the registration stage will be saved. (Default setting)&lt;br /&gt;
* ''Normalize Atlases'': The generated statistical atlases can be normalized to a value range from 0..X where X is the ''Normalize to'' value.&lt;br /&gt;
* ''Normalize to'': If ''Normalize Atlases'' is activated, this value is the upper boundary of the range to which the atlases are normalized to. By default, this is 1.&lt;br /&gt;
* ''Output cast for Atlases'': The output cast for the generated atlases can be specified. Default is short.&lt;br /&gt;
* ''Delete aligned Images'': If activated, the aligned images will be deleted after atlas generation. If ''not'' activated, a sub-directory ''registered'' containing the aligned images will be available in the output directory.&lt;br /&gt;
* ''Delete aligned Segs.'': If activated, the aligned images will be deleted after atlas generation. If ''not'' activated, a sub-directory ''resampled'' containing the aligned segmentations will be available in the output directory.&lt;br /&gt;
* ''Debug Output'': This switch enables extra debug and verbose output during all computations.&lt;br /&gt;
* ''Dry-Run (Simulaton)'': If activated, no actual computation is performed and the atlas creation will be simulated. This might be helpful to test a long-run computation before actually performing it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;cli&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===='''The Command Line Interface'''====&lt;br /&gt;
&lt;br /&gt;
Beside using the graphical user interface in 3D Slicer, the Atlas Creator can be accessed using the '''commandline interface'''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd Slicer3-release/lib/Slicer3/Modules/AtlasCreator/&lt;br /&gt;
$ python atlascreator.py --help&lt;br /&gt;
AtlasCreator for 3D Slicer&lt;br /&gt;
Version v0.4&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
&lt;br /&gt;
-h, --help&lt;br /&gt;
        Show this information.&lt;br /&gt;
&lt;br /&gt;
-i, --images DIR&lt;br /&gt;
        Directory containing original images.&lt;br /&gt;
&lt;br /&gt;
-s, --segmentations DIR&lt;br /&gt;
        Directory containing segmentations.&lt;br /&gt;
&lt;br /&gt;
-o, --output DIR&lt;br /&gt;
        Output directory.&lt;br /&gt;
&lt;br /&gt;
[....]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The '''full documentation of the commandline interface''' is available on [[Modules:AtlasCreator:CLI|a separate page]].&lt;br /&gt;
&lt;br /&gt;
== Development ==&lt;br /&gt;
&lt;br /&gt;
===Notes from the Developer(s)===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id='mrml'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===='''External invocation using the Atlas Creator MRML Node'''====&lt;br /&gt;
&lt;br /&gt;
It is easy to include the Atlas Creator in third-party 3D Slicer modules (C++, Tcl and Python are supported) or run it via the Tcl or Python consoles. To do so, one has to configure the vtkMRMLAtlasCreatorNode and fire a launch event.&lt;br /&gt;
&lt;br /&gt;
The following example outlines the procedure by configuring a ''Pair fixed'' computation against a defaultCase (Python was chosen for this example):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
from Slicer import slicer&lt;br /&gt;
import os&lt;br /&gt;
&lt;br /&gt;
# we use the testdata which is shipped with the Atlas Creator&lt;br /&gt;
dataPath = os.path.normpath(slicer.Application.GetBinDir().. + '/../share/Slicer3/Modules/AtlasCreator/TestData/')&lt;br /&gt;
&lt;br /&gt;
# create a new Atlas Creator MRML Node&lt;br /&gt;
n = slicer.vtkMRMLAtlasCreatorNode()&lt;br /&gt;
&lt;br /&gt;
# Initialize with a default configuration&lt;br /&gt;
n.InitializeByDefault()&lt;br /&gt;
&lt;br /&gt;
# set the original images by specifying the absolute filepaths for all cases divided by space&lt;br /&gt;
n.SetOriginalImagesFilePathList(dataPath + '/originals/case60.nrrd ' + dataPath + '/originals/case61.nrrd ' + dataPath + '/originals/case62.nrrd')&lt;br /&gt;
# set the segmentations by specifying the absolute filepaths for all cases divided by space&lt;br /&gt;
n.SetSegmentationsFilePathList(dataPath + '/segmentations/case60.nrrd ' + dataPath + '/segmentations/case61.nrrd ' + dataPath + '/segmentations/case62.nrrd')&lt;br /&gt;
&lt;br /&gt;
# configure an output directory&lt;br /&gt;
n.SetOutputDirectory('/tmp/acout/')&lt;br /&gt;
&lt;br /&gt;
# set the default case&lt;br /&gt;
n.SetFixedTemplateDefaultCaseFilePath(dataPath + '/originals/case62.nrrd')&lt;br /&gt;
&lt;br /&gt;
# add the MRML node to the scene&lt;br /&gt;
slicer.MRMLScene.AddNode(n)&lt;br /&gt;
&lt;br /&gt;
# start the computation by firing the launch event&lt;br /&gt;
n.Launch()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Architecture of the Atlas Creator ====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|[[Image:AcFlowNew.png|thumb|280px|The '''computational steps''' of the Atlas Creator]]&lt;br /&gt;
|[[Image:AcComponentsNew.png|thumb|360px|'''Different Components''' work together in the Atlas Creator and create a very heterogeneous environment.]]&lt;br /&gt;
|[[Image:AtlasCreatorClassDiagramm.png|thumb|360px|The '''class diagram of the Python Scripted Module''' which is the central unit of the Atlas Creator.]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
At least BRAINSFit, CMTK or Congeal have to be installed. BRAINSFit is deployed via Slicer, VMTK and Congeal are available as Slicer extensions.&lt;br /&gt;
&lt;br /&gt;
===Tests===&lt;br /&gt;
&lt;br /&gt;
On the [http://www.cdash.org/CDash/index.php?project=Slicer3 Dashboard], these tests verify that the module is working on various platforms:&lt;br /&gt;
&lt;br /&gt;
* vtkMRMLAtlasCreatorNodeTest1 [http://viewvc.slicer.org/viewvc.cgi/Slicer3/trunk/Modules/AtlasCreator/Cxx/Testing/vtkMRMLAtlasCreatorNodeTest1.cxx?view=markup Modules/AtlasCreator/Cxx/Testing/vtkMRMLAtlasCreatorNodeTest1.cxx]&lt;br /&gt;
* AtlasCreatorLaunchFixedTest [http://viewvc.slicer.org/viewvc.cgi/Slicer3/trunk/Modules/AtlasCreator/Cxx/Testing/vtkMRMLAtlasCreatorNodeLaunchTest1.py?view=markup Modules/AtlasCreator/Cxx/Testing/vtkMRMLAtlasCreatorNodeLaunchTest1.py]&lt;br /&gt;
* AtlasCreatorLaunchFixedFailProofTest [http://viewvc.slicer.org/viewvc.cgi/Slicer3/trunk/Modules/AtlasCreator/Cxx/Testing/vtkMRMLAtlasCreatorNodeLaunchTest2.py?view=markup Modules/AtlasCreator/Cxx/Testing/vtkMRMLAtlasCreatorNodeLaunchTest2.py]&lt;br /&gt;
* AtlasCreatorLaunchDynamicTest [http://viewvc.slicer.org/viewvc.cgi/Slicer3/trunk/Modules/AtlasCreator/Cxx/Testing/vtkMRMLAtlasCreatorNodeLaunchTest3.py?view=markup Modules/AtlasCreator/Cxx/Testing/vtkMRMLAtlasCreatorNodeLaunchTest3.py]&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
The AtlasCreator is currently ''not'' supported on Windows machines.&lt;br /&gt;
&lt;br /&gt;
===Usability issues===&lt;br /&gt;
* Congeal support is still ''Under Construction''.&lt;br /&gt;
&lt;br /&gt;
===Source code &amp;amp; documentation===&lt;br /&gt;
&lt;br /&gt;
Source code:&lt;br /&gt;
*Available in the 3D Slicer Trunk: [http://viewvc.slicer.org/viewvc.cgi/Slicer3/trunk/Modules/AtlasCreator/ Modules/AtlasCreator] &lt;br /&gt;
 &lt;br /&gt;
Doxygen documentation:&lt;br /&gt;
* [http://www.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classAtlasCreator_1_1AtlasCreatorGUI_1_1AtlasCreatorGUI.html AtlasCreatorGUI]&lt;br /&gt;
* [http://www.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classAtlasCreator_1_1AtlasCreatorLogic_1_1AtlasCreatorLogic.html AtlasCreatorLogic]&lt;br /&gt;
* [http://www.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classAtlasCreator_1_1AtlasCreatorHelper_1_1AtlasCreatorHelper.html AtlasCreatorHelper]&lt;br /&gt;
* [http://www.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classvtkMRMLAtlasCreatorNode.html vtkMRMLAtlasCreatorNode]&lt;br /&gt;
&lt;br /&gt;
== More Information == &lt;br /&gt;
&lt;br /&gt;
''Please cite this work as:''&lt;br /&gt;
&lt;br /&gt;
L. Zöllei, M. Shenton, W.M. Wells III, K.M. Pohl. The Impact of Atlas Formation Methods on Atlas-Guided Brain Segmentation, Statistical Registration. In ''Pair-wise and Group-wise Alignment and Atlas Formation Workshop at MICCAI 2007: Tenth International Conference on Medical Image Computing and Computer-Assisted Intervention'', pp. 39 - 46, Brisbane, Australia, 2007&lt;br /&gt;
&lt;br /&gt;
===Acknowledgment===&lt;br /&gt;
The research was funded by an ARRA supplement to NIH NCRR (P41 RR13218).&lt;br /&gt;
&lt;br /&gt;
The Atlas Creator module benefits from several different Toolkits: Thank you for [[Modules:BRAINSFit|BRAINSTools]] (Hans Johnson et al.), for [[Modules:CMTK|CMTK]] (Torsten Rolfing et al.) and for  [[Modules:AtlasCreator:CongealingCLI|Congeal]] (J. De Bonet, L. Zöllei and W.M. Wells III).&lt;br /&gt;
&lt;br /&gt;
Thank you to Dominique Belhachemi and Steve Pieper for their support!&lt;br /&gt;
&lt;br /&gt;
===References===&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks:EMS_Spine&amp;diff=20325</id>
		<title>EMSegmenter-Tasks:EMS Spine</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks:EMS_Spine&amp;diff=20325"/>
		<updated>2011-06-23T21:19:40Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: Created page with 'Return to EMSegmenter Task Overview Page  =Description=  =Anatomical Tree=  * root ** BG ** Bone   =Atlas=  =Result=  =Collaborators=  =Acknowledgment=  =Ci…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[EMSegmenter-Tasks|Return to EMSegmenter Task Overview Page]]&lt;br /&gt;
&lt;br /&gt;
=Description=&lt;br /&gt;
&lt;br /&gt;
=Anatomical Tree=&lt;br /&gt;
&lt;br /&gt;
* root&lt;br /&gt;
** BG&lt;br /&gt;
** Bone&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Atlas=&lt;br /&gt;
&lt;br /&gt;
=Result=&lt;br /&gt;
&lt;br /&gt;
=Collaborators=&lt;br /&gt;
&lt;br /&gt;
=Acknowledgment=&lt;br /&gt;
&lt;br /&gt;
=Citations=&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks&amp;diff=20324</id>
		<title>EMSegmenter-Tasks</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks&amp;diff=20324"/>
		<updated>2011-06-23T21:17:25Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Tasks in development */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[EMSegmenter-Overview|Return to EMSegmenter Overview Page]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=What is a task?=&lt;br /&gt;
&lt;br /&gt;
Most clinicians are using the EMSegmenter to segment specific parts of the human body. Those segmentations depend heavily on&lt;br /&gt;
the used input data. The signal level in the input data varies with the used image modalities (e.g. MRI, CT, ...) and with each anatomical structure.&lt;br /&gt;
The EMSegmenter can take advantage of some knowledge about the signal level of those anatomical structures in the different image modalities.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Technically, each tasks consist of a .mrml file and a .tcl file.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The .mrml file stores the anatomical properties (mean values, covariance values) in a user defined tree structure.&amp;lt;br&amp;gt;&lt;br /&gt;
The .tcl script is used to perform some pre-processing on the input data.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Visit the following web page to create your own [[EMSegmenter-CreateTask| task]] or we can [[ EMSegmenter-UseCaseAdvertisement | help ]] you .&lt;br /&gt;
&lt;br /&gt;
=Segmentation Task Library=&lt;br /&gt;
==Existing Tasks in Slicer 3.6.3==&lt;br /&gt;
*[[Image:MRI-Human-Brain_BeforeAfter.png|250px]] '''Task 01: [[EMSegmenter-Tasks:MRI-Human-Brain|MRI Human Brain ''' for non-skull stripped T1 scans]]&lt;br /&gt;
*[[Image:MRIHumanBrainParcellation.png|250px]]  '''Task 02: [[EMSegmenter-Tasks:MRI-Human-Brain-Parcellation|MRI Human Brain Parcellation ''' for skull stripped T1 scans]]&lt;br /&gt;
*[[Image:NHP.png|250px]] '''Task 03: [[EMSegmenter-Tasks:Non-Human-Primate|Non-Human Primate ''' for skull stripped T1 scans]]&lt;br /&gt;
&lt;br /&gt;
==Tasks for Slicer 3.6.4==&lt;br /&gt;
* [[Image:EMS Result Hand subject2.png|250px]] '''Task 04: [[EMSegmenter-Tasks:CT-Hand-Bone|CT Hand Bone ''']]&lt;br /&gt;
* [[Image:MRIHumanBrainFullParcellation_before_after.png|250px]] '''Task 05: [[EMSegmenter-Tasks:MRI-Human-Brain-Full-Parcellation|MRI Human Brain Full Parcellation''' for non-skull stripped T1 scans]]&lt;br /&gt;
* [[Image:MRIHumanBrainHIPR beforeafter.png|250px]] '''Task 06: [[EMSegmenter-Tasks:MRI-Human-Brain-HIPR|MRI Human Brain with high in-plane resolution''' for non-skull stripped T1 scans]]&lt;br /&gt;
* [[Image:EMS_Hemisphere_before_after.png|250px]]'''Task 07: [[EMSegmenter-Tasks:MRI-Human-Brain-Hemisphere|MRI Human Brain Hemisphere''' for non-skull stripped T1 scans]]&lt;br /&gt;
&lt;br /&gt;
==Tasks in development==&lt;br /&gt;
* [[Image:EMS HumanEye Before After.png|250px]]'''Task 08: [[EMSegmenter-Tasks:Human-Eye|Human Eye''']]&lt;br /&gt;
* [[Image:EMS MRIHumanBrainExp Before After.png|250px]] '''Task 09: [[EMSegmenter-Tasks:MRI-Human-Brain-Experimental|MRI Human Brain Experimental''' with skull stripping]]&lt;br /&gt;
* [[Image:EMSegment-CardioA1-grey-small.jpg|125px]][[Image:EMSegment CardioA1small.jpg|125px]] '''Task 10: [[EMSegmenter-Tasks:cineMARI|cine MRI''' ]]&lt;br /&gt;
* [[Image:EMS LesionsExp BeforeAfter.png|250px]] '''Task 11: [[EMSegmenter-Tasks:LesionExp|White matter lesion segmentation''' ]]&lt;br /&gt;
* '''Task 12: [[EMSegmenter-Tasks:EMS_Spine|Bone segmentation''' ]]&lt;br /&gt;
&lt;br /&gt;
==External Command Lines (Under Development) ==&lt;br /&gt;
* [[Image:GLISTR Flair.png|125px]][[Image:GLISTR Seg.png|125px]]'''Task 12: [https://www.rad.upenn.edu/sbia/projects/glistr.html GLISTR: Automatic Glioma Segmentation'''] &amp;lt;BR&amp;gt; The software was developed and is distributed by SBIA. SBIA will soon release an interface for GLISTR to interact with Slicer&lt;br /&gt;
&lt;br /&gt;
=Additional Use Cases=&lt;br /&gt;
==Quantitative assessment using MPRAGE and Flair images==&lt;br /&gt;
* Collaborator: Tammie Benzinger , Washington University School of Medicine&lt;br /&gt;
* Short description: Quantitative assessment using MPRAGE and Flair images&lt;br /&gt;
* Image specification: Dimension: 256x256x160 , Spacing 1x1x1, T2 MPRAGE&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain-Experimental|'''MRI Human Brain Experimental''' (with skull stripping)]]&lt;br /&gt;
&amp;lt;gallery perrow=2: widths=200px : heights=200px&amp;gt;&lt;br /&gt;
Image:EMS_Quantitative_assessment_orig.png&lt;br /&gt;
Image:EMS_Quantitative_assessment.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Brain Atrophy in Aging Patients==&lt;br /&gt;
* Collaborator: David Tate, PI (Brigham and Women's Hospital), Daniel McCaffrey (Brigham and Women's Hospital), Alex Zaitsev (Brigham and Women's Hospital/Surgical Planning Laboratory) and Jewish Hospital&lt;br /&gt;
* Short description: Evaluate Brain Atrophy in aging subjects (NOTE: the segmentation was done for old scans from 90s. No other tools could segment CSF.)&lt;br /&gt;
* Image specification: NA Tesla, Scanner: NA, Psuedo T1, Axial Scans, TR/TI/TE=NA, pixel_xsize = 0.937500, pixel_ysize = 0.937500, fov = 240.000000, aspect = 0.000000, thick = 5.000000&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain|'''MRI Human Brain''']]&lt;br /&gt;
&amp;lt;gallery perrow=2: widths=200px : heights=200px&amp;gt;&lt;br /&gt;
Image:EMS_AgingStudy_DTate_Project_3-6-2.png&lt;br /&gt;
Image:EMS_AgingStudy_PseudoT1_OldMIRs_JewishHospEMS_manualTrain_60x.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Brain Atrophy in HIV Patients==&lt;br /&gt;
* Collaborator: David Tate, PI (Brigham and Women's Hospital), Troy Russel (Brigham and Women's Hospital), Alex Zaitsev (Brigham and Women's Hospital/Surgical Planning Laboratory) and National HIV Consortium&lt;br /&gt;
* Short description: Evaluate Brain Atrophy in HIV Patients&lt;br /&gt;
* Image specification: 3 Tesla, Scanner: NA, MPRAGE, Sagittal Scans, TR/TI/TE=NA, pixel_xsize = 0.9375, pixel_ysize = 0.9375, fov =  NA, aspect =  NA, space =  1.5&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain|'''MRI Human Brain''']]&lt;br /&gt;
&amp;lt;gallery perrow=2: widths=425px : heights=200px&amp;gt;&lt;br /&gt;
Image:EMS_HIVStudy_Segmentation.png&lt;br /&gt;
Image:EMS_HIVStudy_Segmentation_Auto.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Pediatric MS Study==&lt;br /&gt;
* Collaborator: Tanuja Chitnis PI (Brigham and Women's Hospital/Multiple Sclerosis Center), Alexander Zaitsev (Brigham and Women's Hospital/Surgical Planning Laboratory) and Massachusetts General Hospital &lt;br /&gt;
* Short description: Evaluate brain atrophy for pediatric MS Patients&lt;br /&gt;
* Image specification: 3 Tesla, Scanner: SIGNA HDx / GE MEDICAL SYSTEMS, 3D MPRAGE, Sagital Scans, TR/TI/TE=24/0/7 ms, pixel_xsize = 0.976600, pixel_ysize = 0.976600, fov =  250.009598, aspect =  1.535941, thick =  1.500000, space =  0.000000&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain|'''MRI Human Brain''']]&lt;br /&gt;
&amp;lt;gallery perrow=1: widths=630px : heights=210px&amp;gt;&lt;br /&gt;
Image:EMS_PED_MS_Study_Segmentation.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Social Cognition Study==&lt;br /&gt;
* Collaborator: Collaborator: Andrea Mike, MD (Pecs University, Hungary), Charles Guttmann, MD, Alexander Zaitsev (Brigham and Women's Hospital)&lt;br /&gt;
* Short description: Evaluate brain atrophy for elderly MS patients.&lt;br /&gt;
* Number of processed cases: 50 &lt;br /&gt;
* Image specification: 3 Tesla, Scanner: Magnetom TIM Trio, Siemens, 3D MPRAGE, Slice thickness: 1.2mm, Spacing 1.2 1 1 (mm)&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain|'''MRI Human Brain''']]&lt;br /&gt;
&amp;lt;gallery perrow=1: widths=630px : heights=200px&amp;gt;&lt;br /&gt;
Image:EMS_SocialCognitionLESIONS_MANUALLY_SEGMENTED_PECS_S006_Seg.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Physiological Brain Activity Longitudinal Study==&lt;br /&gt;
* Collaborator: Laura Horky PI (Brigham and Women's Hospital(BWH)), Jon Hainer (BWH), Wendy Plesniak (BWH), Alexander Zaitsev (BWH), Ron Kikinis (BWH) and BWH Division of Nuclear Medicine&lt;br /&gt;
* Short description: Evaluate glycolitical brain activity in CSF and White Matter for the patients undergoing chemical therapy courses.&lt;br /&gt;
* Image specification: 1.5 Tesla ,Scanner: SIGNA EXCITE / GE MEDICAL SYSTEMS, T1, Axial Scans, TR/TI/TE=500/0/21 ms, pixel_xsize = 0.781251, pixel_ysize = 0.781244, fov =  0.000000, aspect =  7.679990, thick =  5.000000, space =  1.000000&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain-Hemisphere|'''MRI Human Brain Hemisphere''']]&lt;br /&gt;
&amp;lt;gallery perrow=3: widths=250px  : heights=200px&amp;gt;&lt;br /&gt;
Image:EmSegment PETCT 1.png&lt;br /&gt;
Image:EmSegment PETCT 2.png&lt;br /&gt;
Image:EmSegment PETCT 3.png | Result on test data&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery perrow=3: widths=250px  : heights=200px&amp;gt;&lt;br /&gt;
Image:EMSegment PETCT Physiology-1.png &lt;br /&gt;
Image:EMSegment PETCT Physiology-2.png&lt;br /&gt;
Image:EMSegment PETCT Physiology-3.png | Result on patient data&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks:LesionExp&amp;diff=20298</id>
		<title>EMSegmenter-Tasks:LesionExp</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks:LesionExp&amp;diff=20298"/>
		<updated>2011-06-18T23:23:28Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Result */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[EMSegmenter-Tasks|Return to EMSegmenter Task Overview Page]]&lt;br /&gt;
&lt;br /&gt;
=Description=&lt;br /&gt;
Two channel automatic segmentation of T1 and FLAIR MRI brain scans into the major tissue classes (gray matter, white matter, csf). The pipeline consist of the following steps:&lt;br /&gt;
* Step 1: Perform image inhomogeneity correction of the MRI scan via [http://www.slicer.org/slicerWiki/index.php/Modules:N4ITKBiasFieldCorrection-Documentation-3.6 N4ITKBiasFieldCorrection] (Tustison et al 2010)&lt;br /&gt;
* Step 2: Register the atlas to the T1 MRI scan via [[Modules:BRAINSFit| BRAINSFit]] (Johnson et al 2007)&lt;br /&gt;
* Step 3: Compute the intensity distributions for each structure &amp;lt;BR&amp;gt;&lt;br /&gt;
Compute intensity distribution (mean and variance) for each label by automatically sampling from the MR scan. The sampling for a specific label is constrained to the region that consists of voxels with high probability (top 95%) of being assigned to the label according to the aligned atlas.&lt;br /&gt;
* Step 4: Assign T1 GM intensity distribution to T1 Lesion intensity distribution&lt;br /&gt;
* Step 5: Automatically segment the MRI scan into the structures of interest using [[Modules:EMSegmenter-3.6|EM Algorithm]]  (Pohl et al 2007)&lt;br /&gt;
&lt;br /&gt;
=Anatomical Tree=&lt;br /&gt;
&lt;br /&gt;
* root&lt;br /&gt;
** background (BG)&lt;br /&gt;
** intracranial cavity (ICC)&lt;br /&gt;
*** white matter (WM)&lt;br /&gt;
*** grey matter (GM)&lt;br /&gt;
*** cerebrospinal fluid (CSF)&lt;br /&gt;
*** Lesion&lt;br /&gt;
&lt;br /&gt;
=Atlas=&lt;br /&gt;
Atlas was generated based on 82 scans and corresponding segmentations provided by [http://pnl.bwh.harvard.edu/ Psychiatry Neuroimaging Laboratory, BWH]. We registered the scans to a preselected template via Warfield et al. 2001. &amp;lt;BR&amp;gt; &lt;br /&gt;
Image Dimension = 256 x 256 x 124 &amp;lt;br&amp;gt;&lt;br /&gt;
Image Spacing   = 0.9375 x 0.9375 x 1.5 &amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:EMSegmenter_MRI-Human-Brain_Template_420x420.png|210px]]&lt;br /&gt;
| [[Image:EMSegmenter_MRI-Human-Brain_CSF_420x420.png|210px]]&lt;br /&gt;
| [[Image:EMSegmenter_MRI-Human-Brain_GM_420x420.png|210px]]&lt;br /&gt;
| [[Image:EMSegmenter_MRI-Human-Brain_WM_420x420.png|210px]]&lt;br /&gt;
|-&lt;br /&gt;
| Template (T1)&lt;br /&gt;
| CSF&lt;br /&gt;
| GM&lt;br /&gt;
| WM&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Result=&lt;br /&gt;
&amp;lt;gallery perrow=1: widths=1000px : heights=300px&amp;gt;&lt;br /&gt;
Image:EMS LesionExp T1.png&lt;br /&gt;
Image:EMS LesionExp FLAIR.png&lt;br /&gt;
Image:EMS LesionExp Segmentation.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Acknowledgment=&lt;br /&gt;
The construction of the pipeline was supported by funding from NIH NCRR 2P41RR013218 Supplement.&lt;br /&gt;
&lt;br /&gt;
=Citations=&lt;br /&gt;
* Tustison NJ, Avants BB, Cook PA, Zheng Y, Egan A, Yushkevich PA, Gee JC N4ITK: Improved N3 Bias Correction, IEEE Trans Med Imag, 2010&lt;br /&gt;
* Pohl K, Bouix S, Nakamura M, Rohlfing T, McCarley R, Kikinis R, Grimson W, Shenton M, Wells W. [http://www.slicer.org/pages/Special:PubDB_View?dspaceid=608 A Hierarchical Algorithm for MR Brain Image Parcellation.] IEEE Transactions on Medical Imaging. 2007 Sept;26(9):1201-1212.&lt;br /&gt;
* S. Warfield, J. Rexilius, P. Huppi, T. Inder, E. Miller, W. Wells, G. Zientara, F. Jolesz, and R. Kikinis, “A binary entropy measure to assess nonrigid registration algorithms,” in MICCAI, LNCS, pp. 266–274, Springer, October 2001.&lt;br /&gt;
* Johnson H.J., Harris G., Williams K. [http://hdl.handle.net/1926/1291 BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit], The Insight Journal, July 2007&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=File:EMS_LesionExp_FLAIR.png&amp;diff=20297</id>
		<title>File:EMS LesionExp FLAIR.png</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=File:EMS_LesionExp_FLAIR.png&amp;diff=20297"/>
		<updated>2011-06-18T23:21:16Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=File:EMS_LesionExp_T1.png&amp;diff=20296</id>
		<title>File:EMS LesionExp T1.png</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=File:EMS_LesionExp_T1.png&amp;diff=20296"/>
		<updated>2011-06-18T23:21:07Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks:LesionExp&amp;diff=20295</id>
		<title>EMSegmenter-Tasks:LesionExp</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks:LesionExp&amp;diff=20295"/>
		<updated>2011-06-18T23:20:50Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Result */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[EMSegmenter-Tasks|Return to EMSegmenter Task Overview Page]]&lt;br /&gt;
&lt;br /&gt;
=Description=&lt;br /&gt;
Two channel automatic segmentation of T1 and FLAIR MRI brain scans into the major tissue classes (gray matter, white matter, csf). The pipeline consist of the following steps:&lt;br /&gt;
* Step 1: Perform image inhomogeneity correction of the MRI scan via [http://www.slicer.org/slicerWiki/index.php/Modules:N4ITKBiasFieldCorrection-Documentation-3.6 N4ITKBiasFieldCorrection] (Tustison et al 2010)&lt;br /&gt;
* Step 2: Register the atlas to the T1 MRI scan via [[Modules:BRAINSFit| BRAINSFit]] (Johnson et al 2007)&lt;br /&gt;
* Step 3: Compute the intensity distributions for each structure &amp;lt;BR&amp;gt;&lt;br /&gt;
Compute intensity distribution (mean and variance) for each label by automatically sampling from the MR scan. The sampling for a specific label is constrained to the region that consists of voxels with high probability (top 95%) of being assigned to the label according to the aligned atlas.&lt;br /&gt;
* Step 4: Assign T1 GM intensity distribution to T1 Lesion intensity distribution&lt;br /&gt;
* Step 5: Automatically segment the MRI scan into the structures of interest using [[Modules:EMSegmenter-3.6|EM Algorithm]]  (Pohl et al 2007)&lt;br /&gt;
&lt;br /&gt;
=Anatomical Tree=&lt;br /&gt;
&lt;br /&gt;
* root&lt;br /&gt;
** background (BG)&lt;br /&gt;
** intracranial cavity (ICC)&lt;br /&gt;
*** white matter (WM)&lt;br /&gt;
*** grey matter (GM)&lt;br /&gt;
*** cerebrospinal fluid (CSF)&lt;br /&gt;
*** Lesion&lt;br /&gt;
&lt;br /&gt;
=Atlas=&lt;br /&gt;
Atlas was generated based on 82 scans and corresponding segmentations provided by [http://pnl.bwh.harvard.edu/ Psychiatry Neuroimaging Laboratory, BWH]. We registered the scans to a preselected template via Warfield et al. 2001. &amp;lt;BR&amp;gt; &lt;br /&gt;
Image Dimension = 256 x 256 x 124 &amp;lt;br&amp;gt;&lt;br /&gt;
Image Spacing   = 0.9375 x 0.9375 x 1.5 &amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:EMSegmenter_MRI-Human-Brain_Template_420x420.png|210px]]&lt;br /&gt;
| [[Image:EMSegmenter_MRI-Human-Brain_CSF_420x420.png|210px]]&lt;br /&gt;
| [[Image:EMSegmenter_MRI-Human-Brain_GM_420x420.png|210px]]&lt;br /&gt;
| [[Image:EMSegmenter_MRI-Human-Brain_WM_420x420.png|210px]]&lt;br /&gt;
|-&lt;br /&gt;
| Template (T1)&lt;br /&gt;
| CSF&lt;br /&gt;
| GM&lt;br /&gt;
| WM&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Result=&lt;br /&gt;
&amp;lt;gallery perrow=1: widths=630px : heights=210px&amp;gt;&lt;br /&gt;
Image:EMS LesionExp T1.png&lt;br /&gt;
Image:EMS LesionExp FLAIR.png&lt;br /&gt;
Image:EMS LesionExp Segmentation.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Acknowledgment=&lt;br /&gt;
The construction of the pipeline was supported by funding from NIH NCRR 2P41RR013218 Supplement.&lt;br /&gt;
&lt;br /&gt;
=Citations=&lt;br /&gt;
* Tustison NJ, Avants BB, Cook PA, Zheng Y, Egan A, Yushkevich PA, Gee JC N4ITK: Improved N3 Bias Correction, IEEE Trans Med Imag, 2010&lt;br /&gt;
* Pohl K, Bouix S, Nakamura M, Rohlfing T, McCarley R, Kikinis R, Grimson W, Shenton M, Wells W. [http://www.slicer.org/pages/Special:PubDB_View?dspaceid=608 A Hierarchical Algorithm for MR Brain Image Parcellation.] IEEE Transactions on Medical Imaging. 2007 Sept;26(9):1201-1212.&lt;br /&gt;
* S. Warfield, J. Rexilius, P. Huppi, T. Inder, E. Miller, W. Wells, G. Zientara, F. Jolesz, and R. Kikinis, “A binary entropy measure to assess nonrigid registration algorithms,” in MICCAI, LNCS, pp. 266–274, Springer, October 2001.&lt;br /&gt;
* Johnson H.J., Harris G., Williams K. [http://hdl.handle.net/1926/1291 BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit], The Insight Journal, July 2007&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=File:EMS_LesionExp_Segmentation.png&amp;diff=20294</id>
		<title>File:EMS LesionExp Segmentation.png</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=File:EMS_LesionExp_Segmentation.png&amp;diff=20294"/>
		<updated>2011-06-18T23:19:38Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks&amp;diff=20293</id>
		<title>EMSegmenter-Tasks</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks&amp;diff=20293"/>
		<updated>2011-06-18T23:19:10Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Tasks in development */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[EMSegmenter-Overview|Return to EMSegmenter Overview Page]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=What is a task?=&lt;br /&gt;
&lt;br /&gt;
Most clinicians are using the EMSegmenter to segment specific parts of the human body. Those segmentations depend heavily on&lt;br /&gt;
the used input data. The signal level in the input data varies with the used image modalities (e.g. MRI, CT, ...) and with each anatomical structure.&lt;br /&gt;
The EMSegmenter can take advantage of some knowledge about the signal level of those anatomical structures in the different image modalities.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Technically, each tasks consist of a .mrml file and a .tcl file.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The .mrml file stores the anatomical properties (mean values, covariance values) in a user defined tree structure.&amp;lt;br&amp;gt;&lt;br /&gt;
The .tcl script is used to perform some pre-processing on the input data.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Visit the following web page to create your own [[EMSegmenter-CreateTask| task]] or we can [[ EMSegmenter-UseCaseAdvertisement | help ]] you .&lt;br /&gt;
&lt;br /&gt;
=Segmentation Task Library=&lt;br /&gt;
==Existing Tasks in Slicer 3.6.3==&lt;br /&gt;
*[[Image:MRI-Human-Brain_BeforeAfter.png|250px]] '''Task 01: [[EMSegmenter-Tasks:MRI-Human-Brain|MRI Human Brain ''' for non-skull stripped T1 scans]]&lt;br /&gt;
*[[Image:MRIHumanBrainParcellation.png|250px]]  '''Task 02: [[EMSegmenter-Tasks:MRI-Human-Brain-Parcellation|MRI Human Brain Parcellation ''' for skull stripped T1 scans]]&lt;br /&gt;
*[[Image:NHP.png|250px]] '''Task 03: [[EMSegmenter-Tasks:Non-Human-Primate|Non-Human Primate ''' for skull stripped T1 scans]]&lt;br /&gt;
&lt;br /&gt;
==Tasks for Slicer 3.6.4==&lt;br /&gt;
* [[Image:EMS Result Hand subject2.png|250px]] '''Task 04: [[EMSegmenter-Tasks:CT-Hand-Bone|CT Hand Bone ''']]&lt;br /&gt;
* [[Image:MRIHumanBrainFullParcellation_before_after.png|250px]] '''Task 05: [[EMSegmenter-Tasks:MRI-Human-Brain-Full-Parcellation|MRI Human Brain Full Parcellation''' for non-skull stripped T1 scans]]&lt;br /&gt;
* [[Image:MRIHumanBrainHIPR beforeafter.png|250px]] '''Task 06: [[EMSegmenter-Tasks:MRI-Human-Brain-HIPR|MRI Human Brain with high in-plane resolution''' for non-skull stripped T1 scans]]&lt;br /&gt;
* [[Image:EMS_Hemisphere_before_after.png|250px]]'''Task 07: [[EMSegmenter-Tasks:MRI-Human-Brain-Hemisphere|MRI Human Brain Hemisphere''' for non-skull stripped T1 scans]]&lt;br /&gt;
&lt;br /&gt;
==Tasks in development==&lt;br /&gt;
* [[Image:EMS HumanEye Before After.png|250px]]'''Task 08: [[EMSegmenter-Tasks:Human-Eye|Human Eye''']]&lt;br /&gt;
* [[Image:EMS MRIHumanBrainExp Before After.png|250px]] '''Task 09: [[EMSegmenter-Tasks:MRI-Human-Brain-Experimental|MRI Human Brain Experimental''' with skull stripping]]&lt;br /&gt;
* [[Image:EMSegment-CardioA1-grey-small.jpg|125px]][[Image:EMSegment CardioA1small.jpg|125px]] '''Task 10: [[EMSegmenter-Tasks:cineMARI|cine MRI''' ]]&lt;br /&gt;
* [[Image:EMS LesionsExp BeforeAfter.png|250px]] '''Task 11: [[EMSegmenter-Tasks:LesionExp|White matter lesion segmentation''' ]]&lt;br /&gt;
File:&lt;br /&gt;
&lt;br /&gt;
==External Command Lines (Under Development) ==&lt;br /&gt;
* [[Image:GLISTR Flair.png|125px]][[Image:GLISTR Seg.png|125px]]'''Task 12: [https://www.rad.upenn.edu/sbia/projects/glistr.html GLISTR: Automatic Glioma Segmentation''']&lt;br /&gt;
&lt;br /&gt;
=Additional Use Cases=&lt;br /&gt;
==Quantitative assessment using MPRAGE and Flair images==&lt;br /&gt;
* Collaborator: Tammie Benzinger , Washington University School of Medicine&lt;br /&gt;
* Short description: Quantitative assessment using MPRAGE and Flair images&lt;br /&gt;
* Image specification: Dimension: 256x256x160 , Spacing 1x1x1, T2 MPRAGE&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain-Experimental|'''MRI Human Brain Experimental''' (with skull stripping)]]&lt;br /&gt;
&amp;lt;gallery perrow=2: widths=200px : heights=200px&amp;gt;&lt;br /&gt;
Image:EMS_Quantitative_assessment_orig.png&lt;br /&gt;
Image:EMS_Quantitative_assessment.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Brain Atrophy in Aging Patients==&lt;br /&gt;
* Collaborator: David Tate, PI (Brigham and Women's Hospital), Daniel McCaffrey (Brigham and Women's Hospital), Alex Zaitsev (Brigham and Women's Hospital/Surgical Planning Laboratory) and Jewish Hospital&lt;br /&gt;
* Short description: Evaluate Brain Atrophy in aging subjects (NOTE: the segmentation was done for old scans from 90s. No other tools could segment CSF.)&lt;br /&gt;
* Image specification: NA Tesla, Scanner: NA, Psuedo T1, Axial Scans, TR/TI/TE=NA, pixel_xsize = 0.937500, pixel_ysize = 0.937500, fov = 240.000000, aspect = 0.000000, thick = 5.000000&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain|'''MRI Human Brain''']]&lt;br /&gt;
&amp;lt;gallery perrow=2: widths=200px : heights=200px&amp;gt;&lt;br /&gt;
Image:EMS_AgingStudy_DTate_Project_3-6-2.png&lt;br /&gt;
Image:EMS_AgingStudy_PseudoT1_OldMIRs_JewishHospEMS_manualTrain_60x.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Brain Atrophy in HIV Patients==&lt;br /&gt;
* Collaborator: David Tate, PI (Brigham and Women's Hospital), Troy Russel (Brigham and Women's Hospital), Alex Zaitsev (Brigham and Women's Hospital/Surgical Planning Laboratory) and National HIV Consortium&lt;br /&gt;
* Short description: Evaluate Brain Atrophy in HIV Patients&lt;br /&gt;
* Image specification: 3 Tesla, Scanner: NA, MPRAGE, Sagittal Scans, TR/TI/TE=NA, pixel_xsize = 0.9375, pixel_ysize = 0.9375, fov =  NA, aspect =  NA, space =  1.5&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain|'''MRI Human Brain''']]&lt;br /&gt;
&amp;lt;gallery perrow=2: widths=425px : heights=200px&amp;gt;&lt;br /&gt;
Image:EMS_HIVStudy_Segmentation.png&lt;br /&gt;
Image:EMS_HIVStudy_Segmentation_Auto.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Pediatric MS Study==&lt;br /&gt;
* Collaborator: Tanuja Chitnis PI (Brigham and Women's Hospital/Multiple Sclerosis Center), Alexander Zaitsev (Brigham and Women's Hospital/Surgical Planning Laboratory) and Massachusetts General Hospital &lt;br /&gt;
* Short description: Evaluate brain atrophy for pediatric MS Patients&lt;br /&gt;
* Image specification: 3 Tesla, Scanner: SIGNA HDx / GE MEDICAL SYSTEMS, 3D MPRAGE, Sagital Scans, TR/TI/TE=24/0/7 ms, pixel_xsize = 0.976600, pixel_ysize = 0.976600, fov =  250.009598, aspect =  1.535941, thick =  1.500000, space =  0.000000&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain|'''MRI Human Brain''']]&lt;br /&gt;
&amp;lt;gallery perrow=1: widths=630px : heights=210px&amp;gt;&lt;br /&gt;
Image:EMS_PED_MS_Study_Segmentation.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Social Cognition Study==&lt;br /&gt;
* Collaborator: Collaborator: Andrea Mike, MD (Pecs University, Hungary), Charles Guttmann, MD, Alexander Zaitsev (Brigham and Women's Hospital)&lt;br /&gt;
* Short description: Evaluate brain atrophy for elderly MS patients.&lt;br /&gt;
* Number of processed cases: 50 &lt;br /&gt;
* Image specification: 3 Tesla, Scanner: Magnetom TIM Trio, Siemens, 3D MPRAGE, Slice thickness: 1.2mm, Spacing 1.2 1 1 (mm)&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain|'''MRI Human Brain''']]&lt;br /&gt;
&amp;lt;gallery perrow=1: widths=630px : heights=200px&amp;gt;&lt;br /&gt;
Image:EMS_SocialCognitionLESIONS_MANUALLY_SEGMENTED_PECS_S006_Seg.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Physiological Brain Activity Longitudinal Study==&lt;br /&gt;
* Collaborator: Laura Horky PI (Brigham and Women's Hospital(BWH)), Jon Hainer (BWH), Wendy Plesniak (BWH), Alexander Zaitsev (BWH), Ron Kikinis (BWH) and BWH Division of Nuclear Medicine&lt;br /&gt;
* Short description: Evaluate glycolitical brain activity in CSF and White Matter for the patients undergoing chemical therapy courses.&lt;br /&gt;
* Image specification: 1.5 Tesla ,Scanner: SIGNA EXCITE / GE MEDICAL SYSTEMS, T1, Axial Scans, TR/TI/TE=500/0/21 ms, pixel_xsize = 0.781251, pixel_ysize = 0.781244, fov =  0.000000, aspect =  7.679990, thick =  5.000000, space =  1.000000&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain-Hemisphere|'''MRI Human Brain Hemisphere''']]&lt;br /&gt;
&amp;lt;gallery perrow=3: widths=250px  : heights=200px&amp;gt;&lt;br /&gt;
Image:EmSegment PETCT 1.png&lt;br /&gt;
Image:EmSegment PETCT 2.png&lt;br /&gt;
Image:EmSegment PETCT 3.png | Result on test data&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery perrow=3: widths=250px  : heights=200px&amp;gt;&lt;br /&gt;
Image:EMSegment PETCT Physiology-1.png &lt;br /&gt;
Image:EMSegment PETCT Physiology-2.png&lt;br /&gt;
Image:EMSegment PETCT Physiology-3.png | Result on patient data&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks&amp;diff=20292</id>
		<title>EMSegmenter-Tasks</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks&amp;diff=20292"/>
		<updated>2011-06-18T23:18:32Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Tasks in development */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[EMSegmenter-Overview|Return to EMSegmenter Overview Page]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=What is a task?=&lt;br /&gt;
&lt;br /&gt;
Most clinicians are using the EMSegmenter to segment specific parts of the human body. Those segmentations depend heavily on&lt;br /&gt;
the used input data. The signal level in the input data varies with the used image modalities (e.g. MRI, CT, ...) and with each anatomical structure.&lt;br /&gt;
The EMSegmenter can take advantage of some knowledge about the signal level of those anatomical structures in the different image modalities.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Technically, each tasks consist of a .mrml file and a .tcl file.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The .mrml file stores the anatomical properties (mean values, covariance values) in a user defined tree structure.&amp;lt;br&amp;gt;&lt;br /&gt;
The .tcl script is used to perform some pre-processing on the input data.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Visit the following web page to create your own [[EMSegmenter-CreateTask| task]] or we can [[ EMSegmenter-UseCaseAdvertisement | help ]] you .&lt;br /&gt;
&lt;br /&gt;
=Segmentation Task Library=&lt;br /&gt;
==Existing Tasks in Slicer 3.6.3==&lt;br /&gt;
*[[Image:MRI-Human-Brain_BeforeAfter.png|250px]] '''Task 01: [[EMSegmenter-Tasks:MRI-Human-Brain|MRI Human Brain ''' for non-skull stripped T1 scans]]&lt;br /&gt;
*[[Image:MRIHumanBrainParcellation.png|250px]]  '''Task 02: [[EMSegmenter-Tasks:MRI-Human-Brain-Parcellation|MRI Human Brain Parcellation ''' for skull stripped T1 scans]]&lt;br /&gt;
*[[Image:NHP.png|250px]] '''Task 03: [[EMSegmenter-Tasks:Non-Human-Primate|Non-Human Primate ''' for skull stripped T1 scans]]&lt;br /&gt;
&lt;br /&gt;
==Tasks for Slicer 3.6.4==&lt;br /&gt;
* [[Image:EMS Result Hand subject2.png|250px]] '''Task 04: [[EMSegmenter-Tasks:CT-Hand-Bone|CT Hand Bone ''']]&lt;br /&gt;
* [[Image:MRIHumanBrainFullParcellation_before_after.png|250px]] '''Task 05: [[EMSegmenter-Tasks:MRI-Human-Brain-Full-Parcellation|MRI Human Brain Full Parcellation''' for non-skull stripped T1 scans]]&lt;br /&gt;
* [[Image:MRIHumanBrainHIPR beforeafter.png|250px]] '''Task 06: [[EMSegmenter-Tasks:MRI-Human-Brain-HIPR|MRI Human Brain with high in-plane resolution''' for non-skull stripped T1 scans]]&lt;br /&gt;
* [[Image:EMS_Hemisphere_before_after.png|250px]]'''Task 07: [[EMSegmenter-Tasks:MRI-Human-Brain-Hemisphere|MRI Human Brain Hemisphere''' for non-skull stripped T1 scans]]&lt;br /&gt;
&lt;br /&gt;
==Tasks in development==&lt;br /&gt;
* [[Image:EMS HumanEye Before After.png|250px]]'''Task 08: [[EMSegmenter-Tasks:Human-Eye|Human Eye''']]&lt;br /&gt;
* [[Image:EMS MRIHumanBrainExp Before After.png|250px]] '''Task 09: [[EMSegmenter-Tasks:MRI-Human-Brain-Experimental|MRI Human Brain Experimental''' with skull stripping]]&lt;br /&gt;
* [[Image:EMSegment-CardioA1-grey-small.jpg|125px]][[Image:EMSegment CardioA1small.jpg|125px]] '''Task 10: [[EMSegmenter-Tasks:cineMARI|cine MRI''' ]]&lt;br /&gt;
* [[Image:EMS LesionsExp BeforeAfter.png|125px]] '''Task 11: [[EMSegmenter-Tasks:LesionExp|White matter lesion segmentation''' ]]&lt;br /&gt;
File:&lt;br /&gt;
&lt;br /&gt;
==External Command Lines (Under Development) ==&lt;br /&gt;
* [[Image:GLISTR Flair.png|125px]][[Image:GLISTR Seg.png|125px]]'''Task 12: [https://www.rad.upenn.edu/sbia/projects/glistr.html GLISTR: Automatic Glioma Segmentation''']&lt;br /&gt;
&lt;br /&gt;
=Additional Use Cases=&lt;br /&gt;
==Quantitative assessment using MPRAGE and Flair images==&lt;br /&gt;
* Collaborator: Tammie Benzinger , Washington University School of Medicine&lt;br /&gt;
* Short description: Quantitative assessment using MPRAGE and Flair images&lt;br /&gt;
* Image specification: Dimension: 256x256x160 , Spacing 1x1x1, T2 MPRAGE&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain-Experimental|'''MRI Human Brain Experimental''' (with skull stripping)]]&lt;br /&gt;
&amp;lt;gallery perrow=2: widths=200px : heights=200px&amp;gt;&lt;br /&gt;
Image:EMS_Quantitative_assessment_orig.png&lt;br /&gt;
Image:EMS_Quantitative_assessment.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Brain Atrophy in Aging Patients==&lt;br /&gt;
* Collaborator: David Tate, PI (Brigham and Women's Hospital), Daniel McCaffrey (Brigham and Women's Hospital), Alex Zaitsev (Brigham and Women's Hospital/Surgical Planning Laboratory) and Jewish Hospital&lt;br /&gt;
* Short description: Evaluate Brain Atrophy in aging subjects (NOTE: the segmentation was done for old scans from 90s. No other tools could segment CSF.)&lt;br /&gt;
* Image specification: NA Tesla, Scanner: NA, Psuedo T1, Axial Scans, TR/TI/TE=NA, pixel_xsize = 0.937500, pixel_ysize = 0.937500, fov = 240.000000, aspect = 0.000000, thick = 5.000000&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain|'''MRI Human Brain''']]&lt;br /&gt;
&amp;lt;gallery perrow=2: widths=200px : heights=200px&amp;gt;&lt;br /&gt;
Image:EMS_AgingStudy_DTate_Project_3-6-2.png&lt;br /&gt;
Image:EMS_AgingStudy_PseudoT1_OldMIRs_JewishHospEMS_manualTrain_60x.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Brain Atrophy in HIV Patients==&lt;br /&gt;
* Collaborator: David Tate, PI (Brigham and Women's Hospital), Troy Russel (Brigham and Women's Hospital), Alex Zaitsev (Brigham and Women's Hospital/Surgical Planning Laboratory) and National HIV Consortium&lt;br /&gt;
* Short description: Evaluate Brain Atrophy in HIV Patients&lt;br /&gt;
* Image specification: 3 Tesla, Scanner: NA, MPRAGE, Sagittal Scans, TR/TI/TE=NA, pixel_xsize = 0.9375, pixel_ysize = 0.9375, fov =  NA, aspect =  NA, space =  1.5&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain|'''MRI Human Brain''']]&lt;br /&gt;
&amp;lt;gallery perrow=2: widths=425px : heights=200px&amp;gt;&lt;br /&gt;
Image:EMS_HIVStudy_Segmentation.png&lt;br /&gt;
Image:EMS_HIVStudy_Segmentation_Auto.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Pediatric MS Study==&lt;br /&gt;
* Collaborator: Tanuja Chitnis PI (Brigham and Women's Hospital/Multiple Sclerosis Center), Alexander Zaitsev (Brigham and Women's Hospital/Surgical Planning Laboratory) and Massachusetts General Hospital &lt;br /&gt;
* Short description: Evaluate brain atrophy for pediatric MS Patients&lt;br /&gt;
* Image specification: 3 Tesla, Scanner: SIGNA HDx / GE MEDICAL SYSTEMS, 3D MPRAGE, Sagital Scans, TR/TI/TE=24/0/7 ms, pixel_xsize = 0.976600, pixel_ysize = 0.976600, fov =  250.009598, aspect =  1.535941, thick =  1.500000, space =  0.000000&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain|'''MRI Human Brain''']]&lt;br /&gt;
&amp;lt;gallery perrow=1: widths=630px : heights=210px&amp;gt;&lt;br /&gt;
Image:EMS_PED_MS_Study_Segmentation.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Social Cognition Study==&lt;br /&gt;
* Collaborator: Collaborator: Andrea Mike, MD (Pecs University, Hungary), Charles Guttmann, MD, Alexander Zaitsev (Brigham and Women's Hospital)&lt;br /&gt;
* Short description: Evaluate brain atrophy for elderly MS patients.&lt;br /&gt;
* Number of processed cases: 50 &lt;br /&gt;
* Image specification: 3 Tesla, Scanner: Magnetom TIM Trio, Siemens, 3D MPRAGE, Slice thickness: 1.2mm, Spacing 1.2 1 1 (mm)&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain|'''MRI Human Brain''']]&lt;br /&gt;
&amp;lt;gallery perrow=1: widths=630px : heights=200px&amp;gt;&lt;br /&gt;
Image:EMS_SocialCognitionLESIONS_MANUALLY_SEGMENTED_PECS_S006_Seg.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Physiological Brain Activity Longitudinal Study==&lt;br /&gt;
* Collaborator: Laura Horky PI (Brigham and Women's Hospital(BWH)), Jon Hainer (BWH), Wendy Plesniak (BWH), Alexander Zaitsev (BWH), Ron Kikinis (BWH) and BWH Division of Nuclear Medicine&lt;br /&gt;
* Short description: Evaluate glycolitical brain activity in CSF and White Matter for the patients undergoing chemical therapy courses.&lt;br /&gt;
* Image specification: 1.5 Tesla ,Scanner: SIGNA EXCITE / GE MEDICAL SYSTEMS, T1, Axial Scans, TR/TI/TE=500/0/21 ms, pixel_xsize = 0.781251, pixel_ysize = 0.781244, fov =  0.000000, aspect =  7.679990, thick =  5.000000, space =  1.000000&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain-Hemisphere|'''MRI Human Brain Hemisphere''']]&lt;br /&gt;
&amp;lt;gallery perrow=3: widths=250px  : heights=200px&amp;gt;&lt;br /&gt;
Image:EmSegment PETCT 1.png&lt;br /&gt;
Image:EmSegment PETCT 2.png&lt;br /&gt;
Image:EmSegment PETCT 3.png | Result on test data&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery perrow=3: widths=250px  : heights=200px&amp;gt;&lt;br /&gt;
Image:EMSegment PETCT Physiology-1.png &lt;br /&gt;
Image:EMSegment PETCT Physiology-2.png&lt;br /&gt;
Image:EMSegment PETCT Physiology-3.png | Result on patient data&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=File:EMS_LesionsExp_BeforeAfter.png&amp;diff=20291</id>
		<title>File:EMS LesionsExp BeforeAfter.png</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=File:EMS_LesionsExp_BeforeAfter.png&amp;diff=20291"/>
		<updated>2011-06-18T23:17:40Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks:LesionExp&amp;diff=20290</id>
		<title>EMSegmenter-Tasks:LesionExp</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks:LesionExp&amp;diff=20290"/>
		<updated>2011-06-18T22:49:51Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Anatomical Tree */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[EMSegmenter-Tasks|Return to EMSegmenter Task Overview Page]]&lt;br /&gt;
&lt;br /&gt;
=Description=&lt;br /&gt;
Two channel automatic segmentation of T1 and FLAIR MRI brain scans into the major tissue classes (gray matter, white matter, csf). The pipeline consist of the following steps:&lt;br /&gt;
* Step 1: Perform image inhomogeneity correction of the MRI scan via [http://www.slicer.org/slicerWiki/index.php/Modules:N4ITKBiasFieldCorrection-Documentation-3.6 N4ITKBiasFieldCorrection] (Tustison et al 2010)&lt;br /&gt;
* Step 2: Register the atlas to the T1 MRI scan via [[Modules:BRAINSFit| BRAINSFit]] (Johnson et al 2007)&lt;br /&gt;
* Step 3: Compute the intensity distributions for each structure &amp;lt;BR&amp;gt;&lt;br /&gt;
Compute intensity distribution (mean and variance) for each label by automatically sampling from the MR scan. The sampling for a specific label is constrained to the region that consists of voxels with high probability (top 95%) of being assigned to the label according to the aligned atlas.&lt;br /&gt;
* Step 4: Assign T1 GM intensity distribution to T1 Lesion intensity distribution&lt;br /&gt;
* Step 5: Automatically segment the MRI scan into the structures of interest using [[Modules:EMSegmenter-3.6|EM Algorithm]]  (Pohl et al 2007)&lt;br /&gt;
&lt;br /&gt;
=Anatomical Tree=&lt;br /&gt;
&lt;br /&gt;
* root&lt;br /&gt;
** background (BG)&lt;br /&gt;
** intracranial cavity (ICC)&lt;br /&gt;
*** white matter (WM)&lt;br /&gt;
*** grey matter (GM)&lt;br /&gt;
*** cerebrospinal fluid (CSF)&lt;br /&gt;
*** Lesion&lt;br /&gt;
&lt;br /&gt;
=Atlas=&lt;br /&gt;
Atlas was generated based on 82 scans and corresponding segmentations provided by [http://pnl.bwh.harvard.edu/ Psychiatry Neuroimaging Laboratory, BWH]. We registered the scans to a preselected template via Warfield et al. 2001. &amp;lt;BR&amp;gt; &lt;br /&gt;
Image Dimension = 256 x 256 x 124 &amp;lt;br&amp;gt;&lt;br /&gt;
Image Spacing   = 0.9375 x 0.9375 x 1.5 &amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:EMSegmenter_MRI-Human-Brain_Template_420x420.png|210px]]&lt;br /&gt;
| [[Image:EMSegmenter_MRI-Human-Brain_CSF_420x420.png|210px]]&lt;br /&gt;
| [[Image:EMSegmenter_MRI-Human-Brain_GM_420x420.png|210px]]&lt;br /&gt;
| [[Image:EMSegmenter_MRI-Human-Brain_WM_420x420.png|210px]]&lt;br /&gt;
|-&lt;br /&gt;
| Template (T1)&lt;br /&gt;
| CSF&lt;br /&gt;
| GM&lt;br /&gt;
| WM&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Result=&lt;br /&gt;
&amp;lt;gallery perrow=1: widths=630px : heights=210px&amp;gt;&lt;br /&gt;
Image:MRI-Human-Brain-T1.png&lt;br /&gt;
Image:MRI-Human-Brain-Labelmap.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Acknowledgment=&lt;br /&gt;
The construction of the pipeline was supported by funding from NIH NCRR 2P41RR013218 Supplement.&lt;br /&gt;
&lt;br /&gt;
=Citations=&lt;br /&gt;
* Tustison NJ, Avants BB, Cook PA, Zheng Y, Egan A, Yushkevich PA, Gee JC N4ITK: Improved N3 Bias Correction, IEEE Trans Med Imag, 2010&lt;br /&gt;
* Pohl K, Bouix S, Nakamura M, Rohlfing T, McCarley R, Kikinis R, Grimson W, Shenton M, Wells W. [http://www.slicer.org/pages/Special:PubDB_View?dspaceid=608 A Hierarchical Algorithm for MR Brain Image Parcellation.] IEEE Transactions on Medical Imaging. 2007 Sept;26(9):1201-1212.&lt;br /&gt;
* S. Warfield, J. Rexilius, P. Huppi, T. Inder, E. Miller, W. Wells, G. Zientara, F. Jolesz, and R. Kikinis, “A binary entropy measure to assess nonrigid registration algorithms,” in MICCAI, LNCS, pp. 266–274, Springer, October 2001.&lt;br /&gt;
* Johnson H.J., Harris G., Williams K. [http://hdl.handle.net/1926/1291 BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit], The Insight Journal, July 2007&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks:LesionExp&amp;diff=20289</id>
		<title>EMSegmenter-Tasks:LesionExp</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks:LesionExp&amp;diff=20289"/>
		<updated>2011-06-18T22:49:33Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: Created page with 'Return to EMSegmenter Task Overview Page  =Description= Two channel automatic segmentation of T1 and FLAIR MRI brain scans into the major tissue classes (gr…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[EMSegmenter-Tasks|Return to EMSegmenter Task Overview Page]]&lt;br /&gt;
&lt;br /&gt;
=Description=&lt;br /&gt;
Two channel automatic segmentation of T1 and FLAIR MRI brain scans into the major tissue classes (gray matter, white matter, csf). The pipeline consist of the following steps:&lt;br /&gt;
* Step 1: Perform image inhomogeneity correction of the MRI scan via [http://www.slicer.org/slicerWiki/index.php/Modules:N4ITKBiasFieldCorrection-Documentation-3.6 N4ITKBiasFieldCorrection] (Tustison et al 2010)&lt;br /&gt;
* Step 2: Register the atlas to the T1 MRI scan via [[Modules:BRAINSFit| BRAINSFit]] (Johnson et al 2007)&lt;br /&gt;
* Step 3: Compute the intensity distributions for each structure &amp;lt;BR&amp;gt;&lt;br /&gt;
Compute intensity distribution (mean and variance) for each label by automatically sampling from the MR scan. The sampling for a specific label is constrained to the region that consists of voxels with high probability (top 95%) of being assigned to the label according to the aligned atlas.&lt;br /&gt;
* Step 4: Assign T1 GM intensity distribution to T1 Lesion intensity distribution&lt;br /&gt;
* Step 5: Automatically segment the MRI scan into the structures of interest using [[Modules:EMSegmenter-3.6|EM Algorithm]]  (Pohl et al 2007)&lt;br /&gt;
&lt;br /&gt;
=Anatomical Tree=&lt;br /&gt;
&lt;br /&gt;
* root&lt;br /&gt;
** background (BG)&lt;br /&gt;
** intracranial cavity (ICC)&lt;br /&gt;
*** white matter (WM)&lt;br /&gt;
*** grey matter (GM)&lt;br /&gt;
*** cerebrospinal fluid (CSF)&lt;br /&gt;
&lt;br /&gt;
=Atlas=&lt;br /&gt;
Atlas was generated based on 82 scans and corresponding segmentations provided by [http://pnl.bwh.harvard.edu/ Psychiatry Neuroimaging Laboratory, BWH]. We registered the scans to a preselected template via Warfield et al. 2001. &amp;lt;BR&amp;gt; &lt;br /&gt;
Image Dimension = 256 x 256 x 124 &amp;lt;br&amp;gt;&lt;br /&gt;
Image Spacing   = 0.9375 x 0.9375 x 1.5 &amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:EMSegmenter_MRI-Human-Brain_Template_420x420.png|210px]]&lt;br /&gt;
| [[Image:EMSegmenter_MRI-Human-Brain_CSF_420x420.png|210px]]&lt;br /&gt;
| [[Image:EMSegmenter_MRI-Human-Brain_GM_420x420.png|210px]]&lt;br /&gt;
| [[Image:EMSegmenter_MRI-Human-Brain_WM_420x420.png|210px]]&lt;br /&gt;
|-&lt;br /&gt;
| Template (T1)&lt;br /&gt;
| CSF&lt;br /&gt;
| GM&lt;br /&gt;
| WM&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Result=&lt;br /&gt;
&amp;lt;gallery perrow=1: widths=630px : heights=210px&amp;gt;&lt;br /&gt;
Image:MRI-Human-Brain-T1.png&lt;br /&gt;
Image:MRI-Human-Brain-Labelmap.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Acknowledgment=&lt;br /&gt;
The construction of the pipeline was supported by funding from NIH NCRR 2P41RR013218 Supplement.&lt;br /&gt;
&lt;br /&gt;
=Citations=&lt;br /&gt;
* Tustison NJ, Avants BB, Cook PA, Zheng Y, Egan A, Yushkevich PA, Gee JC N4ITK: Improved N3 Bias Correction, IEEE Trans Med Imag, 2010&lt;br /&gt;
* Pohl K, Bouix S, Nakamura M, Rohlfing T, McCarley R, Kikinis R, Grimson W, Shenton M, Wells W. [http://www.slicer.org/pages/Special:PubDB_View?dspaceid=608 A Hierarchical Algorithm for MR Brain Image Parcellation.] IEEE Transactions on Medical Imaging. 2007 Sept;26(9):1201-1212.&lt;br /&gt;
* S. Warfield, J. Rexilius, P. Huppi, T. Inder, E. Miller, W. Wells, G. Zientara, F. Jolesz, and R. Kikinis, “A binary entropy measure to assess nonrigid registration algorithms,” in MICCAI, LNCS, pp. 266–274, Springer, October 2001.&lt;br /&gt;
* Johnson H.J., Harris G., Williams K. [http://hdl.handle.net/1926/1291 BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit], The Insight Journal, July 2007&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks&amp;diff=20288</id>
		<title>EMSegmenter-Tasks</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=EMSegmenter-Tasks&amp;diff=20288"/>
		<updated>2011-06-18T22:45:56Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Segmentation Task Library */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[EMSegmenter-Overview|Return to EMSegmenter Overview Page]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=What is a task?=&lt;br /&gt;
&lt;br /&gt;
Most clinicians are using the EMSegmenter to segment specific parts of the human body. Those segmentations depend heavily on&lt;br /&gt;
the used input data. The signal level in the input data varies with the used image modalities (e.g. MRI, CT, ...) and with each anatomical structure.&lt;br /&gt;
The EMSegmenter can take advantage of some knowledge about the signal level of those anatomical structures in the different image modalities.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Technically, each tasks consist of a .mrml file and a .tcl file.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The .mrml file stores the anatomical properties (mean values, covariance values) in a user defined tree structure.&amp;lt;br&amp;gt;&lt;br /&gt;
The .tcl script is used to perform some pre-processing on the input data.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Visit the following web page to create your own [[EMSegmenter-CreateTask| task]] or we can [[ EMSegmenter-UseCaseAdvertisement | help ]] you .&lt;br /&gt;
&lt;br /&gt;
=Segmentation Task Library=&lt;br /&gt;
==Existing Tasks in Slicer 3.6.3==&lt;br /&gt;
*[[Image:MRI-Human-Brain_BeforeAfter.png|250px]] '''Task 01: [[EMSegmenter-Tasks:MRI-Human-Brain|MRI Human Brain ''' for non-skull stripped T1 scans]]&lt;br /&gt;
*[[Image:MRIHumanBrainParcellation.png|250px]]  '''Task 02: [[EMSegmenter-Tasks:MRI-Human-Brain-Parcellation|MRI Human Brain Parcellation ''' for skull stripped T1 scans]]&lt;br /&gt;
*[[Image:NHP.png|250px]] '''Task 03: [[EMSegmenter-Tasks:Non-Human-Primate|Non-Human Primate ''' for skull stripped T1 scans]]&lt;br /&gt;
&lt;br /&gt;
==Tasks for Slicer 3.6.4==&lt;br /&gt;
* [[Image:EMS Result Hand subject2.png|250px]] '''Task 04: [[EMSegmenter-Tasks:CT-Hand-Bone|CT Hand Bone ''']]&lt;br /&gt;
* [[Image:MRIHumanBrainFullParcellation_before_after.png|250px]] '''Task 05: [[EMSegmenter-Tasks:MRI-Human-Brain-Full-Parcellation|MRI Human Brain Full Parcellation''' for non-skull stripped T1 scans]]&lt;br /&gt;
* [[Image:MRIHumanBrainHIPR beforeafter.png|250px]] '''Task 06: [[EMSegmenter-Tasks:MRI-Human-Brain-HIPR|MRI Human Brain with high in-plane resolution''' for non-skull stripped T1 scans]]&lt;br /&gt;
* [[Image:EMS_Hemisphere_before_after.png|250px]]'''Task 07: [[EMSegmenter-Tasks:MRI-Human-Brain-Hemisphere|MRI Human Brain Hemisphere''' for non-skull stripped T1 scans]]&lt;br /&gt;
&lt;br /&gt;
==Tasks in development==&lt;br /&gt;
* [[Image:EMS HumanEye Before After.png|250px]]'''Task 08: [[EMSegmenter-Tasks:Human-Eye|Human Eye''']]&lt;br /&gt;
* [[Image:EMS MRIHumanBrainExp Before After.png|250px]] '''Task 09: [[EMSegmenter-Tasks:MRI-Human-Brain-Experimental|MRI Human Brain Experimental''' with skull stripping]]&lt;br /&gt;
* [[Image:EMSegment-CardioA1-grey-small.jpg|125px]][[Image:EMSegment CardioA1small.jpg|125px]] '''Task 10: [[EMSegmenter-Tasks:cineMARI|cine MRI''' ]]&lt;br /&gt;
* [[Image:EMSegment-CardioA1-grey-small.jpg|125px]][[Image:EMSegment CardioA1small.jpg|125px]] '''Task 11: [[EMSegmenter-Tasks:LesionExp|White matter lesion segmentation''' ]]&lt;br /&gt;
&lt;br /&gt;
==External Command Lines (Under Development) ==&lt;br /&gt;
* [[Image:GLISTR Flair.png|125px]][[Image:GLISTR Seg.png|125px]]'''Task 12: [https://www.rad.upenn.edu/sbia/projects/glistr.html GLISTR: Automatic Glioma Segmentation''']&lt;br /&gt;
&lt;br /&gt;
=Additional Use Cases=&lt;br /&gt;
==Quantitative assessment using MPRAGE and Flair images==&lt;br /&gt;
* Collaborator: Tammie Benzinger , Washington University School of Medicine&lt;br /&gt;
* Short description: Quantitative assessment using MPRAGE and Flair images&lt;br /&gt;
* Image specification: Dimension: 256x256x160 , Spacing 1x1x1, T2 MPRAGE&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain-Experimental|'''MRI Human Brain Experimental''' (with skull stripping)]]&lt;br /&gt;
&amp;lt;gallery perrow=2: widths=200px : heights=200px&amp;gt;&lt;br /&gt;
Image:EMS_Quantitative_assessment_orig.png&lt;br /&gt;
Image:EMS_Quantitative_assessment.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Brain Atrophy in Aging Patients==&lt;br /&gt;
* Collaborator: David Tate, PI (Brigham and Women's Hospital), Daniel McCaffrey (Brigham and Women's Hospital), Alex Zaitsev (Brigham and Women's Hospital/Surgical Planning Laboratory) and Jewish Hospital&lt;br /&gt;
* Short description: Evaluate Brain Atrophy in aging subjects (NOTE: the segmentation was done for old scans from 90s. No other tools could segment CSF.)&lt;br /&gt;
* Image specification: NA Tesla, Scanner: NA, Psuedo T1, Axial Scans, TR/TI/TE=NA, pixel_xsize = 0.937500, pixel_ysize = 0.937500, fov = 240.000000, aspect = 0.000000, thick = 5.000000&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain|'''MRI Human Brain''']]&lt;br /&gt;
&amp;lt;gallery perrow=2: widths=200px : heights=200px&amp;gt;&lt;br /&gt;
Image:EMS_AgingStudy_DTate_Project_3-6-2.png&lt;br /&gt;
Image:EMS_AgingStudy_PseudoT1_OldMIRs_JewishHospEMS_manualTrain_60x.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Brain Atrophy in HIV Patients==&lt;br /&gt;
* Collaborator: David Tate, PI (Brigham and Women's Hospital), Troy Russel (Brigham and Women's Hospital), Alex Zaitsev (Brigham and Women's Hospital/Surgical Planning Laboratory) and National HIV Consortium&lt;br /&gt;
* Short description: Evaluate Brain Atrophy in HIV Patients&lt;br /&gt;
* Image specification: 3 Tesla, Scanner: NA, MPRAGE, Sagittal Scans, TR/TI/TE=NA, pixel_xsize = 0.9375, pixel_ysize = 0.9375, fov =  NA, aspect =  NA, space =  1.5&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain|'''MRI Human Brain''']]&lt;br /&gt;
&amp;lt;gallery perrow=2: widths=425px : heights=200px&amp;gt;&lt;br /&gt;
Image:EMS_HIVStudy_Segmentation.png&lt;br /&gt;
Image:EMS_HIVStudy_Segmentation_Auto.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Pediatric MS Study==&lt;br /&gt;
* Collaborator: Tanuja Chitnis PI (Brigham and Women's Hospital/Multiple Sclerosis Center), Alexander Zaitsev (Brigham and Women's Hospital/Surgical Planning Laboratory) and Massachusetts General Hospital &lt;br /&gt;
* Short description: Evaluate brain atrophy for pediatric MS Patients&lt;br /&gt;
* Image specification: 3 Tesla, Scanner: SIGNA HDx / GE MEDICAL SYSTEMS, 3D MPRAGE, Sagital Scans, TR/TI/TE=24/0/7 ms, pixel_xsize = 0.976600, pixel_ysize = 0.976600, fov =  250.009598, aspect =  1.535941, thick =  1.500000, space =  0.000000&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain|'''MRI Human Brain''']]&lt;br /&gt;
&amp;lt;gallery perrow=1: widths=630px : heights=210px&amp;gt;&lt;br /&gt;
Image:EMS_PED_MS_Study_Segmentation.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Social Cognition Study==&lt;br /&gt;
* Collaborator: Collaborator: Andrea Mike, MD (Pecs University, Hungary), Charles Guttmann, MD, Alexander Zaitsev (Brigham and Women's Hospital)&lt;br /&gt;
* Short description: Evaluate brain atrophy for elderly MS patients.&lt;br /&gt;
* Number of processed cases: 50 &lt;br /&gt;
* Image specification: 3 Tesla, Scanner: Magnetom TIM Trio, Siemens, 3D MPRAGE, Slice thickness: 1.2mm, Spacing 1.2 1 1 (mm)&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain|'''MRI Human Brain''']]&lt;br /&gt;
&amp;lt;gallery perrow=1: widths=630px : heights=200px&amp;gt;&lt;br /&gt;
Image:EMS_SocialCognitionLESIONS_MANUALLY_SEGMENTED_PECS_S006_Seg.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Physiological Brain Activity Longitudinal Study==&lt;br /&gt;
* Collaborator: Laura Horky PI (Brigham and Women's Hospital(BWH)), Jon Hainer (BWH), Wendy Plesniak (BWH), Alexander Zaitsev (BWH), Ron Kikinis (BWH) and BWH Division of Nuclear Medicine&lt;br /&gt;
* Short description: Evaluate glycolitical brain activity in CSF and White Matter for the patients undergoing chemical therapy courses.&lt;br /&gt;
* Image specification: 1.5 Tesla ,Scanner: SIGNA EXCITE / GE MEDICAL SYSTEMS, T1, Axial Scans, TR/TI/TE=500/0/21 ms, pixel_xsize = 0.781251, pixel_ysize = 0.781244, fov =  0.000000, aspect =  7.679990, thick =  5.000000, space =  1.000000&lt;br /&gt;
* Used Task: [[EMSegmenter-Tasks:MRI-Human-Brain-Hemisphere|'''MRI Human Brain Hemisphere''']]&lt;br /&gt;
&amp;lt;gallery perrow=3: widths=250px  : heights=200px&amp;gt;&lt;br /&gt;
Image:EmSegment PETCT 1.png&lt;br /&gt;
Image:EmSegment PETCT 2.png&lt;br /&gt;
Image:EmSegment PETCT 3.png | Result on test data&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery perrow=3: widths=250px  : heights=200px&amp;gt;&lt;br /&gt;
Image:EMSegment PETCT Physiology-1.png &lt;br /&gt;
Image:EMSegment PETCT Physiology-2.png&lt;br /&gt;
Image:EMSegment PETCT Physiology-3.png | Result on patient data&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=20136</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=20136"/>
		<updated>2011-06-13T00:10:39Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Cloud computing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
A [http://packages.debian.org/search?keywords=slicer&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Debian package for slicer] has been created to make it easier to install &amp;quot;3D Slicer&amp;quot; on Debian machines. This means users can simply do:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install slicer&lt;br /&gt;
&lt;br /&gt;
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.&lt;br /&gt;
&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;squeeze&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian &amp;quot;squeeze&amp;quot; contains a &amp;quot;3D Slicer 3.4&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
The next major Debian release &amp;quot;wheezy&amp;quot; will contain a &amp;quot;3D Slicer 3.6&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
== Cloud computing==&lt;br /&gt;
&lt;br /&gt;
The EBS AMI '''ami-6ca05805''' contains a ready to use ''3D Slicer 3.4'' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).&lt;br /&gt;
&lt;br /&gt;
Example session:&lt;br /&gt;
 AMI=ami-6ca05805&lt;br /&gt;
 ec2-describe-images $AMI&lt;br /&gt;
 ec2-run-instances -t t1.micro $AMI -n1 -k mykey&lt;br /&gt;
 ec2-describe-instances&lt;br /&gt;
 host=ec2-174-129-170-61.compute-1.amazonaws.com&lt;br /&gt;
 ssh -i id_rsa-mykey -X ubuntu@${host}&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
[[Media:slicer_rdep_squeeze.png]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
The Ubuntu distribution will also contain a slicer package in their&lt;br /&gt;
universe repository [https://launchpad.net/ubuntu/+source/slicer].&lt;br /&gt;
This package is probably based on the slicer package taken from Debian &amp;quot;unstable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Thanks! ==&lt;br /&gt;
&lt;br /&gt;
These packages were the result of a lot of work by Dominique Belhachemi.&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=20135</id>
		<title>Slicer3:Debian</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Debian&amp;diff=20135"/>
		<updated>2011-06-13T00:09:54Z</updated>

		<summary type="html">&lt;p&gt;Belhachemi: /* Cloud computing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
A [http://packages.debian.org/search?keywords=slicer&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Debian package for slicer] has been created to make it easier to install &amp;quot;3D Slicer&amp;quot; on Debian machines. This means users can simply do:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install slicer&lt;br /&gt;
&lt;br /&gt;
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.&lt;br /&gt;
&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Debian &amp;quot;squeeze&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian &amp;quot;squeeze&amp;quot; contains a &amp;quot;3D Slicer 3.4&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
The next major Debian release &amp;quot;wheezy&amp;quot; will contain a &amp;quot;3D Slicer 3.6&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
== Cloud computing==&lt;br /&gt;
&lt;br /&gt;
 The EBS AMI ami-6ca05805 contains a ready to use '''3D Slicer 3.4''' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).&lt;br /&gt;
&lt;br /&gt;
Example session:&lt;br /&gt;
 AMI=ami-6ca05805&lt;br /&gt;
 ec2-describe-images $AMI&lt;br /&gt;
 ec2-run-instances -t t1.micro $AMI -n1 -k mykey&lt;br /&gt;
 ec2-describe-instances&lt;br /&gt;
 host=ec2-174-129-170-61.compute-1.amazonaws.com&lt;br /&gt;
 ssh -i id_rsa-mykey -X ubuntu@${host}&lt;br /&gt;
&lt;br /&gt;
Use Slicer's command line tools&lt;br /&gt;
 /usr/lib/Slicer3/Plugins/AffineRegistration --help&lt;br /&gt;
&lt;br /&gt;
or start Slicer's GUI&lt;br /&gt;
 slicer3&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
[[Media:slicer_rdep_squeeze.png]]&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
The Ubuntu distribution will also contain a slicer package in their&lt;br /&gt;
universe repository [https://launchpad.net/ubuntu/+source/slicer].&lt;br /&gt;
This package is probably based on the slicer package taken from Debian &amp;quot;unstable&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Thanks! ==&lt;br /&gt;
&lt;br /&gt;
These packages were the result of a lot of work by Dominique Belhachemi.&lt;/div&gt;</summary>
		<author><name>Belhachemi</name></author>
		
	</entry>
</feed>