MIT-SPARK / Hydra

BSD 2-Clause "Simplified" License
525 stars 65 forks source link

Errors in Kimera-RPGO while building via catkin #25

Closed KirillMouraviev closed 1 year ago

KirillMouraviev commented 1 year ago

Hi, I tried to build Hydra as it written in the Readme, and, while running catkin build, faced with the following compilation errors:

Снимок экрана от 2023-01-26 20-00-51 Снимок экрана от 2023-01-26 20-00-58

Addition of set(CMAKE_CXX_STANDARD 17) into CMakeLists.txt files in GTSAM and Kimera-RPGO did not help.

My system configuration: OS Ubuntu 20.04 LTS, ROS Noetic, GCC compiler version 9.4.0.

Could you say, which is the best way to fix these CMake errors?

nathanhhughes commented 1 year ago

Hi, thanks for reporting this issue! GTSAM recently (in the past few days) started removing usage of various boost classes and replacing them with their standard library versions. We're working on updating Hydra and various dependencies (Kimera-RPGO and Kimera-PGMO) to match, but it will be a while before we finish. You should be able to use version 4.2a8 for GTSAM in the meantime (git checkout 4.2a8 in gtsam's directory). I'll also push changes to the rosinstall file when I get a chance next week.

KirillMouraviev commented 1 year ago

With version 4.2a8, it compiled. Thank you!