Can you provide more detail on your system and OS? Is this on Windows 10 or 11? Using the latest version of MSYS2? Run from the MinGW64 terminal? Using what hardware exactly?
There is also an odd error message that I’ve not see before:
warning: database file for 'clangarm64' does not exist (use '-Sy' to download)
I can’t find much information about what this means, but it looks suspiciously like you might be running on an ARM64 system…? I have heard that Microsoft were trying to provide builds of Windows for ARM processors, is this what you have? If so, that would explain why this doesn’t work…
I am on Windows 10 using a x64-based processor. I believe I am using the latest MSYS2 and MinGW64 terminal as I followed the download instructions from MRTrix3 and MSYS webpage. How would I about checking that?
To check whether you’re running in the right terminal, I think the simplest things is to type:
Also, I’m not sure whether you’re getting a ‘command not found’ error, or just that mrview seems to hang. If you type mrinfo, do you see the help page for that command? If that works, what happens if you type mrview -help? If that also shows the help page for mrview, then the issue might be related specifically to the graphics. You could try starting mrview with the -debug option and see if that shows anything interesting in the terminal (Windows makes it difficult for GUI applications to interact with the terminal, but this seems to work on my Windows 11 system, so hopefully it’ll work on yours too…).
If you are getting ‘command not found’ errors, what does “which mrview” report? And what is the output of “echo $PATH”?
It’s worth bearing in mind that for some reason Qt (GUI) applications can take some time to start up the first time on MSYS2, so it could be just a matter a waiting a bit longer if it seems to hang…?
Here is a screenshot of everything you recommended to try. I have left the terminal open for hours after entering mrview, etc. and still nothing pops up. what would you recommend for the next steps? I also appreciate all the help!
Just to confirm: typing mrinfo shows nothing at all? You should see the command help page, which you can navigate through and exit by typing q.
If even that isn’t working, then the issue isn’t related to the GUI aspects. I’ve not come across anything like that before, my best guess at this point is that there is interference from some kind of antivirus protection or something of that nature. Are you running anything like that?
Otherwise, everything seems to be set up as I’d expect. I have no idea what the issue could be…
Has anyone else on this forum encountered this issue?
After moving to a new freshly installed computer over the past days (Windows10.0.19044, x64 i7) I saw exactly the same behaviour after installing msys and mrtrix. No output at all for any mrtrix command. During the installation there was also the warning about the missing clangarm64. Apparently it was installed in the further process of the installation as a later call to pacman -Sy showed that no update on clangarm64 was required.
OK, I think I’ve got it working again. As far as I can tell, this was due to a change in the name of the libtiff-5.so library in the libtiff package shipped by MSYS2, which prevented the executables from running.
I’ve recompiled a fresh version of MRtrix, which should now use the version currently found on an up to date MSYS2 install, and replaced the previous MSYS2 package on the releases page with this updated one.