From 37206f515bc2f55f433bace3619f23776d6c0041 Mon Sep 17 00:00:00 2001
From: Matteo Cicuttin <datafl4sh@toxicnet.eu>
Date: Sun, 9 May 2021 20:20:44 +0200
Subject: [PATCH] Added a note in compile instructions.

---
 doc/compile.md | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/compile.md b/doc/compile.md
index 78d7d8e..3083e37 100644
--- a/doc/compile.md
+++ b/doc/compile.md
@@ -16,6 +16,11 @@ ccmake ..
 make
 ```
 
+If Eigen gives you compilation errors, install the last version from their site and configure the project with
+```
+ccmake .. -DEigen3_DIR=/your/eigen/install/path/eigen/cmake/
+```
+
 If you don't compile tests, you will get an executable called `maxwell_solver`. It takes a single parameter, the path of the Lua configuration script (see in `share` for some examples).
 
 To visualize the results you need VisIt (https://wci.llnl.gov/simulation/computer-codes/visit).
\ No newline at end of file
-- 
GitLab