- iSEG has been successfully built using clang++ version 9.1.0
-
Boost: Boost 1.64, or newer
- Install using homebrew:
brew install boost
- Install using homebrew:
-
HDF5: v1.10.1, or newer
- Install using homebrew:
brew install hdf5
- Install using homebrew:
-
ITK source code: v5.0, or newer
- Download and unzip the ITK folder
- CMake (source ITK folder, build in separate folder), press Configure
- "-DCMAKE_CXX_FLAGS=-std=c++11"
- Press configure and select the
Unix Makefile
generator - Press Advanced checkbox and select BUILD_SHARED_LIBS , press configure again (CMake will find the ZLib library installed with the HDF5 package above)
- Press Generate
- In build directory type
make
-
VTK source code: v7.1.0, or newer
- Install using homebrew:
brew install vtk
- Install using homebrew:
-
Qt: v4.8.7 (min 4.8.6)
- Qt4 is not a standard package in homebrew
- To install it via homebrew follow these instructions
brew tap cartr/qt4 brew tap-pin cartr/qt4 brew install qt@4
- Clone the repository
- Using CMake GUI (source root folder, build in separate folder), press Configure
- Select the generator, e.g.
Xcode
orUnix Makefile
- Define BOOST_ROOT as the folder where Boost library was installed (e.g. /usr/local/Cellar/boost/1.67.0_1), press Configure
- Define HDF5_ROOT as the folder where HDF5 was installed (e.g. /usr/local/Cellar/hdf5/1.10.2_1), press Configure
- Define ITK_DIR as the folder where ITK was built (e.g. ITK_BUILD_DIR), press Configure
- Define QT_QMAKE_EXECUTABLE by selecting qmake.exe in the folder where Qt was compiled/Installed (e.g. /usr/local/Cellar/qt@4/4.8.7_3), press Configure
- Define VTK_DIR as the folder where VTK was built (e.g. VTK_BUILD_DIR), press Configure
- Press Generate, then Open Project
- Build the solution (e.g. type
make
if you are using theUnix Makefiles
generator)