> Executing task: C/C++: gcc build active file <
Starting build...
/usr/bin/gcc -fdiagnostics-color=always -g /home/nicolas/gtsam/examples/Pose2SLAMExample_graphviz.cpp -o /home/nicolas/gtsam/examples/Pose2SLAMExample_graphviz
In file included from /usr/local/include/gtsam/base/Matrix.h:27:0,
from /usr/local/include/gtsam/base/Manifold.h:22,
from /usr/local/include/gtsam/base/Lie.h:26,
from /usr/local/include/gtsam/slam/BetweenFactor.h:21,
from /home/nicolas/gtsam/examples/Pose2SLAMExample_graphviz.cpp:17:
/usr/local/include/gtsam/base/OptionalJacobian.h:22:10: fatal error: Eigen/Dense: No such file or directory
#include <Eigen/Dense>
^~~~~~~~~~~~~
compilation terminated.
Build finished with error(s).
I don't get this error when I build and run the example file from the build folder:
make Pose2SLAMExample_graphviz.run