open-discussion > DTIPrep Installation in Ubuntu
Showing 1-3 of 3 posts
Display:
Results per page:
Dec 7, 2022  09:12 AM | vivien chew
DTIPrep Installation in Ubuntu
Hello, I have followed usual steps of git cloning the repo:

However, when running the 'make' command, I was faced with this issue:

[ 8%] Built target zlib
[ 8%] Performing configure step for ''VTK''
-- Group StandAlone modules: vtkChartsCore;vtkCommonComputationalGeometry;vtkCommonCore;vtkCommonDataModel;vtkCommonExecutionModel;vtkCommonMisc;vtkCommonSystem;vtkCommonTransforms;vtkDomainsChemistry;vtkFiltersAMR;vtkFiltersCore;vtkFiltersExtraction;vtkFiltersFlowPaths;vtkFiltersGeneral;vtkFiltersGeneric;vtkFiltersGeometry;vtkFiltersHybrid;vtkFiltersHyperTree;vtkFiltersImaging;vtkFiltersModeling;vtkFiltersParallel;vtkFiltersParallelImaging;vtkFiltersPoints;vtkFiltersProgrammable;vtkFiltersSMP;vtkFiltersSelection;vtkFiltersSources;vtkFiltersStatistics;vtkFiltersTexture;vtkFiltersVerdict;vtkIOAMR;vtkIOCore;vtkIOEnSight;vtkIOExodus;vtkIOGeometry;vtkIOImage;vtkIOImport;vtkIOInfovis;vtkIOLSDyna;vtkIOLegacy;vtkIOMINC;vtkIOMovie;vtkIONetCDF;vtkIOPLY;vtkIOParallel;vtkIOParallelXML;vtkIOSQL;vtkIOTecplotTable;vtkIOVideo;vtkIOXML;vtkIOXMLParser;vtkImagingColor;vtkImagingCore;vtkImagingFourier;vtkImagingGeneral;vtkImagingHybrid;vtkImagingMath;vtkImagingMorphological;vtkImagingSources;vtkImagingStatistics;vtkImagingStencil;vtkInfovisCore;vtkInfovisLayout;vtkParallelCore
-- Group Imaging modules: vtkFiltersImaging;vtkImagingColor;vtkImagingFourier;vtkImagingGeneral;vtkImagingHybrid;vtkImagingMath;vtkImagingMorphological;vtkImagingSources;vtkImagingStatistics;vtkImagingStencil;vtkInteractionImage;vtkRenderingImage
-- Group MPI modules: vtkFiltersParallelDIY2;vtkFiltersParallelGeometry;vtkFiltersParallelMPI;vtkIOMPIImage;vtkIOMPIParallel;vtkIOParallelNetCDF;vtkParallelMPI;vtkdiy2
-- Group Qt modules: vtkGUISupportQt;vtkGUISupportQtOpenGL;vtkGUISupportQtSQL;vtkRenderingQt;vtkViewsQt
-- Group Rendering modules: vtkGeovisCore;vtkIOExport;vtkInteractionImage;vtkInteractionStyle;vtkInteractionWidgets;vtkRenderingAnnotation;vtkRenderingContext2D;vtkRenderingCore;vtkRenderingFreeType;vtkRenderingImage;vtkRenderingLIC;vtkRenderingLOD;vtkRenderingLabel;vtkRenderingVolume;vtkViewsContext2D;vtkViewsCore;vtkViewsInfovis
-- Group Tk modules: vtkRenderingTk
-- Group Views modules: vtkViewsContext2D;vtkViewsGeovis
-- Group Web modules: vtkWebCore;vtkWebPython;vtkWebGLExporter
-- Backend OpenGL2 modules: vtkDomainsChemistryOpenGL2;vtkIOExportOpenGL2;vtkImagingOpenGL2;vtkRenderingContextOpenGL2;vtkRenderingGL2PSOpenGL2;vtkRenderingLICOpenGL2;vtkRenderingOculus;vtkRenderingOpenGL2;vtkRenderingOpenVR;vtkRenderingVolumeOpenGL2
-- Backend OpenGL modules: vtkIOExportOpenGL;vtkRenderingContextOpenGL;vtkRenderingGL2PS;vtkRenderingLIC;vtkRenderingOpenGL;vtkRenderingVolumeOpenGL
-- Enabling modules for OpenGL.
-- Enabled 112 modules:
.
.
.
-- Building tiff version 4.0.6
-- libtiff library version 5.2.4
-- CMAKE_HOST_SYSTEM_PROCESSOR set to x86_64
-- HOST_FILLORDER set to FILLORDER_LSB2MSB
-- HOST_BIG_ENDIAN set to 0
-- HAVE_IEEEFP set to 1
CMake Error at Rendering/OpenGL/CMakeLists.txt:319 (message):
X11_Xt_LIB could not be found. Required for VTK X lib.
-- Configuring incomplete, errors occurred!
See also "/home/vivien/DTIPrep-build/VTK-build/CMakeFiles/CMakeOutput.log".
See also "/home/vivien/DTIPrep-build/VTK-build/CMakeFiles/CMakeError.log".
make[2]: *** [CMakeFiles/VTK.dir/build.make:108: VTK-prefix/src/VTK-stamp/VTK-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:1042: CMakeFiles/VTK.dir/all] Error 2
make: *** [Makefile:95: all] Error 2

