<?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=Slicer%3ASlicer_2.6_Building</id>
	<title>Slicer:Slicer 2.6 Building - 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=Slicer%3ASlicer_2.6_Building"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer:Slicer_2.6_Building&amp;action=history"/>
	<updated>2026-04-13T05:18:59Z</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=Slicer:Slicer_2.6_Building&amp;diff=4162&amp;oldid=prev</id>
		<title>Marianna: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer:Slicer_2.6_Building&amp;diff=4162&amp;oldid=prev"/>
		<updated>2008-05-15T18:52:23Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 18:52, 15 May 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Marianna</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer:Slicer_2.6_Building&amp;diff=4161&amp;oldid=prev</id>
		<title>Hayes: /* Mac OSX */</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer:Slicer_2.6_Building&amp;diff=4161&amp;oldid=prev"/>
		<updated>2008-04-23T21:06:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Mac OSX&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Slicer''' relies on several powerful support libraries. '''Building''' '''slicer''' has been significantly simplified.&lt;br /&gt;
&lt;br /&gt;
== Generic Instructions (Linux/Unix/Solaris) ==&lt;br /&gt;
&lt;br /&gt;
For anonymous checkout and build on most Linux and Solaris configurations, you only need to follow the steps below.&lt;br /&gt;
&lt;br /&gt;
''Notes:''&lt;br /&gt;
&lt;br /&gt;
* You will need a recent cvs client; version 1.12.10 is known to work.&lt;br /&gt;
* You will need a recent Subversion (svn) client&lt;br /&gt;
* You will need autoconf installed (except on Windows).&lt;br /&gt;
* Windows users need to see special download instructions below.&lt;br /&gt;
* If you are using gcc, use something around gcc ver. 3.3 vintage. There have been problems compiling various support libraries using gcc ver. 4.0.&lt;br /&gt;
&lt;br /&gt;
1) '''Get an anonymous checkout'''&lt;br /&gt;
&lt;br /&gt;
 cvs -d :pserver:anonymous@cvs.spl.harvard.edu:/projects/cvs/'''slicer''' login&lt;br /&gt;
&lt;br /&gt;
and enter 'bwhspl' as the password and then&lt;br /&gt;
&lt;br /&gt;
 cvs -z3 -d :pserver:anonymous@cvs.spl.harvard.edu:/projects/cvs/'''slicer''' checkout -r release-2-6 slicer2&lt;br /&gt;
&lt;br /&gt;
''Note:'' to build the current cvs head, omit the '-r release-2-6' argument.&lt;br /&gt;
&lt;br /&gt;
2) '''Build the required support libraries (Tcl/Tk, VTK, ITK)'''&lt;br /&gt;
&lt;br /&gt;
 cd slicer2&lt;br /&gt;
 ./Scripts/genlib.tcl&lt;br /&gt;
&lt;br /&gt;
* Note: you need [http://subversion.tigris.org/ svn] installed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) '''Build '''slicer''''''&lt;br /&gt;
&lt;br /&gt;
 ./Scripts/cmaker.tcl&lt;br /&gt;
&lt;br /&gt;
These steps will build the entire system for you, and you can use this as the basis for further development such as writing your own custom modules.&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Like in releases 2.4 and 2.5, not all the support libraries are easy to build on windows in '''Slicer''' '''2.6''', so you can download a set of precompiled binaries to build against. Insert the following substeps between steps 1) and 2).&lt;br /&gt;
&lt;br /&gt;
1.a) download this file: [http://www.na-mic.org/Slicer/Download/External/Slicer2.6-Lib-win32.zip Slicer2.6-Lib-win32.zip]&lt;br /&gt;
&lt;br /&gt;
1.b) unzip the contents into your slicer2 directory. You will end up with the following libraries&lt;br /&gt;
&lt;br /&gt;
 Lib/win32/CMake-build&lt;br /&gt;
 Lib/win32/tcl-build&lt;br /&gt;
&lt;br /&gt;
Then continue with the build steps above, knowing that now you have tclsh executable located in&lt;br /&gt;
&lt;br /&gt;
  Lib/win32/tcl-build/bin&lt;br /&gt;
&lt;br /&gt;
This assumes you are '''building''' with the ''Microsoft Visual Studio .NET'' version of the development environment. If you need to use a different compiler, you need to change the GENERATOR variable in the 'slicer_variables.tcl' to 'Visual Studio 7.1'. Note that '''Slicer''' has not been fully tested on windows environments other than Microsoft Visual Studio .NET. If CMake complains that &amp;quot;cl&amp;quot; can not compile a simple test program, and you are running Visual Studio 7 .NET '''2003''', you need to change the GENERATOR variable to &amp;quot;Visual Studio 7 .NET 2003&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you are using MS VisualStudio 6, you can download the '''building''' scripts: [http://www.na-mic.org/Slicer/Download/External/Slicer2-MSVC6-InstallScripts.zip Slicer2-MSVC6-InstallScripts.zip]. (Note that some modules may not build due to library incompatibilities).&lt;br /&gt;
&lt;br /&gt;
== Mac OSX ==&lt;br /&gt;
&lt;br /&gt;
Follow the generic install steps for building on Tiger and Panther.&lt;br /&gt;
&lt;br /&gt;
For building Leopard, see [[Slicer:Slicer_2.6_Building_Leopard | Building on Leopard]].&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
These steps are followed as part of the nightly build process for '''slicer''' as shown on the '''slicer''' dashboard [http://dart.na-mic.org/Slicer2/Dashboard/ here]. Compare the builds shown on the dashboard to the system you are trying to build on.&lt;br /&gt;
&lt;br /&gt;
== Where to go for Help ==&lt;br /&gt;
&lt;br /&gt;
Compilation questions can be sent to the [http://massmail.spl.harvard.edu/mailman/listinfo/slicer-devel '''Slicer''' Developer's Mailing List].&lt;/div&gt;</summary>
		<author><name>Hayes</name></author>
		
	</entry>
</feed>