Logo

Mass spectrometry imaging applications for interactive analysis in MITK (M²aia)

View the Project on GitHub m2aia/m2aia

Home

Build instructions

Installation dependencies

Docker (M²aia Online)

pyM2aia m2aia/pym2aia

Docker (MITK extension) m2aia/mitk-docker

Contact

Report an issue here
Author: j.cordes@hs-mannheim.de

THIS PAGE IS WORK IN PROGRESS

Setup for development

Supported platforms: see https://docs.mitk.org/nightly/SupportedPlatformsPage.html

Requirements:

Build Instructions

Create a new folder for M2aia

On Windows: due to path length restrictions, this should be at the top of your folder hierarchy, e.g. C:\M2aiaWorkDir.

Open a terminal (on Windows: preferably the git bash) and follow the instructions.

cd C:\M2aiaWorkDir
mkdir -p build

git clone https://github.com/m2aia/mitk
git clone https://github.com/m2aia/m2aia

Make sure that the m2aia-main branch is selected in the m2aia/mitk repository.

cd mitk
git status

Open the CMake-GUI

Click on "Configure"

On Windows:

An error may occur that Qt5 has not been found: In this case, you have to set Qt5_DIR in CMake (type Qt5 in the search bar of CMake). Set it to the directory of your Qt installation that contains the file Qt5Config.cmake, e.g., on Windows: C:/Qt/5.12.x/msvc2017_64/lib/cmake/Qt5 (WARNING: Make sure that you use / as path separator ALSO ON WINDOWS!)

Additional changes to the CMake configuration (use the search bar of CMake to find the options):

Click on "Configure"

Click on "Generate"

Click on "Open Project"

On Windows, this will open Visual Studio:

Open CMake again

Click on "Generate"

Click on "Open Project"

On Windows: In the Visual Studio Solution Explorer (usually the right pane), select m2aia/Applications/M2aiaWorkbench. Right-click on M2aiaWorkbench and choose Set as Startup Projektfrom the popup menu. Now you can run M²aia.

Post-Build Configuration

To configure the M2aia registration plugin:

Extending M²aia

M²aia is based on MITK.

Documentation on first steps of MITK development