📄 To see the implemented Documentation click here.
| Library | Version | Source |
|---|---|---|
| ITK | 4.13.3 | zip, tar.gz |
| VTK | 6.3.0 | zip, tar.gz |
| QT | 5.6.3 | download link |
.
ITK-SNAP
├── itk
│ ├── src # source folder of itk
│ └── build # build directory of itk
├── vtk
│ ├── src # source folder of vtk
│ └── build # build directory of vtk
├── qt5 # downloaded qt5
├── build # build directory of itksnap
└── itksnap-v2 # source folder of itksnap
...
└── cmake # version seems not matter. Works in v3.16.0-rc3
| Visual Studio | 2015 |
|---|
- Download src file as .zip or .tar.gz
- Move the source file to
ITK-SNAP/itk/srcand Compile itk using CMAKE GUI :warning: Make sure to check Visual Studio 2015 and x64 (depends on machine) when Configure - Build itk using Visual Studio
- Download src file as .zip or .tar.gz
- Move the source file to
ITK-SNAP/vtk/srcand Compile vtk using CMAKE GUI :warning: Make sure to check Visual Studio 2015 and x64 (depends on machine) when Configure - Build vtk using Visual Studio
- Download Qt with a link
- Clone this project.
# in ITK-SNAP
git clone https://github.com/donghakang/itksnap-v2.git- Download submodule
cd itksnap-v2 # in ITK-SNAP/itksnap
git submodule init
git submodule update-
Build the itksnap by using CMake.app
- CMake.app
ITK_DIR | <absolute dir>/ITK-SNAP/itk/build VTK_DIR | <absolute dir>/ITK-SNAP/vtk/build CMAKE_PREFIX_PATH | <absolute dir>/ITK-SNAP/qt5/5.6.3/clang_64/lib/cmake
-
Build using Visual Studio
-
Package using Visual Studio
⚠️ Sometimes, Visual Studio gives error message saying "vtkxxxx.dll" not found, just simply copy & paste all the dll files in vtk build library to project folder
# in ITK-SNAP/itk/build
cmake ../src- Build itk
# in ITK-SNAP/itk/build
make -j7 # depends on RAM size# in ITK-SNAP/vtk/build
cmake ../src- Build itk
# in ITK-SNAP/vtk/build
make -j7 # depends on RAM size- Download Qt with a link
- Clone this project.
# in ITK-SNAP
git clone https://github.com/donghakang/itksnap-v2.git- Download submodule
cd itksnap-v2 # in ITK-SNAP/itksnap
git submodule init
git submodule update- Build the itksnap by using CMake.app or
ccmake- CMake.app
Both Unix Configuration and XCode configuration works (MacOS)ITK_DIR | <absolute dir>/ITK-SNAP/itk/build VTK_DIR | <absolute dir>/ITK-SNAP/vtk/build CMAKE_PREFIX_PATH | <absolute dir>/ITK-SNAP/qt5/5.6.3/clang_64/lib/cmake
ccmake
# in ITK-SNAP/build ccmake ../itksnap-v2 -D ITK_DIR:FILEPATH=<absolute dir>/ITK-SNAP/itk/build -D VTK_DIR:FILEPATH=<absolute dir>/ITK-SNAP/vtk/build -D CMAKE_PREFIX_DIR:FILEPATH=<absolute dir>/ITK-SNAP/qt5/5.6.3/clang_64/lib/cmake
- Build
make -j7 # in ITK-SNAP/build- Package
make package For the source code/documentation of ITKSNAP click here (Link to ITKSNAP github)