open-discussion > RE: DTIPrep command line installation
Sep 3, 2018  10:09 AM | Abhineet Ojha
RE: DTIPrep command line installation
Originally posted by Juan Prieto:
Did you execute the make command after configuration? 

The build steps should look something like this. 

1. git clone https://github.com/NIRALUser/DTIPrep.git
2. mkdir DTIPrep-build; cd DTIPrep-build
3. ccmake ../DTIPrep
4. make

Best, 

Juan

1. git clone https://github.com/NIRALUser/DTIPrep.git
2. mkdir DTIPrep-build; cd DTIPrep-build
3. ccmake ../DTIPrep
4. make

I am able to execute first two commands without any error but in third command it is giving this error(mentioned in red colour). Please, look at it and provide appropriate solution


abhineet@abhineet-SVE15118FNB:~/DTIPrep-build$ sudo 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]
CMake Error at SuperBuild/External_DTIProcess.cmake:36 (if):
if given arguments:

"DEFINED" "DTIProcess_DIR" "AND" "NOT" "EXISTS" "AND" "NOT" "EXISTS"
Unknown arguments specified
Call Stack (most recent call first):
CMake/SlicerMacroCheckExternalProjectDependency.cmake:69 (include)
SuperBuild.cmake:288 (SlicerMacroCheckExternalProjectDependency)
CMakeLists.txt:28 (include)
-- Configuring incomplete, errors occurred!
See also "/home/abhineet/DTIPrep-build/CMakeFiles/CMakeOutput.log".
See also "/home/abhineet/DTIPrep-build/CMakeFiles/CMakeError.log".

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
RE: DTIPrep command line installation
Abhineet Ojha Sep 3, 2018
Juan Prieto Sep 4, 2018
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