411 REFERENCE · Wikibooks
MINC/SoftwareDevelopment/EZMINC/Installing
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Prerequisites
CMAKE: http://www.cmake.org/
MINC1 or MINC2: MINC/Tutorials
ITK (optional) : http://www.itk.org
Installing from the source
Download the source code https://download.github.com/vfonov-EZminc-095c9ac.tar.gz or clone git repository
git clone git://github.com/vfonov/EZminc.git ezminc
Unpack: tar zxf vfonov-EZminc-095c9ac.tar.gz
Run cmake or ccmake to configure:
Setup the MINC1/2 install location MINC_ROOT , default /usr/local/bic
Decide if using MINC1 or MINC2 library USE_MINC2
(Optionally) Specify location of ITK: ITK_DIR, default for Ubuntu /usr/lib/InsightToolkit
Specify installation location CMAKE_INSTALL_PREFIX
Enable building of examples BUILD_EXAMPLES
Enable building of tests BUILD_TESTS
ITK plugin is currently unstable
run make && make install
Warning: version prior to r78 contained a serious bug that would sometimes result in incorrectly written data when integers and shorts are written to minc.