I added several different versions of Eigen to default including directory of Visual C++. But I got collapse problem when using LDLT (Cholesky decomposition) for so
LDLT
In order to check the version number of Eigen C++ template library, just type
dpkg -p libeigen3-dev
in the terminal. Or just type
pkg-config --modversion eigen3
you will get the Eigen version.