-
-
Notifications
You must be signed in to change notification settings - Fork 45
Home
Updated 12.8.2020
Requirements
- git
- cmake
- C++ compiler (e.g. GCC)
- make
- Qt
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
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.
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_USE_SYSTEM_ZLIB:BOOL=ON ../AlizaMS
make
For master branch starting from 12 Dec 2020 use cmake -DCMAKE_BUILD_TYPE:STRING=Release -DALIZA_QT_VERSION:STRING=5 -DITK_DIR:STRING=$HOME/itk/build -DMDCM_USE_SYSTEM_ZLIB:BOOL=ON ../AlizaMS
- It is also possible to use system's ITK, install development package (a lot of dependencies), it will be detected by cmake
- For Linux use system's Zlib, specially with newest Linux distributions (-DMDCM_USE_SYSTEM_ZLIB:BOOL=ON)
- Qt5 is default, to use Qt4 set USE_QT_V_5 option to 'false' (-DUSE_QT_V_5:BOOL=OFF) or, starting from 12 Dec 2020 use DALIZA_QT_VERSION:STRING=4
- make -jN uses N cores, e.g. make -j4