Configuration Error - Eigen - C++14

Hello,

I am trying to install mrtrix3 on windows using the following instructions : Building MRtrix3 from source — MRtrix3 3.0 documentation

However, I am encountering some issues when running “./configure”, I have the following error :

“MRtrix3 was unable to compile a test program involving Eigen3.”

When looking at the configure.log, I have the following information :

Eigen requires at least c++14 support.

The eigen version that was installed using pacman is : mingw-w64-x86_64-eigen3-5.0.1-1

Could you help me solve this issue ?

Many thanks,

Louise

This is because mingw is now shipping eigen 5.0, which is not supported by MRtrix’s current master branch. The easiest work-around is to download eigen 3.4.1 yourself and then pass the appropriate compiler flags to use that version instead of a system-installed one.

You can find information about this here: Build (configure): "Eigen 5.0.0+ requires c++14 support (or greater)" · Issue #3221 · MRtrix3/mrtrix3 · GitHub