Documentation/4.0/Developers/Build Instructions

From Slicer Wiki
Jump to: navigation, search
Home < Documentation < 4.0 < Developers < Build Instructions

Overview

Superbuild is a new

How to get started ?

  • Prerequisites - Download (and if required compile) Qt - Use one of the link provided below:
Linux Mac Windows
Tiger SnowLeopard
32bits 64bits 32bits 64bits 32bits 64bits 32bits 64bits
Qt source link 4.6.2 4.7 beta 4.6.2
Qt binary link 4.6.2 4.6.2 4.6.2 4.7 beta 4.6.2 (vs2008) -


  • Step1 : Checkout slicer sources using subversion

For example:

cd MyProjects
svn co http://svn.slicer.org/Slicer3/trunk


  • Step2 : Configure slicer project using either ccmake or cmake-gui - The grids displayed below summarized the available options

Using ccmake:

mkdir Slicer3-SuperBuild
cd Slicer3-SuperBuild
ccmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/myself/qt-4.6.2/qt/bin/qmake ../Slicer3/SuperBuild

Using cmake-gui

Where is the source code: C:/MyProjects/Slicer3/SuperBuild
Where to build the binaries: C:/MyProjects/Slicer3-Superbuild

Set of options and supported plateforms:

Options Platform
Slicer3_USE_KWWIDGETS Slicer3_USE_PYTHON Slicer3_USE_QT Slicer3_USE_PYTHONQT Linux Mac windows
ON ON OFF OFF Y Y Y
ON OFF OFF OFF Y Y Y
ON ON ON OFF Y N Y
OFF OFF ON OFF Y Y Y
OFF OFF ON ON Y Y Y
  • Step3: Configure and Generate the solution files
  • Step4: Build

Supported platform and options