Skip to content
issakomi edited this page Jan 28, 2021 · 38 revisions

Example how to build Aliza MS on Linux

Requirements

  • git
  • cmake
  • C++ compiler (e.g. GCC)
  • make

For Linux system's Zlib is recommended and used in examples below, for both, ITK and AlizaMS build.

Qt

Qt 4, 5 or 6 can be used. If Qt is from distribution (look for development packages) nothing special should be done usually, otherwise check Qt web-sites for instructions how to install binary version or build Qt from source. If using custom Qt set PATH to Qt's bin folder and evtl. LD_LIBRARY_PATH to Qt's lib folder before running cmake for Aliza MS.

ITK

Build ITK. Is is also possible to use distribution's ITK development packages (version 4.x.x or 5.x.x).

cd $HOME

mkdir itk

cd itk

git clone https://github.com/InsightSoftwareConsortium/ITK.git

mkdir build

cd build

cmake -DBUILD_TESTING:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=Release -DITK_USE_SYSTEM_ZLIB:BOOL=ON ../ITK

make

Build Aliza MS

cd $HOME

mkdir alizams

cd alizams

git clone https://github.com/AlizaMedicalImaging/AlizaMS.git

mkdir build

cd build

cmake -DCMAKE_BUILD_TYPE:STRING=Release -DALIZA_QT_VERSION:STRING=5 -DITK_DIR:STRING=$HOME/itk/build -DMDCM_USE_SYSTEM_ZLIB:BOOL=ON ../AlizaMS

make

Clone this wiki locally