Skip to content

kimera-vio-ros gtsam build fails on Ubuntu 20.04 #115

Description

@berndpfrommer

I've added support for Ubuntu 20.04 to Kimera and wanted to submit a PR, but hit a snag regarding GTSAM.

Kimera-vio-ros currently does not build for two reasons:

  1. The image_undistort node does not compile with the c++-11 flag. I have filed a PR against the repo: compile under Ubuntu 20.04 ethz-asl/image_undistort#64 so hopefully this will be fixed at some point.

  2. The "master" branch of gtsam does not compile because it has a broken CMakeLists.txt file in the "wrap" subdirectory (some matlab wrappers):

CMake Error at /home/pfrommer/Documents/kimera/src/gtsam/wrap/CMakeLists.txt:32 (target_link_libraries):
  The "debug" argument must be followed by a library.

This has been fixed with the latest gtsam release 4.0.3. Alas, gtsam v4.0.3 does not build on ubuntu 14.04 (trusty), because for that very same fix it requires cmake > 3.0.0, whereas trusty has only 2.8.12. In a pinch people can install cmake 3 on Ubuntu 14.04, so there is a workaround: https://askubuntu.com/questions/610291/how-to-install-cmake-3-2-on-ubuntu

Question: how important is it for you to keep support for Ubuntu 14.04?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions