Im testing the new forum.
I try to install MRTrix on Windows…just to test it.
I tried both ways (with and without MSYS2).
Both failed for me and I think its the qt - qmake file.
For the MSYS2 Installation it gave me:
$ ./configure
MRtrix build type requested: release
Detecting OS: windows
Checking for C++11 compliant compiler [g++]: 5.3.0 - tested ok
Detecting pointer size: 64 bit
Detecting byte order: little-endian
Checking for variable-length array support: yes
Checking for non-POD variable-length array support: yes
Checking for zlib compression library: 1.2.8
Checking for GNU Scientific Library: 2.1
Checking whether GSL compiles with -DHAVE_INLINE: yes
Checking shared library generation: yes
Checking for Qt moc: moc (version 4.8.7)
Checking for Qt qmake: qmake (version 4.8.7)
Checking for Qt rcc: rcc (version 4.8.7)
Checking for Qt:
ERROR: qmake returned with error:
QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file: C:/msys64/tmp/tmp5s776d44/qt.pro
I tried to install it by my own, not to use the QT Reps, but that didnt help either. Any quick hints?
Any chance you could post the full configure.log file? Preferably the one produced using MSYS2. My guess is, you have conflicting versions of Qt installed, or something like this…
or something like that, and try again. I’m not sure why the instructions on the wiki current list version 4, maybe @bjeurissen has some good reason for that?
Otherwise, if that still fails with the same error, you could try explicitly setting your QMAKESPEC variable with something sensible. Given your log, I expect something like this might do the trick:
or something like this (I don’t have a Windows install to play with right now, so this is just a guess based on what I’ve seen with a Google search). Have a look inside that mkspecs folder, see if there’s anything that looks more promising.
Otherwise, I’m a bit stumped. I don’t really understand why you would need to set this in the first place, the instructions seem to have worked fine for others… Might be worth having a look a any init scripts you might have in your account, see whether any of them explicitly set or unset this variable?
I am building and running mrtrix on windows with the latest MSYS2 qt5 package just fine. I put qt4 on the wiki, because a couple of months ago I had some OpenGL glitches using the MYS2 qt5 package, but those seem to be fixed by now…
I reinstalled it on 5 Windows computers. 2 had the problem too and the other 3 worked. I’m not sure what the problem is. On one the qmake.exe still stays as qmake.exe.bak after installation. I dont know why. Non of them has an QT Phyton or something preinstalled.
QMAKESPEC: Where do I have to look for. Its not set in bashrc and so on.
Maybe this is the problem.