First of all, I am sure that I used the MinGW 64-bit shell. So, when I typed mrview , there is no error message and it shows like this:
I tried the mrinfo command and it seems to work well (i.e., it shows information about synopsis, usage, description, options).
The echo $PATH reports: /home/Lenovo/mrtrix3/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
The which mrview reports: /home/Lenovo/mrtrix3/bin/mrview
OK, my best guess is mrview is crashing out very quickly, and because Windows handles GUI applications differently from command-line applications, we don’t even get an indication of the crash.
Can you check whether shview runs? If not, then my best guess is your OpenGL drivers either don’t support OpenGL 3.3, need updating, or are somehow incompatible. But it’s very hard to debug this remotely, particularly on Windows, unfortunately.
One thing you can try is to invoke mrview -debug. That should at least get as far as probing your OpenGL drivers, and reporting what it finds. If it produces any output in the terminal, copy/paste it here and we’ll see where the problem might be.
That’s OK, these applications need to be started from the MSYS2 terminal - it sets up the right environment for the application to run. There are ways around this, but it would need a bit of tweaking to work like that.
unfortunately, without any debugging output, it’s really hard to know what’s going on. But given that both GUI applications are failing, the most likely culprit is the OpenGL driver. So yes, I think reinstalling or upgrading your graphics card driver might fix this. If that doesn’t work, I don’t know what else I could suggest…