Skip to content
issakomi edited this page Aug 13, 2020 · 38 revisions

Example how to build Aliza MS on Linux

Requirements

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

Build ITK

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 ../ITK

make

Qt5

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.

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 -DITK_DIR:STRING=$HOME/itk/build -DMDCM_DIR:STRING=$HOME/mdcm/build ../AlizaMS

make

Notes

  • Qt5 is default, to use Qt4 set USE_QT_V_5 option to 'false' (-DUSE_QT_V_5:BOOL=OFF)
  • make -jN uses N cores, e.g. make -j4
Clone this wiki locally