MIT-SPARK / Kimera-RPGO

Robust Pose Graph Optimization
BSD 2-Clause "Simplified" License
465 stars 133 forks source link

Eigen/Dense: No such file or directory #79

Open nargenziano opened 2 years ago

nargenziano commented 2 years ago

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 2 years ago

Could be related to this maybe? https://github.com/MIT-SPARK/Kimera-VIO-ROS/issues/12

nargenziano commented 2 years ago

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

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