Skip to content

Compile problem on ze_common  #5

@nswang1994

Description

@nswang1994

Here is the error:

/home/nswang1994/catkin_ws/src/fault_tolerant_control/vio_estimator/common/ze_common/include/ze/common/csv_trajectory.hpp:73:21: required from here
/usr/include/c++/9/bits/stl_map.h:122:71: error: static assertion failed: std::map must have the same value_type as its allocator
122 | static_assert(is_same<typename _Alloc::value_type, value_type>::value,
| ^~~~~
/usr/include/c++/9/bits/stl_map.h: In instantiation of ‘class std::map<long int, Eigen::Matrix<double, 7, 1>, std::less, Eigen::aligned_allocator<Eigen::Matrix<double, 7, 1> > >’:
/home/nswang1994/catkin_ws/src/fault_tolerant_control/vio_estimator/common/ze_common/include/ze/common/buffer-inl.hpp:204:53: required from ‘class ze::Buffer<double, 7>’
/home/nswang1994/catkin_ws/src/fault_tolerant_control/vio_estimator/common/ze_common/include/ze/common/csv_trajectory.hpp:91:21: required from here
/usr/include/c++/9/bits/stl_map.h:122:71: error: static assertion failed: std::map must have the same value_type as its allocator
make[2]: *** [CMakeFiles/ze_common.dir/build.make:76: CMakeFiles/ze_common.dir/src/csv_trajectory.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2041: CMakeFiles/ze_common.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

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