Error: GTSAM was built against a different version of Eigen
Hello I am trying to do catkin build the Hydra package, it throws me an error while building the hydra_ros package
error: static assertion failed: Error: GTSAM was built against a different version of Eigen 75 | GTSAM_EIGEN_VERSION_WORLD==EIGEN_WORLD_VERSION &&
I tried https://github.com/MIT-SPARK/Kimera-VIO-ROS/issues/12 fixing the issue but it didn't help I am using ros1 and ubuntu 20.04
Thanks for your interest in our work! Please make sure you are using the correct version of GTSAM (4.2a8 is the current version that the rosinstall file for Hydra specifies). That said, specifying -DGTSAM_USE_SYSTEM_EIGEN=ON (and rebuilding) should also fix the issue.
Note that Hydra now uses the version of GTSAM vendored by ROS (see the package announcement here), so this no longer applies