open-discussion > Installation Error_QT4 issue
Showing 1-3 of 3 posts
Display:
Results per page:
Oct 23, 2021  06:10 AM | neda mohammadi
Installation Error_QT4 issue
Dear Experts,
Hi,

I'm traying to install DTI-Prep on Ubuntu 20.04 alongside other software such as MRTrix, but because of QT4 issue, I  haven't installed it yet.
I followed these commands:

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

But in step 3 I get error about QT4 and annoconda that has QT5 ......

would you please let me know how can I have DTI-Prep on Ubuntu 20.04 and/or alongside MRTrix if it is possible?

Thanks
Neda
Nov 9, 2021  02:11 PM | Martin Styner
RE: Installation Error_QT4 issue
Yeah, unfortunately DTIPrep needs Qt4 (which is a bit outdated). DTIPrep will soon be replaced with an updated new framework called dmriprep which will combine the functionality of DTIPrep with eddy/topup in FSL 6 and that tool will no longer need Qt4.

For your immediate problem, you will need to compile DTIPrep with Qt4, i.e. you need to install a Qt4 package on your machine (you can multiple Qt versions installed)

Martin
Originally posted by neda mohammadi:
Dear Experts,
Hi,

I'm traying to install DTI-Prep on Ubuntu 20.04 alongside other software such as MRTrix, but because of QT4 issue, I  haven't installed it yet.
I followed these commands:

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

But in step 3 I get error about QT4 and annoconda that has QT5 ......

would you please let me know how can I have DTI-Prep on Ubuntu 20.04 and/or alongside MRTrix if it is possible?

Thanks
Neda
Nov 11, 2021  06:11 AM | neda mohammadi
RE: Installation Error_QT4 issue
Thanks Martin,Yes I install QT4, and so...But now in step 4 I get this error:



[ 25%] Generating /home/nbml/Downloads/DTIprep/BRAINSTools-build/ExternalData/ALLPVCRBLWM.nii.gz
-- Fetching "file:////home/nbml/Downloads/DTIprep/BRAINSTools/.ExternalData/MD5/c089e662803c74fec3750c0a40ef8209"
-- Fetching "http://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=c089e662803c74fec3750c0a40ef8209"
-- Fetching "http://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=c089e662803c74fec3750c0a40ef8209&algorithm=MD5"
-- [download 100% complete]
-- Fetching "http://www.itk.org/files/ExternalData/MD5/c089e662803c74fec3750c0a40ef8209"
-- [download 100% complete]
-- Fetching "file:////home/nbml/Downloads/DTIprep/BRAINSTools/ReferenceAtlas/.ExternalData/MD5/c089e662803c74fec3750c0a40ef8209"
-- Fetching "http://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=c089e662803c74fec3750c0a40ef8209"
-- Fetching "http://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=c089e662803c74fec3750c0a40ef8209&algorithm=MD5"
-- [download 100% complete]
-- Fetching "http://www.itk.org/files/ExternalData/MD5/c089e662803c74fec3750c0a40ef8209"
-- [download 100% complete]
CMake Error at /home/nbml/Downloads/DTIprep/BRAINSTools/CMake/ExternalData.cmake:1012 (message):
Object MD5=c089e662803c74fec3750c0a40ef8209 not found at:


file:////home/nbml/Downloads/DTIprep/BRAINSTools/.ExternalData/MD5/c089e662803c74fec3750c0a40ef8209 ("Couldn't read a file:// file")
http://slicer.kitware.com/midas3/api/res... ("HTTP response code said error")
http://midas3.kitware.com/midas/api/rest... ("HTTP response code said error")
http://www.itk.org/files/ExternalData/MD... ("HTTP response code said error")
file:////home/nbml/Downloads/DTIprep/BRA... ("Couldn't read a file:// file")
http://slicer.kitware.com/midas3/api/res... ("HTTP response code said error")
http://midas3.kitware.com/midas/api/rest... ("HTTP response code said error")
http://www.itk.org/files/ExternalData/MD... ("HTTP response code said error")
Call Stack (most recent call first):
/home/nbml/Downloads/DTIprep/BRAINSTools/CMake/ExternalData.cmake:1034 (_ExternalData_download_object)
ReferenceAtlas/CMakeFiles/ReferenceAtlasFetchData.dir/build.make:171: recipe for target 'ExternalData/ALLPVCRBLWM.nii.gz.md5-stamp' failed
make[5]: *** [ExternalData/ALLPVCRBLWM.nii.gz.md5-stamp] Error 1
CMakeFiles/Makefile2:650: recipe for target 'ReferenceAtlas/CMakeFiles/ReferenceAtlasFetchData.dir/all' failed
make[4]: *** [ReferenceAtlas/CMakeFiles/ReferenceAtlasFetchData.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/BRAINSTools.dir/build.make:118: recipe for target 'BRAINSTools-prefix/src/BRAINSTools-stamp/BRAINSTools-build' failed
make[2]: *** [BRAINSTools-prefix/src/BRAINSTools-stamp/BRAINSTools-build] Error 2
CMakeFiles/Makefile2:1270: recipe for target 'CMakeFiles/BRAINSTools.dir/all' failed
make[1]: *** [CMakeFiles/BRAINSTools.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2

It seems that all links have changed, and  I have no idea to fix this problem.

Would you please help me in this issue?

Neda