MIT-SPARK/Kimera-RPGO

Eigen/Dense: No such file or directory

Opened this issue · 2 comments

I have just installed Kimera-RPGO on Ubuntu 20.04 LTS (WSL on Windows 10) and I'm trying to compile an example (Examples/RpgoReadG2o.cpp). However, the compilation doesn't go through due to the following error.

In file included from /usr/local/include/gtsam/base/Matrix.h:27,
from /usr/local/include/gtsam/base/Manifold.h:22,
from /usr/local/include/gtsam/geometry/BearingRange.h:21,
from /usr/local/include/gtsam/geometry/Pose2.h:23,
from RpgoReadG2o.cpp:10:
/usr/local/include/gtsam/base/OptionalJacobian.h:22:10: fatal error: Eigen/Dense: No such file or directory
22 | #include <Eigen/Dense>
| ^~~~~~~~~~~~~
compilation terminated.

I tried to copy the Eigen folder to both /usr/local/include and /usr/local/include/gtsam/base/ but I keep getting the same error.

Does anybody have any hint?

yunzc commented

Could be related to this maybe? MIT-SPARK/Kimera-VIO-ROS#12

Could be related to this maybe? MIT-SPARK/Kimera-VIO-ROS#12

Thanks for your answer. I still get the same error though.