<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Slicer3%3AManual_Build</id>
	<title>Slicer3:Manual Build - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Slicer3%3AManual_Build"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Manual_Build&amp;action=history"/>
	<updated>2026-04-18T05:58:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Manual_Build&amp;diff=11647&amp;oldid=prev</id>
		<title>Pieper: /* Configure and build VTK */</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Manual_Build&amp;diff=11647&amp;oldid=prev"/>
		<updated>2009-12-14T01:58:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Configure and build VTK&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 01:58, 14 December 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l60&quot; &gt;Line 60:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 60:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* MacOSX specific (Make sure to install [http://www.apple.com/downloads/macosx/apple/x11formacosx.html X11]):&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* MacOSX specific (Make sure to install [http://www.apple.com/downloads/macosx/apple/x11formacosx.html X11]):&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** VTK_USE_CARBON OFF&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** VTK_USE_CARBON OFF&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** VTK_USE_COCOA OFF&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** VTK_USE_X ON&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** VTK_USE_X ON&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pieper</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Manual_Build&amp;diff=11050&amp;oldid=prev</id>
		<title>Hayes: Created page with '= Manual checkout/build of Slicer3 and support libraries: =  Note: the getbuiltest script described above simply automates and systematizes a sequence of build operations that ca…'</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Manual_Build&amp;diff=11050&amp;oldid=prev"/>
		<updated>2009-10-26T20:50:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;= Manual checkout/build of Slicer3 and support libraries: =  Note: the getbuiltest script described above simply automates and systematizes a sequence of build operations that ca…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Manual checkout/build of Slicer3 and support libraries: =&lt;br /&gt;
&lt;br /&gt;
Note: the getbuiltest script described above simply automates and systematizes a sequence of build operations that can be performed manually.  You may want to use the manual method if you are testing against different versions of VTK or ITK, or if you have existing build trees that you want to re-use.  ''Note that not all combinations of software versions and build flags are actively tested.  The following information may not be up to date as new code is added to the various repositories.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Prerequisite software ==&lt;br /&gt;
&lt;br /&gt;
You need to get and build the following packages if you aren't using the getbuildtest script.  The tags for all of the versions we are currently using can be found in the file Slicer/slicer_variables.tcl, so if you are unsure, check there for the latest word on versions:&lt;br /&gt;
&lt;br /&gt;
 set ::CMAKE_TAG &amp;quot;CMake-2-6&amp;quot;&lt;br /&gt;
 set ::Teem_TAG http://teem.svn.sourceforge.net/svnroot/teem/teem/trunk&lt;br /&gt;
 set ::KWWidgets_TAG &amp;quot;HEAD&amp;quot;&lt;br /&gt;
 set ::VTK_TAG &amp;quot;VTK-5-2&amp;quot;&lt;br /&gt;
 set ::ITK_TAG ITK-3-8&lt;br /&gt;
 set ::PYTHON_TAG &amp;quot;http://svn.python.org/projects/python/branches/release25-maint&amp;quot;&lt;br /&gt;
 set ::BLAS_TAG http://svn.slicer.org/Slicer3-lib-mirrors/trunk/netlib/BLAS&lt;br /&gt;
 set ::LAPACK_TAG http://svn.slicer.org/Slicer3-lib-mirrors/trunk/netlib/lapack-3.1.1&lt;br /&gt;
 set ::NUMPY_TAG &amp;quot;http://svn.scipy.org/svn/numpy/branches/1.1.x&amp;quot;&lt;br /&gt;
 set ::SCIPY_TAG &amp;quot;http://svn.scipy.org/svn/scipy/branches/0.6.x&amp;quot;&lt;br /&gt;
 set ::SLICERLIBCURL_TAG &amp;quot;HEAD&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# [http://www.cmake.org CMake]&lt;br /&gt;
# [http://www.tcl.tk Tcl/Tk (8.4 or later)]&lt;br /&gt;
# [http://sourceforge.net/projects/incrtcl/ incrTcl (3.2.1)]&lt;br /&gt;
# [http://www.vtk.org VTK]&lt;br /&gt;
# [http://www.itk.org ITK]&lt;br /&gt;
# [http://www.kwwidgets.org KWWidgets]&lt;br /&gt;
# [http://teem.sf.net Teem]&lt;br /&gt;
# [http://svn.slicer.org/Slicer3-lib-mirrors/trunk/cmcurl/ SlicerLibCurl]&lt;br /&gt;
&lt;br /&gt;
== Build Steps ==&lt;br /&gt;
&lt;br /&gt;
Steps:&lt;br /&gt;
&lt;br /&gt;
 $ svn co http://svn.slicer.org/Slicer3/trunk Slicer3&lt;br /&gt;
 $ cvs -d :pserver:anoncvs@www.vtk.org:/cvsroot/VTK co VTK -r VTK-5-2&lt;br /&gt;
 $ cvs -d :pserver:anoncvs@www.itk.org:/cvsroot/Insight co Insight -r ITK-3-8&lt;br /&gt;
 $ cvs -d :pserver:anoncvs@www.kwwidgets.org:/cvsroot/KWWidgets co KWWidgets&lt;br /&gt;
 $ svn co http://svn.slicer.org/Slicer3-lib-mirrors/trunk/cmcurl cmcurl&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configure and build ITK ===&lt;br /&gt;
&lt;br /&gt;
* BUILD_SHARED_LIBS ON    (optional)&lt;br /&gt;
* CMAKE_SKIP_RPATH ON&lt;br /&gt;
* ITK_USE_REVIEW ON&lt;br /&gt;
* ITK_USE_OPTIMIZED_REGISTRATION_METHODS ON&lt;br /&gt;
* ITK_USE_TRANSFORM_IO_FACTORIES ON&lt;br /&gt;
&lt;br /&gt;
=== Configure and build VTK ===&lt;br /&gt;
&lt;br /&gt;
* All systems:&lt;br /&gt;
** BUILD_SHARED_LIBS ON&lt;br /&gt;
** CMAKE_SKIP_RPATH ON&lt;br /&gt;
** VTK_WRAP_TCL ON&lt;br /&gt;
** VTK_DEBUG_LEAKS ON&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* MacOSX specific (Make sure to install [http://www.apple.com/downloads/macosx/apple/x11formacosx.html X11]):&lt;br /&gt;
** VTK_USE_CARBON OFF&lt;br /&gt;
** VTK_USE_X ON&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Note, those options '''should not''' appear, since they disapear since VTK5:&lt;br /&gt;
** VTK_USE_HYBRID ON&lt;br /&gt;
** VTK_USE_PATENTED ON&lt;br /&gt;
&lt;br /&gt;
* Make sure that the TCL and TK path are set properly&lt;br /&gt;
** TCL_* and TK_*&lt;br /&gt;
&lt;br /&gt;
=== Configure and build KWWidgets ===&lt;br /&gt;
&lt;br /&gt;
* You need to specify where your VTK build tree is.&lt;br /&gt;
* BUILD_SHARED_LIBS ON&lt;br /&gt;
* CMAKE_SKIP_RPATH ON&lt;br /&gt;
&lt;br /&gt;
=== Configure and build curl ===&lt;br /&gt;
&lt;br /&gt;
* BUILD_SHARED_LIBS OFF&lt;br /&gt;
&lt;br /&gt;
== Build and Run Slicer3 ==&lt;br /&gt;
&lt;br /&gt;
=== Manually ===&lt;br /&gt;
&lt;br /&gt;
# Check out and build slicer3 (e.g. on linux)&lt;br /&gt;
&lt;br /&gt;
  svn co http://svn.slicer.org/Slicer3/trunk Slicer3&lt;br /&gt;
  mkdir Slicer3-build&lt;br /&gt;
  cd Slicer3-build&lt;br /&gt;
  ccmake ../Slicer3&lt;br /&gt;
  make&lt;br /&gt;
&lt;br /&gt;
Again make sure to turn:&lt;br /&gt;
&lt;br /&gt;
* BUILD_SHARED_LIBS ON&lt;br /&gt;
* CMAKE_SKIP_RPATH ON&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt; Start slicer with the Slicer3 executable in your build directory.&lt;/div&gt;</summary>
		<author><name>Hayes</name></author>
		
	</entry>
</feed>