open-discussion > RE: DTIPrep command line installation
Jun 21, 2018  02:06 AM | XIAO YANG
RE: DTIPrep command line installation
Dear Experts and DTIPrep users,

I am trying to do the build steps following:

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

I had a similar problem. When I did run: cmake ../DTIPrep

CMake Error at /usr/local/Cellar/cmake/3.11.4/share/cmake/Modules/FindQt4.cmake:1321 (message):
Found unsuitable Qt version "5.6.2" from /anaconda3/bin/qmake, this code
requires Qt 4.x
Call Stack (most recent call first):
Common.cmake:35 (find_package)
SuperBuild.cmake:20 (include)
CMakeLists.txt:28 (include)

Aftet I installed qt4 /usr/local/Cellar/qt@4/4.8.7_5: 2,963 files, 86.1MB. it still didn't work.

Any help and suggestion would be appreciated.

Best,

Xiao

Originally posted by Anna Kautto:
I also have a problem with Qt version. I have 5.6.2 and I get error "Found unsuitable Qt version "5.6.2" from /anaconda3/bin/qmake, this code
requires Qt 4.x" Should I try installing older version of Qt? Did someone already solve this issue?

Anna
Originally posted by Amanda Szymanski:
I'm having a similar issue as Cyril:

CMake Error at /usr/local/Cellar/cmake/3.9.2/share/cmake/Modules/FindQt4.cmake:1318 (message):
Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
Common.cmake:35 (find_package)
SuperBuild.cmake:20 (include)
CMakeLists.txt:28 (include)

I have Qt5 installed. I've tried installing Qt4 & directing ccmake to use that instead, but it still wouldn't work. Any suggestions?

Originally posted by Cyril Pernet:
Dear Juan,

I followed the instructions below but I got an error message related to Qt
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

I'm running Ubuntu Xenial and have intalled Qt5 Qt4 following the instruction here
https://wiki.qt.io/Install_Qt_5_on_Ubuntu
error message seems to be that I need at least qt4.6  ?? 
CMake Error at
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148
(message):
Could NOT find Qt4 (missing: QT_RCC_EXECUTABLE) (found suitable version
"4.8.7", minimum required is "4.6")
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.5/Modules/FindQt4.cmake:1333
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
Common.cmake:38 (find_package)
SuperBuild.cmake:20 (include)
CMakeLists.txt:29 (include)

Any ideee how to make it work ?? 

thx
cyril

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
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
RE: DTIPrep command line installation
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