-
-
Notifications
You must be signed in to change notification settings - Fork 45
Home
Requirements
- git
- cmake
- C++ compiler (e.g. GCC)
- make (or other e.g. ninja)
For Linux system's Zlib is recommended and used in examples below, for both, ITK and AlizaMS build. Package name on Debian systems is zlib1g-dev.
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 before running cmake for Aliza MS.
Build ITK. Is is also possible to use distribution's ITK development packages (version 4.x.x or 5.x.x) and skip this step.
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
Note: make -jN (N = number or threads) e.g. make -j4 can be used.
Set ALIZA_QT_VERSION to Qt major version - 4, 5 or 6
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
Note: Skip -DITK_DIR:STRING=$HOME/itk/build if using distribution's ITK, ITK should be detected.
Note: make -jN (N = number or threads) e.g. make -j4 can be used.