Skip to content

Compilation Tips

Jose Alonso Solis-Lemus edited this page Jul 11, 2023 · 4 revisions

To build CemrgApp Version 1.0 from source code:

  1. Clone the repository from: https://github.com/CemrgAppDevelopers/CemrgApp.git
  2. Checkout version CemrgApp Version 1.0: git checkout tags/v1.0
  3. Create a separate build directory, for example: CemrgApp-build
  4. Run CMake and point to correct source code and build directories
  5. Run CMake Configure
  6. Point MITK_DIR to a previously built MITK 2016.03.0 directory, for example:
    ~/MITK/MITK-build
  7. Point Qt5_DIR to a previously installed Qt 5.4.2 directory, for example:
    ~/Qt/5.4.2/gcc_64/lib/cmake/Qt5
  8. Run CMake Generate
  9. Open a terminal, cd into the build directory and run make, for example:
    cd CemrgApp-build; make -j8

We recommend building a complete version of MITK by setting MITK_BUILD_CONFIGURATION to All. Please note that otherwise, your version of previously built MITK should have the following plugins available:

  • Basic Image Processing
  • Dicom
  • Pointset Interaction
  • Segmentation