Difference between revisions of "Build requirements"

From mitk.org
Jump to navigation Jump to search
(cleanup)
(4 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
* Also MITK has been successfully compiled and run with the free-of-charge [http://www.microsoft.com/express/vc/Default.aspxMicrosoft Visual C++ 2008 Express Edition].
 
* Also MITK has been successfully compiled and run with the free-of-charge [http://www.microsoft.com/express/vc/Default.aspxMicrosoft Visual C++ 2008 Express Edition].
 
* MinGW (gcc 4.4.0): With MITK 0.14 onwards, MITK can be compiled with gcc 4.4.0 on Windows using MinGW. See [[MinGW Instructions]] for details.
 
* MinGW (gcc 4.4.0): With MITK 0.14 onwards, MITK can be compiled with gcc 4.4.0 on Windows using MinGW. See [[MinGW Instructions]] for details.
 +
 +
=== MacOS ===
 +
 +
[[MacOSX|Building MITK for MacOS]] contains a detailed description.
  
 
== ITK Download ==
 
== ITK Download ==
  
We recommend to use the latest stable ITK version. Usually MITK is compatible with the latest two versions of ITK.
+
We recommend to use the latest stable ITK version. Usually MITK is compatible with the latest two versions of ITK. BUILD_SHARED_LIBS must be turned ON.
  
 
[http://itk.org/ITK/resources/software.html ITK-Download page]
 
[http://itk.org/ITK/resources/software.html ITK-Download page]
Line 23: Line 27:
 
== VTK Download ==
 
== VTK Download ==
  
Currently, VTK version 5.2 or 5.4 is required. VTK_USE_PARALLEL and VTK_USE_HYBRID must be turned ON.  
+
Currently, VTK version 5.2 or 5.4 is required. VTK_USE_PARALLEL, VTK_USE_HYBRID, and BUILD_SHARED_LIBS must be turned ON.  
  
If you want to use Qt for application development, compile VTK with VTK_USE_GUISUPPORT (advanced CMake option), VTK_USE_QVTK and VTK_USE_QVTK_QTOPENGL turned ON.
+
If you want to use Qt for application development, compile VTK_USE_GUISUPPORT (advanced CMake option), VTK_USE_QVTK and VTK_USE_QVTK_QTOPENGL turned ON.
  
 
[http://vtk.org/VTK/resources/software.html VTK-Download page]
 
[http://vtk.org/VTK/resources/software.html VTK-Download page]
Line 44: Line 48:
  
 
Qt can be downloaded from Nokia [http://www.qtsoftware.com/downloads here].
 
Qt can be downloaded from Nokia [http://www.qtsoftware.com/downloads here].
 +
 +
== OpenCV (optional) ==
 +
 +
Intel`s Open Source Computer Vision library may be used for video playback in MITK, but is completely optional! Currently, only OpenCV 2 is supported as it is built with CMake and therefore easily integrated in MITK. Just download OpenCV from their [http://opencv.willowgarage.com/wiki/ Website] for your OS. You may compile OpenCV from source or use an installer. When building from source, there are no special options you have to set in CMake.

Revision as of 11:29, 3 May 2010

Build Requirements

Compilers

Linux

  • gcc 4.1 through 4.4

Windows

  • VC8.0 (2005)
  • VC9.0 (2008).
  • Also MITK has been successfully compiled and run with the free-of-charge Visual C++ 2008 Express Edition.
  • MinGW (gcc 4.4.0): With MITK 0.14 onwards, MITK can be compiled with gcc 4.4.0 on Windows using MinGW. See MinGW Instructions for details.

MacOS

Building MITK for MacOS contains a detailed description.

ITK Download

We recommend to use the latest stable ITK version. Usually MITK is compatible with the latest two versions of ITK. BUILD_SHARED_LIBS must be turned ON.

ITK-Download page

VTK Download

Currently, VTK version 5.2 or 5.4 is required. VTK_USE_PARALLEL, VTK_USE_HYBRID, and BUILD_SHARED_LIBS must be turned ON.

If you want to use Qt for application development, compile VTK_USE_GUISUPPORT (advanced CMake option), VTK_USE_QVTK and VTK_USE_QVTK_QTOPENGL turned ON.

VTK-Download page

CMake Download

MITK requires the latest stable CMake release.

CMake-Download page

Windows installer packages can be built using the Nullsoft scriptable install system.

GUI-Toolkits

The core MITK library is GUI-toolkit independent.

The main example application ExtApp is implemented using Qt 4.5. It is currently under heavy development, since we only recently switched to Qt 4.

Qt can be downloaded from Nokia here.

OpenCV (optional)

Intel`s Open Source Computer Vision library may be used for video playback in MITK, but is completely optional! Currently, only OpenCV 2 is supported as it is built with CMake and therefore easily integrated in MITK. Just download OpenCV from their Website for your OS. You may compile OpenCV from source or use an installer. When building from source, there are no special options you have to set in CMake.