open-discussion > RE: DTIPrep command line installation
Sep 5, 2018  03:09 PM | Abhineet Ojha
RE: DTIPrep command line installation
Originally posted by Juan Prieto:
The following commit fixes finding the DTIProcess package https://github.com/NIRALUser/DTIPrep/com...
The following commit fixes building the TIFF library with ZLIB support https://github.com/NIRALUser/DTIPrep/com...


Please remove the current version of the source code and try the commands again.

Best,
Dear Sir,
First of all, thanks for updating the program. I am able to compile DTIPrep.
Sorry to bother you again.
I am getting an error (in red colour font)while running in Performing configure step for 'niral_utilities' part while running make command.
I had try to look for it online but unable to find any solution.
Please provide your insight on how to solve this error.
I am also attaching .png file showing my ccmake option for DTIPrep.


abhineet@abhineet-SVE15118FNB:~/DTIPrep-build$ cmake ../DTIPrep
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.7", minimum required is "4.6")
-- Performing Test C_HAS_WARNING-Wformat=2
-- Performing Test C_HAS_WARNING-Wformat=2 - Success
-- Performing Test CXX_HAS_WARNING-Wformat=2
-- Performing Test CXX_HAS_WARNING-Wformat=2 - Success
-- Found Qt4: /usr/bin/qmake (found version "4.8.7")
-- SuperBuild - DTIPrepTools => Requires VTK, DCMTK, ITKv4, SlicerExecutionModel, DTIProcess, niral_utilities, BRAINSTools,
-- SuperBuild - VTK[OK]
-- SuperBuild - DCMTK[OK]
-- SuperBuild - DCMTK => Requires TIFF, JPEG, zlib,
-- SuperBuild - TIFF[OK]
-- SuperBuild - TIFF => Requires zlib, JPEG,
-- SuperBuild - zlib[OK]
-- SuperBuild - JPEG[OK]
-- SuperBuild - TIFF[OK]
-- SuperBuild - DCMTK[OK]
-- SuperBuild - ITKv4 => Requires VTK[INCLUDED], DCMTK[INCLUDED], TIFF[INCLUDED], JPEG[INCLUDED], zlib[INCLUDED],
-- SuperBuild - ITKv4[OK]
-- SuperBuild - SlicerExecutionModel => Requires ITKv4[INCLUDED],
-- SuperBuild - SlicerExecutionModel[OK]
-- SuperBuild - DTIProcess => Requires ITKv4[INCLUDED], VTK[INCLUDED], SlicerExecutionModel[INCLUDED],
-- SuperBuild - DTIProcess[OK]
-- SuperBuild - niral_utilities => Requires ITKv4[INCLUDED], VTK[INCLUDED], SlicerExecutionModel[INCLUDED],
-- SuperBuild - niral_utilities[OK]
-- SuperBuild - BRAINSTools => Requires ITKv4[INCLUDED], SlicerExecutionModel[INCLUDED], VTK[INCLUDED], DCMTK[INCLUDED], teem, OpenCV, zlib[INCLUDED],
-- SuperBuild - teem => Requires zlib[INCLUDED],
-- SuperBuild - teem[OK]
-- SuperBuild - OpenCV[OK]
-- SuperBuild - BRAINSTools[OK]
-- SuperBuild - BRAINSTools => Requires ITKv4[INCLUDED], SlicerExecutionModel[INCLUDED], VTK[INCLUDED], DCMTK[INCLUDED], teem[INCLUDED], OpenCV[INCLUDED], zlib[INCLUDED], TIFF[INCLUDED], JPEG[INCLUDED],
-- SuperBuild - BRAINSTools[OK]
-- SuperBuild - DTIPrepTools[OK]
-- Configuring done
-- Generating done
-- Build files have been written to: /home/abhineet/DTIPrep-build

abhineet@abhineet-SVE15118FNB:~/DTIPrep-build$ sudo make
[ 8%] Built target OpenCV
[ 16%] Built target zlib
[ 24%] Built target teem
[ 32%] Built target VTK
[ 39%] Built target JPEG
[ 47%] Built target TIFF
[ 55%] Built target DCMTK
[ 63%] Built target ITKv4
[ 70%] Built target SlicerExecutionModel
[ 78%] Built target DTIProcess
[ 79%] Performing configure step for 'niral_utilities'
-- Configuring executable: ImageMath
-- Configuring executable: convertITKformats
-- Configuring executable: convertITKformats4D
-- Configuring executable: convertTextToImage
-- Configuring done
CMake Error: INSTALL(EXPORT) given unknown export "niral_utilitiesTargets"
-- Generating done
-- Build files have been written to: /home/abhineet/DTIPrep-build/niral_utilities-build
CMakeFiles/niral_utilities.dir/build.make:109: recipe for target 'niral_utilities-prefix/src/niral_utilities-stamp/niral_utilities-configure' failed
make[2]: *** [niral_utilities-prefix/src/niral_utilities-stamp/niral_utilities-configure] Error 1
CMakeFiles/Makefile2:697: recipe for target 'CMakeFiles/niral_utilities.dir/all' failed
make[1]: *** [CMakeFiles/niral_utilities.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
Attachment: ccmake DTIPrep.png

Threaded View

TitleAuthorDate
Tanmay Nath Sep 19, 2016
Ryan H Mar 13, 2018
Juan Prieto Mar 15, 2018
Juan Prieto Sep 19, 2016
Martin Styner Sep 19, 2016
Tanmay Nath Sep 19, 2016
Juan Prieto Sep 19, 2016
Abhineet Ojha Sep 3, 2018
Juan Prieto Sep 4, 2018
RE: DTIPrep command line installation
Abhineet Ojha Sep 5, 2018
Juan Prieto Sep 10, 2018
Huan Yang Mar 5, 2018
Martin Styner Mar 5, 2018
Huan Yang Mar 6, 2018
Juan Prieto Mar 6, 2018
Cyril Pernet Aug 8, 2017
Amanda Szymanski Sep 8, 2017
Anna Kautto Apr 22, 2018
XIAO YANG Jun 21, 2018
Kelli Dominick Jun 29, 2018
Martin Styner Jun 29, 2018
Tanmay Nath Sep 19, 2016
Tanmay Nath Sep 20, 2016
Juan Prieto Sep 20, 2016
Tanmay Nath Sep 20, 2016