May I know how to proceed with this to launch the GUI?
Dec 7, 2022  12:12 PM | Martin Styner
RE: DTIPrep Installation in Ubuntu
This error is from the compilation process, pretty early, during the compilation of VTK (a visualization library needed by DTIPrep during compilation).
Not sure why, but a basic X library is missing on your system.

Did you try the linux download version first?

Best
Martin

Originally posted by vivien chew:
Hello, I have followed usual steps of git cloning the repo:

However, when running the 'make' command, I was faced with this issue:

[ 8%] Built target zlib
[ 8%] Performing configure step for ''VTK''
-- Group StandAlone modules: vtkChartsCore;vtkCommonComputationalGeometry;vtkCommonCore;vtkCommonDataModel;vtkCommonExecutionModel;vtkCommonMisc;vtkCommonSystem;vtkCommonTransforms;vtkDomainsChemistry;vtkFiltersAMR;vtkFiltersCore;vtkFiltersExtraction;vtkFiltersFlowPaths;vtkFiltersGeneral;vtkFiltersGeneric;vtkFiltersGeometry;vtkFiltersHybrid;vtkFiltersHyperTree;vtkFiltersImaging;vtkFiltersModeling;vtkFiltersParallel;vtkFiltersParallelImaging;vtkFiltersPoints;vtkFiltersProgrammable;vtkFiltersSMP;vtkFiltersSelection;vtkFiltersSources;vtkFiltersStatistics;vtkFiltersTexture;vtkFiltersVerdict;vtkIOAMR;vtkIOCore;vtkIOEnSight;vtkIOExodus;vtkIOGeometry;vtkIOImage;vtkIOImport;vtkIOInfovis;vtkIOLSDyna;vtkIOLegacy;vtkIOMINC;vtkIOMovie;vtkIONetCDF;vtkIOPLY;vtkIOParallel;vtkIOParallelXML;vtkIOSQL;vtkIOTecplotTable;vtkIOVideo;vtkIOXML;vtkIOXMLParser;vtkImagingColor;vtkImagingCore;vtkImagingFourier;vtkImagingGeneral;vtkImagingHybrid;vtkImagingMath;vtkImagingMorphological;vtkImagingSources;vtkImagingStatistics;vtkImagingStencil;vtkInfovisCore;vtkInfovisLayout;vtkParallelCore
-- Group Imaging modules: vtkFiltersImaging;vtkImagingColor;vtkImagingFourier;vtkImagingGeneral;vtkImagingHybrid;vtkImagingMath;vtkImagingMorphological;vtkImagingSources;vtkImagingStatistics;vtkImagingStencil;vtkInteractionImage;vtkRenderingImage
-- Group MPI modules: vtkFiltersParallelDIY2;vtkFiltersParallelGeometry;vtkFiltersParallelMPI;vtkIOMPIImage;vtkIOMPIParallel;vtkIOParallelNetCDF;vtkParallelMPI;vtkdiy2
-- Group Qt modules: vtkGUISupportQt;vtkGUISupportQtOpenGL;vtkGUISupportQtSQL;vtkRenderingQt;vtkViewsQt
-- Group Rendering modules: vtkGeovisCore;vtkIOExport;vtkInteractionImage;vtkInteractionStyle;vtkInteractionWidgets;vtkRenderingAnnotation;vtkRenderingContext2D;vtkRenderingCore;vtkRenderingFreeType;vtkRenderingImage;vtkRenderingLIC;vtkRenderingLOD;vtkRenderingLabel;vtkRenderingVolume;vtkViewsContext2D;vtkViewsCore;vtkViewsInfovis
-- Group Tk modules: vtkRenderingTk
-- Group Views modules: vtkViewsContext2D;vtkViewsGeovis
-- Group Web modules: vtkWebCore;vtkWebPython;vtkWebGLExporter
-- Backend OpenGL2 modules: vtkDomainsChemistryOpenGL2;vtkIOExportOpenGL2;vtkImagingOpenGL2;vtkRenderingContextOpenGL2;vtkRenderingGL2PSOpenGL2;vtkRenderingLICOpenGL2;vtkRenderingOculus;vtkRenderingOpenGL2;vtkRenderingOpenVR;vtkRenderingVolumeOpenGL2
-- Backend OpenGL modules: vtkIOExportOpenGL;vtkRenderingContextOpenGL;vtkRenderingGL2PS;vtkRenderingLIC;vtkRenderingOpenGL;vtkRenderingVolumeOpenGL
-- Enabling modules for OpenGL.
-- Enabled 112 modules:
.
.
.
-- Building tiff version 4.0.6
-- libtiff library version 5.2.4
-- CMAKE_HOST_SYSTEM_PROCESSOR set to x86_64
-- HOST_FILLORDER set to FILLORDER_LSB2MSB
-- HOST_BIG_ENDIAN set to 0
-- HAVE_IEEEFP set to 1
CMake Error at Rendering/OpenGL/CMakeLists.txt:319 (message):
X11_Xt_LIB could not be found. Required for VTK X lib.
-- Configuring incomplete, errors occurred!
See also "/home/vivien/DTIPrep-build/VTK-build/CMakeFiles/CMakeOutput.log".
See also "/home/vivien/DTIPrep-build/VTK-build/CMakeFiles/CMakeError.log".
make[2]: *** [CMakeFiles/VTK.dir/build.make:108: VTK-prefix/src/VTK-stamp/VTK-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:1042: CMakeFiles/VTK.dir/all] Error 2
make: *** [Makefile:95: all] Error 2

May I know how to proceed with this to launch the GUI?
Jan 5, 2023  05:01 AM | Michael Green
RE: DTIPrep Installation in Ubuntu
Hi there,

I've also got an issue with an Ubuntu installation.
It's giving me this error:

ERROR: Cannot install dtiplayground==0.4.5, dtiplayground==0.5.0 and dtiplayground==0.5.2 because these package versions have conflicting dependencies.

The conflict is caused by:
dtiplayground 0.5.2 depends on antspyx==0.3.2
dtiplayground 0.5.0 depends on antspyx==0.3.2
dtiplayground 0.4.5 depends on antspyx==0.3.2
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

Any help would be fantastic, thanks. Michael