Skip to content

Error when building the code #2133

@bhung-bdai

Description

@bhung-bdai

Description

When I run the build process exactly as listed in the Quickstart, I get the following results:

/path/to/navigation/LieGroupEKF.h:98:46: error: incomplete type ‘gtsam::traits<Eigen::Matrix<double, -1, -1> >’ used in nested name specifier
   98 |         const Matrix nextX = traits<Matrix>::Retract(this->X_, xi * dt, A ? &Dexp : nullptr); // just addition
      |                                              ^~~~~~~
make[2]: *** [examples/CMakeFiles/IEKF_NavstateExample.dir/build.make:76: examples/CMakeFiles/IEKF_NavstateExample.dir/IEKF_NavstateExample.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:24572: examples/CMakeFiles/IEKF_NavstateExample.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

Steps to reproduce

  1. Run the quickstart installation instructions on the latest branch of develop

Expected behavior

The build should succeed.

Environment

  1. gcc version 11.4
  2. boost 1.7.4
  3. cmake 3.22.1

Additional information

Not using system Eigen, using the GTSAM bundled one

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