Hydra icon indicating copy to clipboard operation
Hydra copied to clipboard

Error: GTSAM was built against a different version of Eigen

Open skarthikbe96 opened this issue 2 years ago • 1 comments

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

skarthikbe96 avatar Nov 03 '23 14:11 skarthikbe96

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.

nathanhhughes avatar Nov 07 '23 21:11 nathanhhughes

Note that Hydra now uses the version of GTSAM vendored by ROS (see the package announcement here), so this no longer applies

nathanhhughes avatar Jul 09 '24 14:07 nathanhhughes