Eigen/Dense include not found.

On a system with Eigen installed systemwide, no conan, compilation of OGS fails with:

/home/naumov/w/ogs/s/MaterialLib/MPL/Property.h:14:10: fatal error: Eigen/Dense: No such file or directory

This issue happens since b7639475: "[Conan] Newer eigen package does not provide a FindEigen3.cmake."

Steps to Reproduce the Problem

  1. /ogs/source> git checkout b7639475 (or current master)
  2. /build/dir> cmake /ogs/source -G Ninja
  3. /build/dir> ninja

Specifications

  • Platform: Archlinux, no conan, Eigen, (VTK, boost) all systemwide, gcc-10.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information