Difference between revisions of "Training:Workshop Prerequisite"

From NAMIC Wiki
Jump to: navigation, search
Line 1: Line 1:
=Preparation for the Workshop (under construction)=
+
='''Preparation for the Workshop''' (under construction)=
Please complete the following items prior to the course. Support will be provided as requested.
+
 
 +
Please install the following components of the NA-MIC kit prior to the workshop. Support will be provided as requested.
 +
 
 +
* 1. '''Slicer3''': software application and open-source programming environment
 +
* 2. '''CMake''': cross-platform open-source build system
 +
* 3. '''Insight Segmentation and Registration Toolkit''' (ITK) environment
 +
* 4. '''Visualization Toolkit''' (VTK) environment
 +
* 5. '''Development packages'''
 +
* 6. ''Common test database - TBD''
 +
 
 +
='''Slicer3 Software''' =
  
=Slicer3 Software =
 
 
Please install the version of Slicer3 appropriate to the computer you will be bringing to the  workshop:  
 
Please install the version of Slicer3 appropriate to the computer you will be bringing to the  workshop:  
 
* Linux:   
 
* Linux:   
Line 8: Line 17:
 
* MacOSX:
 
* MacOSX:
  
=Development Packages =
+
='''CMake'''=
To participate in the developer session, you'll need a set of development packages installed on your machine.
+
CMake 2.6
==Linux==
+
='''ITK environment'''=
The exact packages vary by distribution, but include:
+
 
 +
ITK 3.6
 +
 
 +
='''VTK environment'''=
 +
 
 +
VTK 5.2
 +
 
 +
='''Development packages''' =
 +
=='''Linux'''==
 
* gcc
 
* gcc
 
* gcc-c++
 
* gcc-c++
 
* libX11  
 
* libX11  
* libX11-devel (libX11-dev  on Ubuntu 7.04)
+
* libX11-devel (libX11-dev  on Ubuntu)
 
* libXt-devel (libXt-dev on Ubuntu)
 
* libXt-devel (libXt-dev on Ubuntu)
 
* opengl/mesa (libgl1-mesa-dev on Ubuntu)
 
* opengl/mesa (libgl1-mesa-dev on Ubuntu)
 
+
* libncurses5-dev
Ubuntu one line install:
+
Below is a Ubuntu one line install:
  
 
  sudo apt-get install subversion cvs tcl8.4 gcc g++ libX11-dev libXt-dev libxext-dev libgl1-mesa-dev libncurses5-dev tcsh
 
  sudo apt-get install subversion cvs tcl8.4 gcc g++ libX11-dev libXt-dev libxext-dev libgl1-mesa-dev libncurses5-dev tcsh
  
Also, be sure you have OpenGL and the GLX extension to X working.  To check the installation, it is usually enough to confirm that the command <pre>glxgears</pre> runs with no errors.
+
Note: The packages names below correspond to Ubuntu 7.04. Please ensure that you use the appropriate package names for your distribution.
 +
Also, be sure you have OpenGL and the GLX extension to X working.  To check the installation, it is usually enough to confirm that the command 'glxgears' runs with no errors.
  
== Windows ==
+
== '''Windows''' ==
 
+
* Developer Studio 8 2005 ( if installed in the default locations in "c:/Program Files" it will be detected by the build script automatically (you need to edit slicer_variables.tcl to point to the installation)).
Current requirements are:
+
* [http://www.cygwin.com Cygwin] with the following 5 packages
* Developer Studio 8 2005  
+
**tcltk
** If they are installed in the default locations in "c:/Program Files" they will be detected by the build script automatically (you need to edit slicer_variables.tcl to point to the installation).
+
**svn
* [http://www.cygwin.com Cygwin] with the following packages
+
**cvs
** tcltk
+
**unzip
** svn
+
**curl
** cvs
 
** unzip
 
** curl
 
 
Note: CMake and VTK will not work on a FAT formatted disk (use NTFS).
 
Note: CMake and VTK will not work on a FAT formatted disk (use NTFS).
  
== Apple Mac OS X ==
+
== '''Apple Mac OS X''' ==
  
 
For Mac OS 10.4.10 install the following from the OS disks (not installed by default on new machines):
 
For Mac OS 10.4.10 install the following from the OS disks (not installed by default on new machines):
Line 46: Line 61:
 
* Subversion.  Installation [http://downloads.open.collab.net/binaries.html options here].  Get the latest svn version for compatibility with the server and be sure your client includes SSL (so it can access https repositories).
 
* Subversion.  Installation [http://downloads.open.collab.net/binaries.html options here].  Get the latest svn version for compatibility with the server and be sure your client includes SSL (so it can access https repositories).
  
 
+
='''Common test database'''=
= Datasets =  
+
TBD
Please install the tutorial datasets [http://www.na-mic.org/Wiki/index.php/Image:SlicerSampleVisualization.tar.gz SlicerSampleVisualization.tar.gz] and [[Media:HelloWorld.zip|HelloWorld.zip]].
 

Revision as of 15:58, 15 May 2008

Home < Training:Workshop Prerequisite

Preparation for the Workshop (under construction)

Please install the following components of the NA-MIC kit prior to the workshop. Support will be provided as requested.

  • 1. Slicer3: software application and open-source programming environment
  • 2. CMake: cross-platform open-source build system
  • 3. Insight Segmentation and Registration Toolkit (ITK) environment
  • 4. Visualization Toolkit (VTK) environment
  • 5. Development packages
  • 6. Common test database - TBD

Slicer3 Software

Please install the version of Slicer3 appropriate to the computer you will be bringing to the workshop:

  • Linux:
  • Windows:
  • MacOSX:

CMake

CMake 2.6

ITK environment

ITK 3.6

VTK environment

VTK 5.2

Development packages

Linux

  • gcc
  • gcc-c++
  • libX11
  • libX11-devel (libX11-dev on Ubuntu)
  • libXt-devel (libXt-dev on Ubuntu)
  • opengl/mesa (libgl1-mesa-dev on Ubuntu)
  • libncurses5-dev

Below is a Ubuntu one line install:

sudo apt-get install subversion cvs tcl8.4 gcc g++ libX11-dev libXt-dev libxext-dev libgl1-mesa-dev libncurses5-dev tcsh

Note: The packages names below correspond to Ubuntu 7.04. Please ensure that you use the appropriate package names for your distribution. Also, be sure you have OpenGL and the GLX extension to X working. To check the installation, it is usually enough to confirm that the command 'glxgears' runs with no errors.

Windows

  • Developer Studio 8 2005 ( if installed in the default locations in "c:/Program Files" it will be detected by the build script automatically (you need to edit slicer_variables.tcl to point to the installation)).
  • Cygwin with the following 5 packages
    • tcltk
    • svn
    • cvs
    • unzip
    • curl

Note: CMake and VTK will not work on a FAT formatted disk (use NTFS).

Apple Mac OS X

For Mac OS 10.4.10 install the following from the OS disks (not installed by default on new machines):

  • Xcode Tools (OS Disk 1, default window)
  • X11: also on OS Disk 1, but you need to scroll down and find the Optional Installs installer and select X11 under Applications. See step-by-step instructions.
  • X11SDK - from OS Disk 1, Xcode Tools/Packages/X11SDK.pkg
  • Subversion. Installation options here. Get the latest svn version for compatibility with the server and be sure your client includes SSL (so it can access https repositories).

Common test database

TBD