Configure and build fails on Windows install

Hello Mrtrix experts,

I am writing to report that to install Mrtrix on Windows 7 - 64 bit I had to integrate the instructions I have found on your website.

Here is what I had to do:

  • I installed the dependencies, following the instructions;

  • I ran the ./build command, but I received an error on the Eigen3 section
    — I first tried to explicitly define the variable EIGEN_CFLAGS pointing it to minigw filesystem structure (as suggested by the script itself). However, this did not work;
    — I then found this thread (thanks phmag!) and inserted the explicit path of the library (sth like C:/path/to/minigw64/include/eigen3). This did not work either;
    — I have downloaded the latest version of eigen library from the project’s website (at 2017-10-05, 3.3.4). Turns out that this library does not really need specific tweaks: it works as it is.
    I extracted the files on a specific directory within minigw environment and tried to define the EIGEN_CFLAGS variable by using the minigw filesystem structure, but this did not work.
    — (Finally) I defined the EIGEN_CFLAGS variable by using the explicit path of the library (sth like C:/path/to/minigw64/home/user.name/eigendirectory) and it worked. (Yay!)

  • In addition to this: after configure and build, I wanted to use set_path script, but it did not work.
    — I somehow followed an updated version of the instructions included in another thread;
    — I ended up with appending to my .bashrc file the following line:
    export PATH=~/mrtrix3/bin:~/mrtrix3/lib:$PATH

and it worked.
Thanks again for maintaining this software and its discussion board.