ydsf16 / dre_slam

RGB-D Encoder SLAM for a Differential-Drive Robot in Dynamic Environments
https://www.mdpi.com/2072-4292/11/4/380
GNU General Public License v3.0
180 stars 56 forks source link

Issue with catkin_make #4

Open L-ED opened 3 years ago

L-ED commented 3 years ago

Hi everyone, i'm trying to install and make dre_slam on docker ubuntu:16.04 image.

1) I installed nvidia-container-toolkit and docker image ubuntu:16.04

Inside image:

2) Installed ros-kinetic and catkin by following ros tutorials

3) Created catkin workspace 

4) Installed opencv4 : **https://docs.opencv.org/4.0.0/d7/d9f/tutorial_linux_install.html**

5) Downloaded and installed eigen 3.3.7:
        cd /path/to/working/dir
        wget -q https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.tar.bz2
        tar xf eigen-3.3.7.tar.bz2
        rm -rf eigen-3.3.7.tar.bz2
        cd eigen-3.3.7
        mkdir -p build && cd build
        cmake \
            -DCMAKE_BUILD_TYPE=Release \
            -DCMAKE_INSTALL_PREFIX=/usr/local \
              ..
        make -j4
        make install 

6) Downloaded and installed ceres solver:  
        wget http://ceres-solver.org/ceres-solver-2.0.0.tar.gz
        sudo apt-get install cmake
        sudo apt-get install libgoogle-glog-dev libgflags-dev
        sudo apt-get install libatlas-base-dev
        sudo apt-get install libsuitesparse-dev

        tar zxf ceres-solver-2.0.0.tar.gz
        mkdir ceres-bin
        cd ceres-bin
        cmake ../ceres-solver-2.0.0
        make -j3
        make test
        make install

7) Built dre_slam following your tutorial and had no issue with making third_party

And had an issue when run catkin_make:

[ 4%] Building CXX object dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/dre_slam.cpp.o [ 12%] Building CXX object dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/tracking.cpp.o [ 12%] Building CXX object dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/loop_closing.cpp.o [ 16%] Building CXX object dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/local_mapping.cpp.o [ 20%] Building CXX object dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/optimizer.cpp.o [ 29%] Building CXX object dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/dynamic_pixel_culling.cpp.o [ 29%] Building CXX object dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/map_point.cpp.o [ 33%] Building CXX object dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/ros_puber.cpp.o In file included from /usr/local/include/ceres/internal/parameter_dims.h:37:0, from /usr/local/include/ceres/internal/autodiff.h:151, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/src/optimizer.cpp:17: /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:46: error: wrong number of template arguments (3, should be 1) struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:49: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:51: error: wrong number of template arguments (4, should be 1) struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:54: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:59: error: wrong number of template arguments (6, should be 1) struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:62: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:41: error: wrong number of template arguments (2, should be 1) struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:42: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:38: error: template argument 1 is invalid struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:39: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:26: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<T, N, Ns...>, ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:59: error: wrong number of template arguments (5, should be 4) std::integer_sequence<T, N, Ns...>, ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:130:8: note: provided for 'template<class T, T Sum, class SeqIn, class SeqOut> struct ceres::internal::ExclusiveScanImpl' struct ExclusiveScanImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:34: error: 'integer_sequence' is not a member of 'std' struct ExclusiveScanImpl<T, Sum, std::integer_sequence, SeqOut> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:57: error: wrong number of template arguments (3, should be 4) struct ExclusiveScanImpl<T, Sum, std::integer_sequence, SeqOut> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:130:8: note: provided for 'template<class T, T Sum, class SeqIn, class SeqOut> struct ceres::internal::ExclusiveScanImpl' struct ExclusiveScanImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:48: error: 'integer_sequence' is not a member of 'std' typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:48: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:70: error: template argument 4 is invalid typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:16: error: expected nested-name-specifier typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ In file included from /usr/local/include/ceres/internal/autodiff.h:151:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/src/optimizer.cpp:17: /usr/local/include/ceres/internal/parameter_dims.h:44:50: error: 'integer_sequence' is not a member of 'std' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:72: error: expected primary-expression before 'int' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:78: error: expected ',' or ';' before '{' token constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:10: error: 'template<int N, int ...Ts> constexpr const bool ceres::internal::IsValidParameterDimensionSequence' redeclared as different kind of symbol std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:16: note: previous declaration 'constexpr const bool ceres::internal::IsValidParameterDimensionSequence' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:5: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:27: error: expected primary-expression before 'int' std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:40: error: expected ')' before '>' token std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:69:27: error: 'integer_sequence' in namespace 'std' does not name a template type using Parameters = std::integer_sequence<int, Ns...>; ^ /usr/local/include/ceres/internal/parameter_dims.h:74:52: error: there are no arguments to 'Parameters' that depend on a template parameter, so a declaration of 'Parameters' must be available [-fpermissive] IsValidParameterDimensionSequence(Parameters()); ^ /usr/local/include/ceres/internal/parameter_dims.h:74:52: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/local/include/ceres/internal/parameter_dims.h:85:11: error: 'integer_sequence' is not a member of 'std' Sum<std::integer_sequence<int, Ns...>>::Value; ^ /usr/local/include/ceres/internal/parameter_dims.h:85:11: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/parameter_dims.h:85:43: error: template argument 1 is invalid Sum<std::integer_sequence<int, Ns...>>::Value; ^ /usr/local/include/ceres/internal/parameter_dims.h:101:20: error: 'std::integer_sequence' has not been declared T ptr, std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:101:36: error: expected ',' or '...' before '<' token T ptr, std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h: In static member function 'static std::array<T, ceres::internal::ParameterDims<IsDynamic, Ns>::kNumParameterBlocks> ceres::internal::ParameterDims<IsDynamic, Ns>::GetUnpackedParameters(T)': /usr/local/include/ceres/internal/parameter_dims.h:94:35: error: 'Parameters' was not declared in this scope using Offsets = ExclusiveScan; ^ /usr/local/include/ceres/internal/parameter_dims.h:94:45: error: template argument 1 is invalid using Offsets = ExclusiveScan; ^ /usr/local/include/ceres/internal/parameter_dims.h:95:47: error: there are no arguments to 'Offsets' that depend on a template parameter, so a declaration of 'Offsets' must be available [-fpermissive] return GetUnpackedParameters(ptr, Offsets()); ^ In file included from /usr/local/include/ceres/internal/autodiff.h:152:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/src/optimizer.cpp:17: /usr/local/include/ceres/internal/variadic_evaluate.h: At global scope: /usr/local/include/ceres/internal/variadic_evaluate.h:53:39: error: 'std::integer_sequence' has not been declared std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:53:55: error: expected ',' or '...' before '<' token std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:66:39: error: 'std::integer_sequence' has not been declared std::integer_sequence) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:66:55: error: expected ',' or '...' before '<' token std::integer_sequence) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h: In function 'bool ceres::internal::VariadicEvaluateImpl(const Functor&, const T const, T, const void)': /usr/local/include/ceres/internal/variadic_evaluate.h:77:12: error: 'make_integer_sequence' in namespace 'std' does not name a template type std::make_integer_sequence<int, ParameterDims::kNumParameterBlocks>; ^ /usr/local/include/ceres/internal/variadic_evaluate.h:80:66: error: there are no arguments to 'ParameterBlockIndices' that depend on a template parameter, so a declaration of 'ParameterBlockIndices' must be available [-fpermissive] functor, input, output, IsDynamic(), ParameterBlockIndices()); ^ In file included from /usr/local/include/ceres/internal/autodiff.h:153:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/src/optimizer.cpp:17: /usr/local/include/ceres/jet.h: At global scope: /usr/local/include/ceres/jet.h:998:8: error: 'ScalarBinaryOpTraits' is not a class template struct ScalarBinaryOpTraits<ceres::Jet<T, N>, T, BinaryOp> { ^ /usr/local/include/ceres/jet.h:1002:58: error: type/value mismatch at argument 3 in template parameter list for 'template<class BinaryOp, class T, int N> struct Eigen::ScalarBinaryOpTraits' struct ScalarBinaryOpTraits<T, ceres::Jet<T, N>, BinaryOp> { ^ /usr/local/include/ceres/jet.h:1002:58: note: expected a constant of type 'int', got 'BinaryOp' In file included from /usr/local/include/ceres/autodiff_cost_function.h:130:0, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/src/optimizer.cpp:17: /usr/local/include/ceres/internal/autodiff.h:217:34: error: 'integer_sequence' is not a member of 'std' struct Make1stOrderPerturbations<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:217:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:217:69: error: template argument 1 is invalid struct Make1stOrderPerturbations<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:232:34: error: 'integer_sequence' is not a member of 'std' struct Make1stOrderPerturbations<std::integer_sequence, ^ /usr/local/include/ceres/internal/autodiff.h:232:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:232:59: error: template argument 1 is invalid struct Make1stOrderPerturbations<std::integer_sequence, ^ /usr/local/include/ceres/internal/autodiff.h:282:26: error: 'integer_sequence' is not a member of 'std' struct Take1stOrderParts<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:282:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:282:61: error: template argument 1 is invalid struct Take1stOrderParts<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:298:26: error: 'integer_sequence' is not a member of 'std' struct Take1stOrderParts<std::integer_sequence, ParameterIdx, Offset> { ^ /usr/local/include/ceres/internal/autodiff.h:298:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:298:51: error: template argument 1 is invalid struct Take1stOrderParts<std::integer_sequence, ParameterIdx, Offset> { ^ In file included from /usr/local/include/ceres/ceres.h:42:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/src/optimizer.cpp:17: /usr/local/include/ceres/cost_function_to_functor.h:160:29: error: 'std::integer_sequence' has not been declared std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/cost_function_to_functor.h:160:45: error: expected ',' or '...' before '<' token std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/cost_function_to_functor.h: In member function 'bool ceres::CostFunctionToFunctor<kNumResiduals, Ns>::operator()(const T, Ts ...) const': /usr/local/include/ceres/cost_function_to_functor.h:147:14: error: 'make_integer_sequence' in namespace 'std' does not name a template type std::make_integer_sequence<int, ParameterDims::kNumParameterBlocks>; ^ /usr/local/include/ceres/cost_function_to_functor.h:149:49: error: there are no arguments to 'Indices' that depend on a template parameter, so a declaration of 'Indices' must be available [-fpermissive] GetParameterPointers(params, Indices()); ^ In file included from /usr/local/include/ceres/dynamic_numeric_diff_cost_function.h:44:0, from /usr/local/include/ceres/ceres.h:48, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/src/optimizer.cpp:17: /usr/local/include/ceres/internal/numeric_diff.h: At global scope: /usr/local/include/ceres/internal/numeric_diff.h:445:43: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/numeric_diff.h:445:43: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/numeric_diff.h:445:78: error: template argument 2 is invalid std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/numeric_diff.h:490:43: error: 'integer_sequence' is not a member of 'std' std::integer_sequence, ^ /usr/local/include/ceres/internal/numeric_diff.h:490:43: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/numeric_diff.h:490:68: error: template argument 2 is invalid std::integer_sequence, ^ In file included from /usr/include/eigen3/Eigen/QR:35:0, from /usr/include/eigen3/Eigen/SVD:11, from /usr/include/eigen3/Eigen/Geometry:15, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/so3.h:28, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/se3.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/config.h:21, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:22, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h:563:101: error: wrong number of template arguments (1, should be 2) struct Assignment<DstXprType, Inverse<FullPivHouseholderQR >, internal::assign_op, Dense2Dense, Scalar> ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/QR:35:0, from /usr/include/eigen3/Eigen/SVD:11, from /usr/include/eigen3/Eigen/Geometry:15, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/so3.h:28, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/se3.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/config.h:21, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:22, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h:563:123: error: template argument 3 is invalid struct Assignment<DstXprType, Inverse<FullPivHouseholderQR >, internal::assign_op, Dense2Dense, Scalar> ^ In file included from /usr/include/eigen3/Eigen/QR:36:0, from /usr/include/eigen3/Eigen/SVD:11, from /usr/include/eigen3/Eigen/Geometry:15, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/so3.h:28, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/se3.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/config.h:21, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:22, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h:576:100: error: wrong number of template arguments (1, should be 2) struct Assignment<DstXprType, Inverse<ColPivHouseholderQR >, internal::assign_op, Dense2Dense, Scalar> ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/QR:36:0, from /usr/include/eigen3/Eigen/SVD:11, from /usr/include/eigen3/Eigen/Geometry:15, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/so3.h:28, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/se3.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/config.h:21, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:22, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h:576:122: error: template argument 3 is invalid struct Assignment<DstXprType, Inverse<ColPivHouseholderQR >, internal::assign_op, Dense2Dense, Scalar> ^ In file included from /usr/include/eigen3/Eigen/LU:28:0, from /usr/include/eigen3/Eigen/Geometry:16, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/so3.h:28, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/se3.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/config.h:21, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:22, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/LU/FullPivLU.h:831:90: error: wrong number of template arguments (1, should be 2) struct Assignment<DstXprType, Inverse<FullPivLU >, internal::assign_op, Dense2Dense, Scalar> ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/LU:28:0, from /usr/include/eigen3/Eigen/Geometry:16, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/so3.h:28, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/se3.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/config.h:21, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:22, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/LU/FullPivLU.h:831:112: error: template argument 3 is invalid struct Assignment<DstXprType, Inverse<FullPivLU >, internal::assign_op, Dense2Dense, Scalar> ^ In file included from /usr/include/eigen3/Eigen/LU:29:0, from /usr/include/eigen3/Eigen/Geometry:16, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/so3.h:28, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/se3.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/config.h:21, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:22, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/LU/PartialPivLU.h:516:93: error: wrong number of template arguments (1, should be 2) struct Assignment<DstXprType, Inverse<PartialPivLU >, internal::assign_op, Dense2Dense, Scalar> ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/LU:29:0, from /usr/include/eigen3/Eigen/Geometry:16, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/so3.h:28, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/se3.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/config.h:21, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:22, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/LU/PartialPivLU.h:516:115: error: template argument 3 is invalid struct Assignment<DstXprType, Inverse<PartialPivLU >, internal::assign_op, Dense2Dense, Scalar> ^ In file included from /usr/include/eigen3/Eigen/LU:34:0, from /usr/include/eigen3/Eigen/Geometry:16, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/so3.h:28, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/se3.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/config.h:21, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:22, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/LU/InverseImpl.h:290:75: error: wrong number of template arguments (1, should be 2) struct Assignment<DstXprType, Inverse, internal::assign_op, Dense2Dense, Scalar> ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/LU:34:0, from /usr/include/eigen3/Eigen/Geometry:16, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/so3.h:28, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/se3.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/config.h:21, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:22, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/LU/InverseImpl.h:290:97: error: template argument 3 is invalid struct Assignment<DstXprType, Inverse, internal::assign_op, Dense2Dense, Scalar> ^ In file included from /usr/include/eigen3/Eigen/Geometry:39:0, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/so3.h:28, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/se3.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/config.h:21, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:22, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/Geometry/Homogeneous.h:332:88: error: wrong number of template arguments (1, should be 2) struct Assignment<DstXprType, Homogeneous<ArgType,Vertical>, internal::assign_op, Dense2Dense, Scalar> ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/Geometry:39:0, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/so3.h:28, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/se3.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/config.h:21, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:22, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/Geometry/Homogeneous.h:332:110: error: template argument 3 is invalid struct Assignment<DstXprType, Homogeneous<ArgType,Vertical>, internal::assign_op, Dense2Dense, Scalar> ^ /usr/include/eigen3/Eigen/src/Geometry/Homogeneous.h:344:90: error: wrong number of template arguments (1, should be 2) struct Assignment<DstXprType, Homogeneous<ArgType,Horizontal>, internal::assign_op, Dense2Dense, Scalar> ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/Geometry:39:0, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/so3.h:28, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/se3.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/config.h:21, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:22, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/Geometry/Homogeneous.h:344:112: error: template argument 3 is invalid struct Assignment<DstXprType, Homogeneous<ArgType,Horizontal>, internal::assign_op, Dense2Dense, Scalar> ^ In file included from /usr/include/eigen3/Eigen/Geometry:46:0, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/so3.h:28, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/se3.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/config.h:21, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:22, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/Geometry/Scaling.h:111:1: error: prototype for 'typename Eigen::MatrixBase::ScalarMultipleReturnType Eigen::MatrixBase::operator(const Eigen::UniformScaling<typename Eigen::internal::traits::Scalar>&) const' does not match any in class 'Eigen::MatrixBase' MatrixBase::operator(const UniformScaling& s) const ^ In file included from /usr/local/include/eigen3/Eigen/Core:436:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/MatrixBase.h:185:5: error: candidates are: template template const Eigen::Product<Derived, OtherDerived, 1> Eigen::MatrixBase::operator(const Eigen::DiagonalBase&) const operator(const DiagonalBase &diagonal) const; ^ /usr/local/include/eigen3/Eigen/src/Core/MatrixBase.h:166:5: error: template template const Eigen::Product<Derived, OtherDerived> Eigen::MatrixBase::operator(const Eigen::MatrixBase&) const operator(const MatrixBase &other) const; ^ In file included from /usr/local/include/eigen3/Eigen/Core:88:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h:50:1: error: template template typename Eigen::internal::enable_if<true, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<typename Eigen::internal::traits::Scalar, typename Eigen::internal::promote_scalar_arg<typename Eigen::internal::traits::Scalar, T, Eigen::internal::has_ReturnType<Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits::Scalar, T, Eigen::internal::scalar_product_op<typename Eigen::internal::traits::Scalar, T> > >::value>::type>, const Derived, const typename Eigen::internal::plain_constant_type<Derived, typename Eigen::internal::promote_scalar_arg<typename Eigen::internal::traits::Scalar, T, Eigen::internal::has_ReturnType<Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits::Scalar, T, Eigen::internal::scalar_product_op<typename Eigen::internal::traits::Scalar, T> > >::value>::type>::type> >::type Eigen::MatrixBase::operator(const T&) const EIGEN_MAKE_SCALAR_BINARY_OP(operator,product) ^ In file included from /usr/include/eigen3/Eigen/Geometry:49:0, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/so3.h:28, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/se3.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/config.h:21, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:22, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/Geometry/AlignedBox.h:114:29: error: 'scalar_quotient1_op' is not a member of 'Eigen::internal' inline const CwiseUnaryOp<internal::scalar_quotient1_op, ^ /usr/include/eigen3/Eigen/src/Geometry/AlignedBox.h:114:29: error: 'scalar_quotient1_op' is not a member of 'Eigen::internal' /usr/include/eigen3/Eigen/src/Geometry/AlignedBox.h:114:65: error: wrong number of template arguments (1, should be 2) inline const CwiseUnaryOp<internal::scalar_quotient1_op, ^ In file included from /usr/local/include/eigen3/Eigen/Core:365:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h:91:65: note: provided for 'template<class UnaryOp, class MatrixType> class Eigen::CwiseUnaryOp' template<typename UnaryOp, typename MatrixType> class CwiseUnaryOp; ^ In file included from /usr/include/eigen3/Eigen/Geometry:49:0, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/so3.h:28, from /catkin_ws/src/dre_slam/third_party/Sophus/sophus/se3.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/config.h:21, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:22, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/Geometry/AlignedBox.h:114:66: error: expected unqualified-id before ',' token inline const CwiseUnaryOp<internal::scalar_quotient1_op, ^ In file included from /usr/local/include/ceres/internal/parameter_dims.h:37:0, from /usr/local/include/ceres/internal/autodiff.h:151, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/tracking.h:24, from /catkin_ws/src/dre_slam/core/src/tracking.cpp:17: /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:46: error: wrong number of template arguments (3, should be 1) struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:49: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:51: error: wrong number of template arguments (4, should be 1) struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:54: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:59: error: wrong number of template arguments (6, should be 1) struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:62: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:41: error: wrong number of template arguments (2, should be 1) struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:42: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:38: error: template argument 1 is invalid struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:39: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:26: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<T, N, Ns...>, ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:59: error: wrong number of template arguments (5, should be 4) std::integer_sequence<T, N, Ns...>, ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:130:8: note: provided for 'template<class T, T Sum, class SeqIn, class SeqOut> struct ceres::internal::ExclusiveScanImpl' struct ExclusiveScanImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:34: error: 'integer_sequence' is not a member of 'std' struct ExclusiveScanImpl<T, Sum, std::integer_sequence, SeqOut> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:57: error: wrong number of template arguments (3, should be 4) struct ExclusiveScanImpl<T, Sum, std::integer_sequence, SeqOut> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:130:8: note: provided for 'template<class T, T Sum, class SeqIn, class SeqOut> struct ceres::internal::ExclusiveScanImpl' struct ExclusiveScanImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:48: error: 'integer_sequence' is not a member of 'std' typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:48: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:70: error: template argument 4 is invalid typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:16: error: expected nested-name-specifier typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ In file included from /usr/local/include/ceres/internal/autodiff.h:151:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/tracking.h:24, from /catkin_ws/src/dre_slam/core/src/tracking.cpp:17: /usr/local/include/ceres/internal/parameter_dims.h:44:50: error: 'integer_sequence' is not a member of 'std' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:72: error: expected primary-expression before 'int' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:78: error: expected ',' or ';' before '{' token constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:10: error: 'template<int N, int ...Ts> constexpr const bool ceres::internal::IsValidParameterDimensionSequence' redeclared as different kind of symbol std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:16: note: previous declaration 'constexpr const bool ceres::internal::IsValidParameterDimensionSequence' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:5: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:27: error: expected primary-expression before 'int' std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:40: error: expected ')' before '>' token std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:69:27: error: 'integer_sequence' in namespace 'std' does not name a template type using Parameters = std::integer_sequence<int, Ns...>; ^ /usr/local/include/ceres/internal/parameter_dims.h:74:52: error: there are no arguments to 'Parameters' that depend on a template parameter, so a declaration of 'Parameters' must be available [-fpermissive] IsValidParameterDimensionSequence(Parameters()); ^ /usr/local/include/ceres/internal/parameter_dims.h:74:52: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/local/include/ceres/internal/parameter_dims.h:85:11: error: 'integer_sequence' is not a member of 'std' Sum<std::integer_sequence<int, Ns...>>::Value; ^ /usr/local/include/ceres/internal/parameter_dims.h:85:11: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/parameter_dims.h:85:43: error: template argument 1 is invalid Sum<std::integer_sequence<int, Ns...>>::Value; ^ /usr/local/include/ceres/internal/parameter_dims.h:101:20: error: 'std::integer_sequence' has not been declared T ptr, std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:101:36: error: expected ',' or '...' before '<' token T ptr, std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h: In static member function 'static std::array<T, ceres::internal::ParameterDims<IsDynamic, Ns>::kNumParameterBlocks> ceres::internal::ParameterDims<IsDynamic, Ns>::GetUnpackedParameters(T)': /usr/local/include/ceres/internal/parameter_dims.h:94:35: error: 'Parameters' was not declared in this scope using Offsets = ExclusiveScan; ^ /usr/local/include/ceres/internal/parameter_dims.h:94:45: error: template argument 1 is invalid using Offsets = ExclusiveScan; ^ /usr/local/include/ceres/internal/parameter_dims.h:95:47: error: there are no arguments to 'Offsets' that depend on a template parameter, so a declaration of 'Offsets' must be available [-fpermissive] return GetUnpackedParameters(ptr, Offsets()); ^ In file included from /usr/local/include/ceres/internal/autodiff.h:152:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/tracking.h:24, from /catkin_ws/src/dre_slam/core/src/tracking.cpp:17: /usr/local/include/ceres/internal/variadic_evaluate.h: At global scope: /usr/local/include/ceres/internal/variadic_evaluate.h:53:39: error: 'std::integer_sequence' has not been declared std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:53:55: error: expected ',' or '...' before '<' token std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:66:39: error: 'std::integer_sequence' has not been declared std::integer_sequence) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:66:55: error: expected ',' or '...' before '<' token std::integer_sequence) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h: In function 'bool ceres::internal::VariadicEvaluateImpl(const Functor&, const T const, T, const void)': /usr/local/include/ceres/internal/variadic_evaluate.h:77:12: error: 'make_integer_sequence' in namespace 'std' does not name a template type std::make_integer_sequence<int, ParameterDims::kNumParameterBlocks>; ^ /usr/local/include/ceres/internal/variadic_evaluate.h:80:66: error: there are no arguments to 'ParameterBlockIndices' that depend on a template parameter, so a declaration of 'ParameterBlockIndices' must be available [-fpermissive] functor, input, output, IsDynamic(), ParameterBlockIndices()); ^ In file included from /usr/local/include/ceres/internal/autodiff.h:153:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/tracking.h:24, from /catkin_ws/src/dre_slam/core/src/tracking.cpp:17: /usr/local/include/ceres/jet.h: At global scope: /usr/local/include/ceres/jet.h:998:8: error: 'ScalarBinaryOpTraits' is not a class template struct ScalarBinaryOpTraits<ceres::Jet<T, N>, T, BinaryOp> { ^ /usr/local/include/ceres/jet.h:1002:58: error: type/value mismatch at argument 3 in template parameter list for 'template<class BinaryOp, class T, int N> struct Eigen::ScalarBinaryOpTraits' struct ScalarBinaryOpTraits<T, ceres::Jet<T, N>, BinaryOp> { ^ /usr/local/include/ceres/jet.h:1002:58: note: expected a constant of type 'int', got 'BinaryOp' In file included from /usr/local/include/ceres/autodiff_cost_function.h:130:0, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/tracking.h:24, from /catkin_ws/src/dre_slam/core/src/tracking.cpp:17: /usr/local/include/ceres/internal/autodiff.h:217:34: error: 'integer_sequence' is not a member of 'std' struct Make1stOrderPerturbations<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:217:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:217:69: error: template argument 1 is invalid struct Make1stOrderPerturbations<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:232:34: error: 'integer_sequence' is not a member of 'std' struct Make1stOrderPerturbations<std::integer_sequence, ^ /usr/local/include/ceres/internal/autodiff.h:232:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:232:59: error: template argument 1 is invalid struct Make1stOrderPerturbations<std::integer_sequence, ^ /usr/local/include/ceres/internal/autodiff.h:282:26: error: 'integer_sequence' is not a member of 'std' struct Take1stOrderParts<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:282:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:282:61: error: template argument 1 is invalid struct Take1stOrderParts<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:298:26: error: 'integer_sequence' is not a member of 'std' struct Take1stOrderParts<std::integer_sequence, ParameterIdx, Offset> { ^ /usr/local/include/ceres/internal/autodiff.h:298:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:298:51: error: template argument 1 is invalid struct Take1stOrderParts<std::integer_sequence, ParameterIdx, Offset> { ^ In file included from /usr/local/include/ceres/ceres.h:42:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/tracking.h:24, from /catkin_ws/src/dre_slam/core/src/tracking.cpp:17: /usr/local/include/ceres/cost_function_to_functor.h:160:29: error: 'std::integer_sequence' has not been declared std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/cost_function_to_functor.h:160:45: error: expected ',' or '...' before '<' token std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/cost_function_to_functor.h: In member function 'bool ceres::CostFunctionToFunctor<kNumResiduals, Ns>::operator()(const T, Ts ...) const': /usr/local/include/ceres/cost_function_to_functor.h:147:14: error: 'make_integer_sequence' in namespace 'std' does not name a template type std::make_integer_sequence<int, ParameterDims::kNumParameterBlocks>; ^ /usr/local/include/ceres/cost_function_to_functor.h:149:49: error: there are no arguments to 'Indices' that depend on a template parameter, so a declaration of 'Indices' must be available [-fpermissive] GetParameterPointers(params, Indices()); ^ In file included from /usr/local/include/ceres/dynamic_numeric_diff_cost_function.h:44:0, from /usr/local/include/ceres/ceres.h:48, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/tracking.h:24, from /catkin_ws/src/dre_slam/core/src/tracking.cpp:17: /usr/local/include/ceres/internal/numeric_diff.h: At global scope: /usr/local/include/ceres/internal/numeric_diff.h:445:43: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/numeric_diff.h:445:43: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/numeric_diff.h:445:78: error: template argument 2 is invalid std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/numeric_diff.h:490:43: error: 'integer_sequence' is not a member of 'std' std::integer_sequence, ^ /usr/local/include/ceres/internal/numeric_diff.h:490:43: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/numeric_diff.h:490:68: error: template argument 2 is invalid std::integer_sequence, ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:28:44: error: expected template-name before '<' token : public internal::special_scalar_op_base<Derived,typename internal::traits::Scalar, ^ /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:28:44: error: expected '{' before '<' token /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:28:44: error: expected unqualified-id before '<' token In file included from /usr/include/eigen3/Eigen/SparseCore:38:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseAssign.h:17:83: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' Derived& SparseMatrixBase::operator=(const EigenBase &other) ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:38:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseAssign.h:25:87: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' Derived& SparseMatrixBase::operator=(const ReturnByValue& other) ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:38:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseAssign.h:34:97: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' inline Derived& SparseMatrixBase::operator=(const SparseMatrixBase& other) ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:38:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseAssign.h:43:74: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' inline Derived& SparseMatrixBase::operator=(const Derived& other) ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:38:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseAssign.h:130:112: error: wrong number of template arguments (1, should be 2) static void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op &/func/) ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/SparseCore:38:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseAssign.h: In static member function 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Sparse2Dense, Scalar>::run(DstXprType&, const SrcXprType&, const Functor&)': /usr/include/eigen3/Eigen/src/SparseCore/SparseAssign.h:144:60: error: wrong number of template arguments (1, should be 2) if(internal::is_same<Functor,internal::assign_op >::value) ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/SparseCore:38:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseAssign.h:144:62: error: template argument 2 is invalid if(internal::is_same<Functor,internal::assign_op >::value) ^ /usr/include/eigen3/Eigen/src/SparseCore/SparseAssign.h: At global scope: /usr/include/eigen3/Eigen/src/SparseCore/SparseAssign.h:159:81: error: wrong number of template arguments (1, should be 2) struct Assignment<DstXprType, Solve<DecType,RhsType>, internal::assign_op, Sparse2Sparse, Scalar> ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/SparseCore:38:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseAssign.h:159:105: error: template argument 3 is invalid struct Assignment<DstXprType, Solve<DecType,RhsType>, internal::assign_op, Sparse2Sparse, Scalar> ^ /usr/include/eigen3/Eigen/src/SparseCore/SparseAssign.h:179:143: error: wrong number of template arguments (1, should be 2) static void run(SparseMatrix<Scalar,Options,StorageIndex> &dst, const SrcXprType &src, const internal::assign_op &/func/) ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/SparseCore:38:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseAssign.h:190:130: error: wrong number of template arguments (1, should be 2) static void run(SparseMatrixBase &dst, const SrcXprType &src, const internal::assign_op &/func/) ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/SparseCore:38:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseAssign.h:195:116: error: wrong number of template arguments (1, should be 2) static void run(DstXprType &dst, const SrcXprType &src, const internal::add_assign_op &/func/) ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:46:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::add_assign_op' template<typename DstScalar,typename SrcScalar> struct add_assign_op { ^ In file included from /usr/include/eigen3/Eigen/SparseCore:38:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseAssign.h:198:116: error: wrong number of template arguments (1, should be 2) static void run(DstXprType &dst, const SrcXprType &src, const internal::sub_assign_op &/func/) ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:67:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::sub_assign_op' template<typename DstScalar,typename SrcScalar> struct sub_assign_op { ^ In file included from /usr/include/eigen3/Eigen/SparseCore:38:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseAssign.h:198:15: error: 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Diagonal2Sparse, Scalar>::run(DstXprType&, const SrcXprType&, const int&)' cannot be overloaded static void run(DstXprType &dst, const SrcXprType &src, const internal::sub_assign_op &/func/) ^ /usr/include/eigen3/Eigen/src/SparseCore/SparseAssign.h:195:15: error: with 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Diagonal2Sparse, Scalar>::run(DstXprType&, const SrcXprType&, const int&)' static void run(DstXprType &dst, const SrcXprType &src, const internal::add_assign_op &/func/) ^ In file included from /usr/include/eigen3/Eigen/SparseCore:47:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h:178:45: error: 'Scalar' does not name a type SparseMatrixBase::operator=(const Scalar& other) ^ /usr/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h:178:58: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' SparseMatrixBase::operator=(const Scalar& other) ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:47:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h:188:45: error: 'Scalar' does not name a type SparseMatrixBase::operator/=(const Scalar& other) ^ /usr/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h:188:58: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' SparseMatrixBase::operator/=(const Scalar& other) ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:48:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h:394:82: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' SparseMatrixBase::operator-=(const SparseMatrixBase &other) ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:48:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h:402:82: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' SparseMatrixBase::operator+=(const SparseMatrixBase& other) ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:48:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h:409:87: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' Derived& SparseMatrixBase::operator+=(const DiagonalBase& other) ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:48:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h:417:87: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' Derived& SparseMatrixBase::operator-=(const DiagonalBase& other) ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:48:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h:426:80: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' SparseMatrixBase::cwiseProduct(const MatrixBase &other) const ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:50:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseBlock.h:322:109: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' typename SparseMatrixBase::InnerVectorReturnType SparseMatrixBase::innerVector(Index outer) ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:50:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseBlock.h:329:122: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' const typename SparseMatrixBase::ConstInnerVectorReturnType SparseMatrixBase::innerVector(Index outer) const ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:50:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseBlock.h:337:74: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' SparseMatrixBase::innerVectors(Index outerStart, Index outerSize) ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:50:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseBlock.h:350:76: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' SparseMatrixBase::innerVectors(Index outerStart, Index outerSize) const ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:51:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseDot.h:18:71: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' SparseMatrixBase::dot(const MatrixBase& other) const ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:51:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseDot.h:43:77: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' SparseMatrixBase::dot(const SparseMatrixBase& other) const ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:51:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseDot.h:77:42: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' SparseMatrixBase::squaredNorm() const ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:51:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseDot.h:84:35: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' SparseMatrixBase::norm() const ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:51:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseDot.h:92:39: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' SparseMatrixBase::blueNorm() const ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:52:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseRedux.h:17:34: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' SparseMatrixBase::sum() const ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:53:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseView.h:214:41: error: 'Scalar' does not name a type SparseMatrixBase::pruned(const Scalar& reference, ^ /usr/include/eigen3/Eigen/src/SparseCore/SparseView.h:215:41: error: 'RealScalar' does not name a type const RealScalar& epsilon) const ^ /usr/include/eigen3/Eigen/src/SparseCore/SparseView.h:215:62: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' const RealScalar& epsilon) const ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:57:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseProduct.h:29:83: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' SparseMatrixBase::operator*(const SparseMatrixBase &other) const ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:57:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseProduct.h:102:113: error: wrong number of template arguments (1, should be 2) struct Assignment<DstXprType, Product<Lhs,Rhs,AliasFreeProduct>, internal::assign_op, Sparse2Dense> ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/SparseCore:57:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseProduct.h:102:128: error: template argument 3 is invalid struct Assignment<DstXprType, Product<Lhs,Rhs,AliasFreeProduct>, internal::assign_op, Sparse2Dense> ^ /usr/include/eigen3/Eigen/src/SparseCore/SparseProduct.h:113:117: error: wrong number of template arguments (1, should be 2) struct Assignment<DstXprType, Product<Lhs,Rhs,AliasFreeProduct>, internal::add_assign_op, Sparse2Dense> ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:46:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::add_assign_op' template<typename DstScalar,typename SrcScalar> struct add_assign_op { ^ In file included from /usr/include/eigen3/Eigen/SparseCore:57:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseProduct.h:113:132: error: template argument 3 is invalid struct Assignment<DstXprType, Product<Lhs,Rhs,AliasFreeProduct>, internal::add_assign_op, Sparse2Dense> ^ /usr/include/eigen3/Eigen/src/SparseCore/SparseProduct.h:124:117: error: wrong number of template arguments (1, should be 2) struct Assignment<DstXprType, Product<Lhs,Rhs,AliasFreeProduct>, internal::sub_assign_op, Sparse2Dense> ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:67:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::sub_assign_op' template<typename DstScalar,typename SrcScalar> struct sub_assign_op { ^ In file included from /usr/include/eigen3/Eigen/SparseCore:57:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseProduct.h:124:132: error: template argument 3 is invalid struct Assignment<DstXprType, Product<Lhs,Rhs,AliasFreeProduct>, internal::sub_assign_op, Sparse2Dense> ^ In file included from /usr/include/eigen3/Eigen/SparseCore:58:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h:81:33: error: 'scalar_multiple2_op' was not declared in this scope typedef typename CwiseUnaryOp<scalar_multiple2_op<T1, typename T2::Scalar>, T2>::PlainObject ReturnType; ^ /usr/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h:81:76: error: template argument 1 is invalid typedef typename CwiseUnaryOp<scalar_multiple2_op<T1, typename T2::Scalar>, T2>::PlainObject ReturnType; ^ /usr/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h:81:20: error: expected nested-name-specifier typedef typename CwiseUnaryOp<scalar_multiple2_op<T1, typename T2::Scalar>, T2>::PlainObject ReturnType; ^ In file included from /usr/include/eigen3/Eigen/SparseCore:59:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h:174:134: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' typename SparseMatrixBase::template ConstSelfAdjointViewReturnType::Type SparseMatrixBase::selfadjointView() const ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:59:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h:181:127: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' typename SparseMatrixBase::template SelfAdjointViewReturnType::Type SparseMatrixBase::selfadjointView() ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:59:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h:226:152: error: wrong number of template arguments (1, should be 2) static void run(SparseMatrix<DestScalar,StorageOrder,StorageIndex> &dst, const SrcXprType &src, const internal::assign_op &/func/) ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/SparseCore:59:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h:232:155: error: wrong number of template arguments (1, should be 2) static void run(DynamicSparseMatrix<DestScalar,ColMajor,StorageIndex>& dst, const SrcXprType &src, const internal::assign_op &/func/) ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/SparseCore:59:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h:581:109: error: wrong number of template arguments (1, should be 2) struct Assignment<DstXprType, SparseSymmetricPermutationProduct<MatrixType,Mode>, internal::assign_op, Sparse2Sparse> ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/SparseCore:59:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h:581:125: error: template argument 3 is invalid struct Assignment<DstXprType, SparseSymmetricPermutationProduct<MatrixType,Mode>, internal::assign_op, Sparse2Sparse> ^ In file included from /usr/include/eigen3/Eigen/SparseCore:60:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h:282:45: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' SparseMatrixBase::triangularView() const ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseCore:63:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h:17:93: error: 'RealScalar' does not name a type bool SparseMatrixBase::isApprox(const SparseMatrixBase& other, const RealScalar &prec) const ^ /usr/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h:17:111: error: invalid use of incomplete type 'class Eigen::SparseMatrixBase' bool SparseMatrixBase::isApprox(const SparseMatrixBase& other, const RealScalar &prec) const ^ In file included from /usr/include/eigen3/Eigen/SparseCore:37:0, from /usr/include/eigen3/Eigen/Sparse:26, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h:26:34: note: declaration of 'class Eigen::SparseMatrixBase' template class SparseMatrixBase ^ In file included from /usr/include/eigen3/Eigen/SparseQR:33:0, from /usr/include/eigen3/Eigen/Sparse:30, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:697:119: error: wrong number of template arguments (1, should be 2) struct Assignment<DstXprType, SparseQRMatrixQReturnType, internal::assign_op, Sparse2Sparse> ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/SparseQR:33:0, from /usr/include/eigen3/Eigen/Sparse:30, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:697:135: error: template argument 3 is invalid struct Assignment<DstXprType, SparseQRMatrixQReturnType, internal::assign_op, Sparse2Sparse> ^ /usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:713:119: error: wrong number of template arguments (1, should be 2) struct Assignment<DstXprType, SparseQRMatrixQReturnType, internal::assign_op, Sparse2Dense> ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/SparseQR:33:0, from /usr/include/eigen3/Eigen/Sparse:30, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:713:134: error: template argument 3 is invalid struct Assignment<DstXprType, SparseQRMatrixQReturnType, internal::assign_op, Sparse2Dense> ^ In file included from /usr/include/eigen3/Eigen/IterativeLinearSolvers:37:0, from /usr/include/eigen3/Eigen/Sparse:31, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h:94:100: error: wrong number of template arguments (1, should be 2) struct Assignment<DstXprType, SolveWithGuess<DecType,RhsType,GuessType>, internal::assign_op, Dense2Dense, Scalar> ^ In file included from /usr/local/include/eigen3/Eigen/Core:427:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:20, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/local/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h:21:56: note: provided for 'template<class DstScalar, class SrcScalar> struct Eigen::internal::assign_op' template<typename DstScalar,typename SrcScalar> struct assign_op { ^ In file included from /usr/include/eigen3/Eigen/IterativeLinearSolvers:37:0, from /usr/include/eigen3/Eigen/Sparse:31, from /usr/include/eigen3/Eigen/Eigen:2, from /catkin_ws/src/dre_slam/core/include/dre_slam/camera.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/frame.h:25, from /catkin_ws/src/dre_slam/core/include/dre_slam/keyframe.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/map_point.h:23, from /catkin_ws/src/dre_slam/core/src/map_point.cpp:17: /usr/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h:94:122: error: template argument 3 is invalid struct Assignment<DstXprType, SolveWithGuess<DecType,RhsType,GuessType>, internal::assign_op, Dense2Dense, Scalar> ^ In file included from /usr/local/include/ceres/internal/autodiff.h:151:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/src/optimizer.cpp:17: /usr/local/include/ceres/internal/parameter_dims.h: In instantiation of 'constexpr const bool ceres::internal::ParameterDims<false, 1, 1, 1, 1, 1, 1>::kIsValid': /usr/local/include/ceres/internal/parameter_dims.h:73:25: required from 'class ceres::internal::ParameterDims<false, 1, 1, 1, 1, 1, 1>' /usr/local/include/ceres/sized_cost_function.h:49:47: required from 'class ceres::SizedCostFunction<2, 1, 1, 1, 1, 1, 1>' /usr/local/include/ceres/autodiff_cost_function.h:154:7: required from 'class ceres::AutoDiffCostFunction<dre_slam::ProjectionError, 2, 1, 1, 1, 1, 1, 1>' /catkin_ws/src/dre_slam/core/src/optimizer.cpp:166:82: required from here /usr/local/include/ceres/internal/parameter_dims.h:74:51: error: 'Parameters' was not declared in this scope IsValidParameterDimensionSequence(Parameters()); ^ In file included from /usr/local/include/ceres/internal/parameter_dims.h:37:0, from /usr/local/include/ceres/internal/autodiff.h:151, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/src/loop_closing.cpp:17: /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:46: error: wrong number of template arguments (3, should be 1) struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:49: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:51: error: wrong number of template arguments (4, should be 1) struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:54: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:59: error: wrong number of template arguments (6, should be 1) struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:62: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:41: error: wrong number of template arguments (2, should be 1) struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:42: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:38: error: template argument 1 is invalid struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:39: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:26: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<T, N, Ns...>, ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:59: error: wrong number of template arguments (5, should be 4) std::integer_sequence<T, N, Ns...>, ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:130:8: note: provided for 'template<class T, T Sum, class SeqIn, class SeqOut> struct ceres::internal::ExclusiveScanImpl' struct ExclusiveScanImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:34: error: 'integer_sequence' is not a member of 'std' struct ExclusiveScanImpl<T, Sum, std::integer_sequence, SeqOut> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:57: error: wrong number of template arguments (3, should be 4) struct ExclusiveScanImpl<T, Sum, std::integer_sequence, SeqOut> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:130:8: note: provided for 'template<class T, T Sum, class SeqIn, class SeqOut> struct ceres::internal::ExclusiveScanImpl' struct ExclusiveScanImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:48: error: 'integer_sequence' is not a member of 'std' typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:48: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:70: error: template argument 4 is invalid typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:16: error: expected nested-name-specifier typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ In file included from /usr/local/include/ceres/internal/autodiff.h:151:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/src/loop_closing.cpp:17: /usr/local/include/ceres/internal/parameter_dims.h:44:50: error: 'integer_sequence' is not a member of 'std' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:72: error: expected primary-expression before 'int' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:78: error: expected ',' or ';' before '{' token constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:10: error: 'template<int N, int ...Ts> constexpr const bool ceres::internal::IsValidParameterDimensionSequence' redeclared as different kind of symbol std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:16: note: previous declaration 'constexpr const bool ceres::internal::IsValidParameterDimensionSequence' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:5: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:27: error: expected primary-expression before 'int' std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:40: error: expected ')' before '>' token std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:69:27: error: 'integer_sequence' in namespace 'std' does not name a template type using Parameters = std::integer_sequence<int, Ns...>; ^ /usr/local/include/ceres/internal/parameter_dims.h:74:52: error: there are no arguments to 'Parameters' that depend on a template parameter, so a declaration of 'Parameters' must be available [-fpermissive] IsValidParameterDimensionSequence(Parameters()); ^ /usr/local/include/ceres/internal/parameter_dims.h:74:52: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/local/include/ceres/internal/parameter_dims.h:85:11: error: 'integer_sequence' is not a member of 'std' Sum<std::integer_sequence<int, Ns...>>::Value; ^ /usr/local/include/ceres/internal/parameter_dims.h:85:11: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/parameter_dims.h:85:43: error: template argument 1 is invalid Sum<std::integer_sequence<int, Ns...>>::Value; ^ /usr/local/include/ceres/internal/parameter_dims.h:101:20: error: 'std::integer_sequence' has not been declared T ptr, std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:101:36: error: expected ',' or '...' before '<' token T ptr, std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h: In static member function 'static std::array<T, ceres::internal::ParameterDims<IsDynamic, Ns>::kNumParameterBlocks> ceres::internal::ParameterDims<IsDynamic, Ns>::GetUnpackedParameters(T)': /usr/local/include/ceres/internal/parameter_dims.h:94:35: error: 'Parameters' was not declared in this scope using Offsets = ExclusiveScan; ^ /usr/local/include/ceres/internal/parameter_dims.h:94:45: error: template argument 1 is invalid using Offsets = ExclusiveScan; ^ /usr/local/include/ceres/internal/parameter_dims.h:95:47: error: there are no arguments to 'Offsets' that depend on a template parameter, so a declaration of 'Offsets' must be available [-fpermissive] return GetUnpackedParameters(ptr, Offsets()); ^ In file included from /usr/local/include/ceres/internal/autodiff.h:152:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/src/loop_closing.cpp:17: /usr/local/include/ceres/internal/variadic_evaluate.h: At global scope: /usr/local/include/ceres/internal/variadic_evaluate.h:53:39: error: 'std::integer_sequence' has not been declared std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:53:55: error: expected ',' or '...' before '<' token std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:66:39: error: 'std::integer_sequence' has not been declared std::integer_sequence) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:66:55: error: expected ',' or '...' before '<' token std::integer_sequence) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h: In function 'bool ceres::internal::VariadicEvaluateImpl(const Functor&, const T const, T, const void)': /usr/local/include/ceres/internal/variadic_evaluate.h:77:12: error: 'make_integer_sequence' in namespace 'std' does not name a template type std::make_integer_sequence<int, ParameterDims::kNumParameterBlocks>; ^ /usr/local/include/ceres/internal/variadic_evaluate.h:80:66: error: there are no arguments to 'ParameterBlockIndices' that depend on a template parameter, so a declaration of 'ParameterBlockIndices' must be available [-fpermissive] functor, input, output, IsDynamic(), ParameterBlockIndices()); ^ In file included from /usr/local/include/ceres/internal/autodiff.h:153:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/src/loop_closing.cpp:17: /usr/local/include/ceres/jet.h: At global scope: /usr/local/include/ceres/jet.h:998:8: error: 'ScalarBinaryOpTraits' is not a class template struct ScalarBinaryOpTraits<ceres::Jet<T, N>, T, BinaryOp> { ^ /usr/local/include/ceres/jet.h:1002:58: error: type/value mismatch at argument 3 in template parameter list for 'template<class BinaryOp, class T, int N> struct Eigen::ScalarBinaryOpTraits' struct ScalarBinaryOpTraits<T, ceres::Jet<T, N>, BinaryOp> { ^ /usr/local/include/ceres/jet.h:1002:58: note: expected a constant of type 'int', got 'BinaryOp' In file included from /usr/local/include/ceres/autodiff_cost_function.h:130:0, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/src/loop_closing.cpp:17: /usr/local/include/ceres/internal/autodiff.h:217:34: error: 'integer_sequence' is not a member of 'std' struct Make1stOrderPerturbations<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:217:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:217:69: error: template argument 1 is invalid struct Make1stOrderPerturbations<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:232:34: error: 'integer_sequence' is not a member of 'std' struct Make1stOrderPerturbations<std::integer_sequence, ^ /usr/local/include/ceres/internal/autodiff.h:232:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:232:59: error: template argument 1 is invalid struct Make1stOrderPerturbations<std::integer_sequence, ^ /usr/local/include/ceres/internal/autodiff.h:282:26: error: 'integer_sequence' is not a member of 'std' struct Take1stOrderParts<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:282:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:282:61: error: template argument 1 is invalid struct Take1stOrderParts<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:298:26: error: 'integer_sequence' is not a member of 'std' struct Take1stOrderParts<std::integer_sequence, ParameterIdx, Offset> { ^ /usr/local/include/ceres/internal/autodiff.h:298:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:298:51: error: template argument 1 is invalid struct Take1stOrderParts<std::integer_sequence, ParameterIdx, Offset> { ^ In file included from /usr/local/include/ceres/ceres.h:42:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/src/loop_closing.cpp:17: /usr/local/include/ceres/cost_function_to_functor.h:160:29: error: 'std::integer_sequence' has not been declared std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/cost_function_to_functor.h:160:45: error: expected ',' or '...' before '<' token std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/cost_function_to_functor.h: In member function 'bool ceres::CostFunctionToFunctor<kNumResiduals, Ns>::operator()(const T, Ts ...) const': /usr/local/include/ceres/cost_function_to_functor.h:147:14: error: 'make_integer_sequence' in namespace 'std' does not name a template type std::make_integer_sequence<int, ParameterDims::kNumParameterBlocks>; ^ /usr/local/include/ceres/cost_function_to_functor.h:149:49: error: there are no arguments to 'Indices' that depend on a template parameter, so a declaration of 'Indices' must be available [-fpermissive] GetParameterPointers(params, Indices()); ^ In file included from /usr/local/include/ceres/internal/parameter_dims.h:37:0, from /usr/local/include/ceres/internal/autodiff.h:151, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/include/dre_slam/local_mapping.h:26, from /catkin_ws/src/dre_slam/core/src/local_mapping.cpp:17: /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:46: error: wrong number of template arguments (3, should be 1) struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:49: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:51: error: wrong number of template arguments (4, should be 1) struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:54: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:59: error: wrong number of template arguments (6, should be 1) struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:62: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:41: error: wrong number of template arguments (2, should be 1) struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:42: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:38: error: template argument 1 is invalid struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:39: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:26: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<T, N, Ns...>, ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:59: error: wrong number of template arguments (5, should be 4) std::integer_sequence<T, N, Ns...>, ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:130:8: note: provided for 'template<class T, T Sum, class SeqIn, class SeqOut> struct ceres::internal::ExclusiveScanImpl' struct ExclusiveScanImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:34: error: 'integer_sequence' is not a member of 'std' struct ExclusiveScanImpl<T, Sum, std::integer_sequence, SeqOut> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:57: error: wrong number of template arguments (3, should be 4) struct ExclusiveScanImpl<T, Sum, std::integer_sequence, SeqOut> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:130:8: note: provided for 'template<class T, T Sum, class SeqIn, class SeqOut> struct ceres::internal::ExclusiveScanImpl' struct ExclusiveScanImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:48: error: 'integer_sequence' is not a member of 'std' typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:48: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:70: error: template argument 4 is invalid typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:16: error: expected nested-name-specifier typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ In file included from /usr/local/include/ceres/internal/autodiff.h:151:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/include/dre_slam/local_mapping.h:26, from /catkin_ws/src/dre_slam/core/src/local_mapping.cpp:17: /usr/local/include/ceres/internal/parameter_dims.h:44:50: error: 'integer_sequence' is not a member of 'std' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:72: error: expected primary-expression before 'int' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:78: error: expected ',' or ';' before '{' token constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:10: error: 'template<int N, int ...Ts> constexpr const bool ceres::internal::IsValidParameterDimensionSequence' redeclared as different kind of symbol std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:16: note: previous declaration 'constexpr const bool ceres::internal::IsValidParameterDimensionSequence' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:5: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:27: error: expected primary-expression before 'int' std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:40: error: expected ')' before '>' token std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:69:27: error: 'integer_sequence' in namespace 'std' does not name a template type using Parameters = std::integer_sequence<int, Ns...>; ^ /usr/local/include/ceres/internal/parameter_dims.h:74:52: error: there are no arguments to 'Parameters' that depend on a template parameter, so a declaration of 'Parameters' must be available [-fpermissive] IsValidParameterDimensionSequence(Parameters()); ^ /usr/local/include/ceres/internal/parameter_dims.h:74:52: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/local/include/ceres/internal/parameter_dims.h:85:11: error: 'integer_sequence' is not a member of 'std' Sum<std::integer_sequence<int, Ns...>>::Value; ^ /usr/local/include/ceres/internal/parameter_dims.h:85:11: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/parameter_dims.h:85:43: error: template argument 1 is invalid Sum<std::integer_sequence<int, Ns...>>::Value; ^ /usr/local/include/ceres/internal/parameter_dims.h:101:20: error: 'std::integer_sequence' has not been declared T ptr, std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:101:36: error: expected ',' or '...' before '<' token T ptr, std::integer_sequence<int, Indices...>) { ^ In file included from /usr/local/include/ceres/dynamic_numeric_diff_cost_function.h:44:0, from /usr/local/include/ceres/ceres.h:48, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/src/loop_closing.cpp:17: /usr/local/include/ceres/internal/numeric_diff.h: At global scope: /usr/local/include/ceres/internal/numeric_diff.h:445:43: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/numeric_diff.h:445:43: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/numeric_diff.h:445:78: error: template argument 2 is invalid std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/parameter_dims.h: In static member function 'static std::array<T, ceres::internal::ParameterDims<IsDynamic, Ns>::kNumParameterBlocks> ceres::internal::ParameterDims<IsDynamic, Ns>::GetUnpackedParameters(T)': /usr/local/include/ceres/internal/parameter_dims.h:94:35: error: 'Parameters' was not declared in this scope using Offsets = ExclusiveScan; ^ /usr/local/include/ceres/internal/numeric_diff.h:490:43: error: 'integer_sequence' is not a member of 'std' std::integer_sequence, ^ /usr/local/include/ceres/internal/numeric_diff.h:490:43: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/parameter_dims.h:94:45: error: template argument 1 is invalid using Offsets = ExclusiveScan; ^ /usr/local/include/ceres/internal/parameter_dims.h:95:47: error: there are no arguments to 'Offsets' that depend on a template parameter, so a declaration of 'Offsets' must be available [-fpermissive] return GetUnpackedParameters(ptr, Offsets()); ^ /usr/local/include/ceres/internal/numeric_diff.h:490:68: error: template argument 2 is invalid std::integer_sequence, ^ In file included from /usr/local/include/ceres/internal/autodiff.h:152:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/include/dre_slam/local_mapping.h:26, from /catkin_ws/src/dre_slam/core/src/local_mapping.cpp:17: /usr/local/include/ceres/internal/variadic_evaluate.h: At global scope: /usr/local/include/ceres/internal/variadic_evaluate.h:53:39: error: 'std::integer_sequence' has not been declared std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:53:55: error: expected ',' or '...' before '<' token std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:66:39: error: 'std::integer_sequence' has not been declared std::integer_sequence) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:66:55: error: expected ',' or '...' before '<' token std::integer_sequence) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h: In function 'bool ceres::internal::VariadicEvaluateImpl(const Functor&, const T const, T, const void)': /usr/local/include/ceres/internal/variadic_evaluate.h:77:12: error: 'make_integer_sequence' in namespace 'std' does not name a template type std::make_integer_sequence<int, ParameterDims::kNumParameterBlocks>; ^ /usr/local/include/ceres/internal/variadic_evaluate.h:80:66: error: there are no arguments to 'ParameterBlockIndices' that depend on a template parameter, so a declaration of 'ParameterBlockIndices' must be available [-fpermissive] functor, input, output, IsDynamic(), ParameterBlockIndices()); ^ In file included from /usr/local/include/ceres/internal/autodiff.h:153:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/include/dre_slam/local_mapping.h:26, from /catkin_ws/src/dre_slam/core/src/local_mapping.cpp:17: /usr/local/include/ceres/jet.h: At global scope: /usr/local/include/ceres/jet.h:998:8: error: 'ScalarBinaryOpTraits' is not a class template struct ScalarBinaryOpTraits<ceres::Jet<T, N>, T, BinaryOp> { ^ /usr/local/include/ceres/jet.h:1002:58: error: type/value mismatch at argument 3 in template parameter list for 'template<class BinaryOp, class T, int N> struct Eigen::ScalarBinaryOpTraits' struct ScalarBinaryOpTraits<T, ceres::Jet<T, N>, BinaryOp> { ^ /usr/local/include/ceres/jet.h:1002:58: note: expected a constant of type 'int', got 'BinaryOp' In file included from /usr/local/include/ceres/autodiff_cost_function.h:130:0, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/include/dre_slam/local_mapping.h:26, from /catkin_ws/src/dre_slam/core/src/local_mapping.cpp:17: /usr/local/include/ceres/internal/autodiff.h:217:34: error: 'integer_sequence' is not a member of 'std' struct Make1stOrderPerturbations<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:217:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:217:69: error: template argument 1 is invalid struct Make1stOrderPerturbations<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:232:34: error: 'integer_sequence' is not a member of 'std' struct Make1stOrderPerturbations<std::integer_sequence, ^ /usr/local/include/ceres/internal/autodiff.h:232:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:232:59: error: template argument 1 is invalid struct Make1stOrderPerturbations<std::integer_sequence, ^ /usr/local/include/ceres/internal/autodiff.h:282:26: error: 'integer_sequence' is not a member of 'std' struct Take1stOrderParts<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:282:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:282:61: error: template argument 1 is invalid struct Take1stOrderParts<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:298:26: error: 'integer_sequence' is not a member of 'std' struct Take1stOrderParts<std::integer_sequence, ParameterIdx, Offset> { ^ /usr/local/include/ceres/internal/autodiff.h:298:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:298:51: error: template argument 1 is invalid struct Take1stOrderParts<std::integer_sequence, ParameterIdx, Offset> { ^ In file included from /usr/local/include/ceres/ceres.h:42:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/include/dre_slam/local_mapping.h:26, from /catkin_ws/src/dre_slam/core/src/local_mapping.cpp:17: /usr/local/include/ceres/cost_function_to_functor.h:160:29: error: 'std::integer_sequence' has not been declared std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/cost_function_to_functor.h:160:45: error: expected ',' or '...' before '<' token std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/cost_function_to_functor.h: In member function 'bool ceres::CostFunctionToFunctor<kNumResiduals, Ns>::operator()(const T, Ts ...) const': /usr/local/include/ceres/cost_function_to_functor.h:147:14: error: 'make_integer_sequence' in namespace 'std' does not name a template type std::make_integer_sequence<int, ParameterDims::kNumParameterBlocks>; ^ /usr/local/include/ceres/cost_function_to_functor.h:149:49: error: there are no arguments to 'Indices' that depend on a template parameter, so a declaration of 'Indices' must be available [-fpermissive] GetParameterPointers(params, Indices()); ^ In file included from /usr/local/include/ceres/dynamic_numeric_diff_cost_function.h:44:0, from /usr/local/include/ceres/ceres.h:48, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/include/dre_slam/local_mapping.h:26, from /catkin_ws/src/dre_slam/core/src/local_mapping.cpp:17: /usr/local/include/ceres/internal/numeric_diff.h: At global scope: /usr/local/include/ceres/internal/numeric_diff.h:445:43: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/numeric_diff.h:445:43: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/numeric_diff.h:445:78: error: template argument 2 is invalid std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/numeric_diff.h:490:43: error: 'integer_sequence' is not a member of 'std' std::integer_sequence, ^ /usr/local/include/ceres/internal/numeric_diff.h:490:43: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/numeric_diff.h:490:68: error: template argument 2 is invalid std::integer_sequence, ^ dre_slam/CMakeFiles/dre_slam_lib.dir/build.make:254: recipe for target 'dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/map_point.cpp.o' failed make[2]: [dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/map_point.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... In file included from /usr/local/include/ceres/internal/parameter_dims.h:37:0, from /usr/local/include/ceres/internal/autodiff.h:151, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/include/dre_slam/local_mapping.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/dynamic_pixel_culling.h:20, from /catkin_ws/src/dre_slam/core/src/dynamic_pixel_culling.cpp:17: /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:46: error: wrong number of template arguments (3, should be 1) struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:49: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:51: error: wrong number of template arguments (4, should be 1) struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:54: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:59: error: wrong number of template arguments (6, should be 1) struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:62: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:41: error: wrong number of template arguments (2, should be 1) struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:42: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:38: error: template argument 1 is invalid struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:39: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:26: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<T, N, Ns...>, ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:59: error: wrong number of template arguments (5, should be 4) std::integer_sequence<T, N, Ns...>, ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:130:8: note: provided for 'template<class T, T Sum, class SeqIn, class SeqOut> struct ceres::internal::ExclusiveScanImpl' struct ExclusiveScanImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:34: error: 'integer_sequence' is not a member of 'std' struct ExclusiveScanImpl<T, Sum, std::integer_sequence, SeqOut> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:57: error: wrong number of template arguments (3, should be 4) struct ExclusiveScanImpl<T, Sum, std::integer_sequence, SeqOut> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:130:8: note: provided for 'template<class T, T Sum, class SeqIn, class SeqOut> struct ceres::internal::ExclusiveScanImpl' struct ExclusiveScanImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:48: error: 'integer_sequence' is not a member of 'std' typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:48: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:70: error: template argument 4 is invalid typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:16: error: expected nested-name-specifier typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ In file included from /usr/local/include/ceres/internal/autodiff.h:151:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/include/dre_slam/local_mapping.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/dynamic_pixel_culling.h:20, from /catkin_ws/src/dre_slam/core/src/dynamic_pixel_culling.cpp:17: /usr/local/include/ceres/internal/parameter_dims.h:44:50: error: 'integer_sequence' is not a member of 'std' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:72: error: expected primary-expression before 'int' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:78: error: expected ',' or ';' before '{' token constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:10: error: 'template<int N, int ...Ts> constexpr const bool ceres::internal::IsValidParameterDimensionSequence' redeclared as different kind of symbol std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:16: note: previous declaration 'constexpr const bool ceres::internal::IsValidParameterDimensionSequence' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:5: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:27: error: expected primary-expression before 'int' std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:40: error: expected ')' before '>' token std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:69:27: error: 'integer_sequence' in namespace 'std' does not name a template type using Parameters = std::integer_sequence<int, Ns...>; ^ /usr/local/include/ceres/internal/parameter_dims.h:74:52: error: there are no arguments to 'Parameters' that depend on a template parameter, so a declaration of 'Parameters' must be available [-fpermissive] IsValidParameterDimensionSequence(Parameters()); ^ /usr/local/include/ceres/internal/parameter_dims.h:74:52: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/local/include/ceres/internal/parameter_dims.h:85:11: error: 'integer_sequence' is not a member of 'std' Sum<std::integer_sequence<int, Ns...>>::Value; ^ /usr/local/include/ceres/internal/parameter_dims.h:85:11: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/parameter_dims.h:85:43: error: template argument 1 is invalid Sum<std::integer_sequence<int, Ns...>>::Value; ^ /usr/local/include/ceres/internal/parameter_dims.h:101:20: error: 'std::integer_sequence' has not been declared T ptr, std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:101:36: error: expected ',' or '...' before '<' token T ptr, std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h: In static member function 'static std::array<T, ceres::internal::ParameterDims<IsDynamic, Ns>::kNumParameterBlocks> ceres::internal::ParameterDims<IsDynamic, Ns>::GetUnpackedParameters(T)': /usr/local/include/ceres/internal/parameter_dims.h:94:35: error: 'Parameters' was not declared in this scope using Offsets = ExclusiveScan; ^ /usr/local/include/ceres/internal/parameter_dims.h:94:45: error: template argument 1 is invalid using Offsets = ExclusiveScan; ^ /usr/local/include/ceres/internal/parameter_dims.h:95:47: error: there are no arguments to 'Offsets' that depend on a template parameter, so a declaration of 'Offsets' must be available [-fpermissive] return GetUnpackedParameters(ptr, Offsets()); ^ In file included from /usr/local/include/ceres/internal/autodiff.h:152:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/include/dre_slam/local_mapping.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/dynamic_pixel_culling.h:20, from /catkin_ws/src/dre_slam/core/src/dynamic_pixel_culling.cpp:17: /usr/local/include/ceres/internal/variadic_evaluate.h: At global scope: /usr/local/include/ceres/internal/variadic_evaluate.h:53:39: error: 'std::integer_sequence' has not been declared std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:53:55: error: expected ',' or '...' before '<' token std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:66:39: error: 'std::integer_sequence' has not been declared std::integer_sequence) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:66:55: error: expected ',' or '...' before '<' token std::integer_sequence) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h: In function 'bool ceres::internal::VariadicEvaluateImpl(const Functor&, const T const, T, const void)': /usr/local/include/ceres/internal/variadic_evaluate.h:77:12: error: 'make_integer_sequence' in namespace 'std' does not name a template type std::make_integer_sequence<int, ParameterDims::kNumParameterBlocks>; ^ /usr/local/include/ceres/internal/variadic_evaluate.h:80:66: error: there are no arguments to 'ParameterBlockIndices' that depend on a template parameter, so a declaration of 'ParameterBlockIndices' must be available [-fpermissive] functor, input, output, IsDynamic(), ParameterBlockIndices()); ^ In file included from /usr/local/include/ceres/internal/autodiff.h:153:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/include/dre_slam/local_mapping.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/dynamic_pixel_culling.h:20, from /catkin_ws/src/dre_slam/core/src/dynamic_pixel_culling.cpp:17: /usr/local/include/ceres/jet.h: At global scope: /usr/local/include/ceres/jet.h:998:8: error: 'ScalarBinaryOpTraits' is not a class template struct ScalarBinaryOpTraits<ceres::Jet<T, N>, T, BinaryOp> { ^ /usr/local/include/ceres/jet.h:1002:58: error: type/value mismatch at argument 3 in template parameter list for 'template<class BinaryOp, class T, int N> struct Eigen::ScalarBinaryOpTraits' struct ScalarBinaryOpTraits<T, ceres::Jet<T, N>, BinaryOp> { ^ /usr/local/include/ceres/jet.h:1002:58: note: expected a constant of type 'int', got 'BinaryOp' In file included from /usr/local/include/ceres/autodiff_cost_function.h:130:0, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/include/dre_slam/local_mapping.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/dynamic_pixel_culling.h:20, from /catkin_ws/src/dre_slam/core/src/dynamic_pixel_culling.cpp:17: /usr/local/include/ceres/internal/autodiff.h:217:34: error: 'integer_sequence' is not a member of 'std' struct Make1stOrderPerturbations<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:217:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:217:69: error: template argument 1 is invalid struct Make1stOrderPerturbations<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:232:34: error: 'integer_sequence' is not a member of 'std' struct Make1stOrderPerturbations<std::integer_sequence, ^ /usr/local/include/ceres/internal/autodiff.h:232:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:232:59: error: template argument 1 is invalid struct Make1stOrderPerturbations<std::integer_sequence, ^ /usr/local/include/ceres/internal/autodiff.h:282:26: error: 'integer_sequence' is not a member of 'std' struct Take1stOrderParts<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:282:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:282:61: error: template argument 1 is invalid struct Take1stOrderParts<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:298:26: error: 'integer_sequence' is not a member of 'std' struct Take1stOrderParts<std::integer_sequence, ParameterIdx, Offset> { ^ /usr/local/include/ceres/internal/autodiff.h:298:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:298:51: error: template argument 1 is invalid struct Take1stOrderParts<std::integer_sequence, ParameterIdx, Offset> { ^ In file included from /usr/local/include/ceres/ceres.h:42:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/include/dre_slam/local_mapping.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/dynamic_pixel_culling.h:20, from /catkin_ws/src/dre_slam/core/src/dynamic_pixel_culling.cpp:17: /usr/local/include/ceres/cost_function_to_functor.h:160:29: error: 'std::integer_sequence' has not been declared std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/cost_function_to_functor.h:160:45: error: expected ',' or '...' before '<' token std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/cost_function_to_functor.h: In member function 'bool ceres::CostFunctionToFunctor<kNumResiduals, Ns>::operator()(const T, Ts ...) const': /usr/local/include/ceres/cost_function_to_functor.h:147:14: error: 'make_integer_sequence' in namespace 'std' does not name a template type std::make_integer_sequence<int, ParameterDims::kNumParameterBlocks>; ^ /usr/local/include/ceres/cost_function_to_functor.h:149:49: error: there are no arguments to 'Indices' that depend on a template parameter, so a declaration of 'Indices' must be available [-fpermissive] GetParameterPointers(params, Indices()); ^ In file included from /usr/local/include/ceres/dynamic_numeric_diff_cost_function.h:44:0, from /usr/local/include/ceres/ceres.h:48, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/loop_closing.h:23, from /catkin_ws/src/dre_slam/core/include/dre_slam/local_mapping.h:26, from /catkin_ws/src/dre_slam/core/include/dre_slam/dynamic_pixel_culling.h:20, from /catkin_ws/src/dre_slam/core/src/dynamic_pixel_culling.cpp:17: /usr/local/include/ceres/internal/numeric_diff.h: At global scope: /usr/local/include/ceres/internal/numeric_diff.h:445:43: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/numeric_diff.h:445:43: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/numeric_diff.h:445:78: error: template argument 2 is invalid std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/numeric_diff.h:490:43: error: 'integer_sequence' is not a member of 'std' std::integer_sequence, ^ /usr/local/include/ceres/internal/numeric_diff.h:490:43: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/numeric_diff.h:490:68: error: template argument 2 is invalid std::integer_sequence, ^ In file included from /usr/local/include/ceres/internal/parameter_dims.h:37:0, from /usr/local/include/ceres/internal/autodiff.h:151, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/tracking.h:24, from /catkin_ws/src/dre_slam/core/include/dre_slam/dre_slam.h:25, from /catkin_ws/src/dre_slam/core/src/dre_slam.cpp:17: /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:46: error: wrong number of template arguments (3, should be 1) struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:49: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:51: error: wrong number of template arguments (4, should be 1) struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:54: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:59: error: wrong number of template arguments (6, should be 1) struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:62: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:41: error: wrong number of template arguments (2, should be 1) struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for 'template struct ceres::internal::SumImpl' struct SumImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:42: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence<T, N>> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:16: error: 'integer_sequence' is not a member of 'std' struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:16: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:38: error: template argument 1 is invalid struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:39: error: expected unqualified-id before '>' token struct SumImpl<std::integer_sequence> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:26: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<T, N, Ns...>, ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:59: error: wrong number of template arguments (5, should be 4) std::integer_sequence<T, N, Ns...>, ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:130:8: note: provided for 'template<class T, T Sum, class SeqIn, class SeqOut> struct ceres::internal::ExclusiveScanImpl' struct ExclusiveScanImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:34: error: 'integer_sequence' is not a member of 'std' struct ExclusiveScanImpl<T, Sum, std::integer_sequence, SeqOut> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:57: error: wrong number of template arguments (3, should be 4) struct ExclusiveScanImpl<T, Sum, std::integer_sequence, SeqOut> { ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:130:8: note: provided for 'template<class T, T Sum, class SeqIn, class SeqOut> struct ceres::internal::ExclusiveScanImpl' struct ExclusiveScanImpl; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:48: error: 'integer_sequence' is not a member of 'std' typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:48: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:70: error: template argument 4 is invalid typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ /usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:16: error: expected nested-name-specifier typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type; ^ In file included from /usr/local/include/ceres/internal/autodiff.h:151:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/tracking.h:24, from /catkin_ws/src/dre_slam/core/include/dre_slam/dre_slam.h:25, from /catkin_ws/src/dre_slam/core/src/dre_slam.cpp:17: /usr/local/include/ceres/internal/parameter_dims.h:44:50: error: 'integer_sequence' is not a member of 'std' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:72: error: expected primary-expression before 'int' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:78: error: expected ',' or ';' before '{' token constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:10: error: 'template<int N, int ...Ts> constexpr const bool ceres::internal::IsValidParameterDimensionSequence' redeclared as different kind of symbol std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:44:16: note: previous declaration 'constexpr const bool ceres::internal::IsValidParameterDimensionSequence' constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:5: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:27: error: expected primary-expression before 'int' std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:50:40: error: expected ')' before '>' token std::integer_sequence<int, N, Ts...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:69:27: error: 'integer_sequence' in namespace 'std' does not name a template type using Parameters = std::integer_sequence<int, Ns...>; ^ /usr/local/include/ceres/internal/parameter_dims.h:74:52: error: there are no arguments to 'Parameters' that depend on a template parameter, so a declaration of 'Parameters' must be available [-fpermissive] IsValidParameterDimensionSequence(Parameters()); ^ /usr/local/include/ceres/internal/parameter_dims.h:74:52: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/local/include/ceres/internal/parameter_dims.h:85:11: error: 'integer_sequence' is not a member of 'std' Sum<std::integer_sequence<int, Ns...>>::Value; ^ /usr/local/include/ceres/internal/parameter_dims.h:85:11: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/parameter_dims.h:85:43: error: template argument 1 is invalid Sum<std::integer_sequence<int, Ns...>>::Value; ^ /usr/local/include/ceres/internal/parameter_dims.h:101:20: error: 'std::integer_sequence' has not been declared T ptr, std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h:101:36: error: expected ',' or '...' before '<' token T ptr, std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/parameter_dims.h: In static member function 'static std::array<T, ceres::internal::ParameterDims<IsDynamic, Ns>::kNumParameterBlocks> ceres::internal::ParameterDims<IsDynamic, Ns>::GetUnpackedParameters(T)': /usr/local/include/ceres/internal/parameter_dims.h:94:35: error: 'Parameters' was not declared in this scope using Offsets = ExclusiveScan; ^ /usr/local/include/ceres/internal/parameter_dims.h:94:45: error: template argument 1 is invalid using Offsets = ExclusiveScan; ^ /usr/local/include/ceres/internal/parameter_dims.h:95:47: error: there are no arguments to 'Offsets' that depend on a template parameter, so a declaration of 'Offsets' must be available [-fpermissive] return GetUnpackedParameters(ptr, Offsets()); ^ In file included from /usr/local/include/ceres/internal/autodiff.h:152:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/tracking.h:24, from /catkin_ws/src/dre_slam/core/include/dre_slam/dre_slam.h:25, from /catkin_ws/src/dre_slam/core/src/dre_slam.cpp:17: /usr/local/include/ceres/internal/variadic_evaluate.h: At global scope: /usr/local/include/ceres/internal/variadic_evaluate.h:53:39: error: 'std::integer_sequence' has not been declared std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:53:55: error: expected ',' or '...' before '<' token std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:66:39: error: 'std::integer_sequence' has not been declared std::integer_sequence) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h:66:55: error: expected ',' or '...' before '<' token std::integer_sequence) { ^ /usr/local/include/ceres/internal/variadic_evaluate.h: In function 'bool ceres::internal::VariadicEvaluateImpl(const Functor&, const T const, T, const void)': /usr/local/include/ceres/internal/variadic_evaluate.h:77:12: error: 'make_integer_sequence' in namespace 'std' does not name a template type std::make_integer_sequence<int, ParameterDims::kNumParameterBlocks>; ^ /usr/local/include/ceres/internal/variadic_evaluate.h:80:66: error: there are no arguments to 'ParameterBlockIndices' that depend on a template parameter, so a declaration of 'ParameterBlockIndices' must be available [-fpermissive] functor, input, output, IsDynamic(), ParameterBlockIndices()); ^ In file included from /usr/local/include/ceres/internal/autodiff.h:153:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/tracking.h:24, from /catkin_ws/src/dre_slam/core/include/dre_slam/dre_slam.h:25, from /catkin_ws/src/dre_slam/core/src/dre_slam.cpp:17: /usr/local/include/ceres/jet.h: At global scope: /usr/local/include/ceres/jet.h:998:8: error: 'ScalarBinaryOpTraits' is not a class template struct ScalarBinaryOpTraits<ceres::Jet<T, N>, T, BinaryOp> { ^ /usr/local/include/ceres/jet.h:1002:58: error: type/value mismatch at argument 3 in template parameter list for 'template<class BinaryOp, class T, int N> struct Eigen::ScalarBinaryOpTraits' struct ScalarBinaryOpTraits<T, ceres::Jet<T, N>, BinaryOp> { ^ /usr/local/include/ceres/jet.h:1002:58: note: expected a constant of type 'int', got 'BinaryOp' In file included from /usr/local/include/ceres/autodiff_cost_function.h:130:0, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/tracking.h:24, from /catkin_ws/src/dre_slam/core/include/dre_slam/dre_slam.h:25, from /catkin_ws/src/dre_slam/core/src/dre_slam.cpp:17: /usr/local/include/ceres/internal/autodiff.h:217:34: error: 'integer_sequence' is not a member of 'std' struct Make1stOrderPerturbations<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:217:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:217:69: error: template argument 1 is invalid struct Make1stOrderPerturbations<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:232:34: error: 'integer_sequence' is not a member of 'std' struct Make1stOrderPerturbations<std::integer_sequence, ^ /usr/local/include/ceres/internal/autodiff.h:232:34: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:232:59: error: template argument 1 is invalid struct Make1stOrderPerturbations<std::integer_sequence, ^ /usr/local/include/ceres/internal/autodiff.h:282:26: error: 'integer_sequence' is not a member of 'std' struct Take1stOrderParts<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:282:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:282:61: error: template argument 1 is invalid struct Take1stOrderParts<std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/autodiff.h:298:26: error: 'integer_sequence' is not a member of 'std' struct Take1stOrderParts<std::integer_sequence, ParameterIdx, Offset> { ^ /usr/local/include/ceres/internal/autodiff.h:298:26: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/autodiff.h:298:51: error: template argument 1 is invalid struct Take1stOrderParts<std::integer_sequence, ParameterIdx, Offset> { ^ In file included from /usr/local/include/ceres/ceres.h:42:0, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/tracking.h:24, from /catkin_ws/src/dre_slam/core/include/dre_slam/dre_slam.h:25, from /catkin_ws/src/dre_slam/core/src/dre_slam.cpp:17: /usr/local/include/ceres/cost_function_to_functor.h:160:29: error: 'std::integer_sequence' has not been declared std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/cost_function_to_functor.h:160:45: error: expected ',' or '...' before '<' token std::integer_sequence<int, Indices...>) { ^ /usr/local/include/ceres/cost_function_to_functor.h: In member function 'bool ceres::CostFunctionToFunctor<kNumResiduals, Ns>::operator()(const T, Ts ...) const': /usr/local/include/ceres/cost_function_to_functor.h:147:14: error: 'make_integer_sequence' in namespace 'std' does not name a template type std::make_integer_sequence<int, ParameterDims::kNumParameterBlocks>; ^ /usr/local/include/ceres/cost_function_to_functor.h:149:49: error: there are no arguments to 'Indices' that depend on a template parameter, so a declaration of 'Indices' must be available [-fpermissive] GetParameterPointers(params, Indices()); ^ In file included from /usr/local/include/ceres/dynamic_numeric_diff_cost_function.h:44:0, from /usr/local/include/ceres/ceres.h:48, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/include/dre_slam/tracking.h:24, from /catkin_ws/src/dre_slam/core/include/dre_slam/dre_slam.h:25, from /catkin_ws/src/dre_slam/core/src/dre_slam.cpp:17: /usr/local/include/ceres/internal/numeric_diff.h: At global scope: /usr/local/include/ceres/internal/numeric_diff.h:445:43: error: 'integer_sequence' is not a member of 'std' std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/numeric_diff.h:445:43: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/numeric_diff.h:445:78: error: template argument 2 is invalid std::integer_sequence<int, N, Ns...>, ^ /usr/local/include/ceres/internal/numeric_diff.h:490:43: error: 'integer_sequence' is not a member of 'std' std::integer_sequence, ^ /usr/local/include/ceres/internal/numeric_diff.h:490:43: error: 'integer_sequence' is not a member of 'std' /usr/local/include/ceres/internal/numeric_diff.h:490:68: error: template argument 2 is invalid std::integer_sequence, ^ In file included from /usr/local/include/ceres/autodiff_cost_function.h:130:0, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/src/optimizer.cpp:17: /usr/local/include/ceres/internal/autodiff.h: In instantiation of 'bool ceres::internal::AutoDifferentiate(const Functor&, const T const, int, T*, T) [with int kNumResiduals = 3; ParameterDims = ceres::internal::ParameterDims<false, 1, 1, 1, 1, 1, 1>; Functor = dre_slam::EncoderFrame2FrameError; T = double]': /usr/local/include/ceres/autodiff_cost_function.h:210:69: required from 'bool ceres::AutoDiffCostFunction<CostFunctor, kNumResiduals, Ns>::Evaluate(const double const, double*, double*) const [with CostFunctor = dre_slam::EncoderFrame2FrameError; int kNumResiduals = 3; int ...Ns = {1, 1, 1, 1, 1, 1}]' /catkin_ws/src/dre_slam/core/src/optimizer.cpp:683:1: required from here /usr/local/include/ceres/internal/autodiff.h:315:56: error: no type named 'Parameters' in 'class ceres::internal::ParameterDims<false, 1, 1, 1, 1, 1, 1>' using Parameters = typename ParameterDims::Parameters; ^ /usr/local/include/ceres/internal/autodiff.h:348:47: error: no type named 'Parameters' in 'class ceres::internal::ParameterDims<false, 1, 1, 1, 1, 1, 1>' Make1stOrderPerturbations::Apply(parameters, ^ /usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named 'Parameters' in 'class ceres::internal::ParameterDims<false, 1, 1, 1, 1, 1, 1>' Take1stOrderParts::Apply( ^ /usr/local/include/ceres/internal/autodiff.h: In instantiation of 'bool ceres::internal::AutoDifferentiate(const Functor&, const T const, int, T, T) [with int kNumResiduals = 2; ParameterDims = ceres::internal::ParameterDims<false, 1, 1, 1, 1, 1, 1>; Functor = dre_slam::ProjectionError; T = double]': /usr/local/include/ceres/autodiff_cost_function.h:210:69: required from 'bool ceres::AutoDiffCostFunction<CostFunctor, kNumResiduals, Ns>::Evaluate(const double const, double*, double) const [with CostFunctor = dre_slam::ProjectionError; int kNumResiduals = 2; int ...Ns = {1, 1, 1, 1, 1, 1}]' /catkin_ws/src/dre_slam/core/src/optimizer.cpp:683:1: required from here /usr/local/include/ceres/internal/autodiff.h:315:56: error: no type named 'Parameters' in 'class ceres::internal::ParameterDims<false, 1, 1, 1, 1, 1, 1>' using Parameters = typename ParameterDims::Parameters; ^ /usr/local/include/ceres/internal/autodiff.h:348:47: error: no type named 'Parameters' in 'class ceres::internal::ParameterDims<false, 1, 1, 1, 1, 1, 1>' Make1stOrderPerturbations::Apply(parameters, ^ /usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named 'Parameters' in 'class ceres::internal::ParameterDims<false, 1, 1, 1, 1, 1, 1>' Take1stOrderParts::Apply( ^ In file included from /usr/local/include/ceres/internal/autodiff.h:151:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/src/optimizer.cpp:17: /usr/local/include/ceres/internal/parameter_dims.h: In instantiation of 'constexpr const bool ceres::internal::ParameterDims<false, 1, 1>::kIsValid': /usr/local/include/ceres/internal/parameter_dims.h:73:25: required from 'class ceres::internal::ParameterDims<false, 1, 1>' /usr/local/include/ceres/internal/autodiff.h:314:49: required from 'bool ceres::internal::AutoDifferentiate(const Functor&, const T const, int, T*, T*) [with int kNumResiduals = 1; ParameterDims = ceres::internal::ParameterDims<false, 1, 1>; Functor = dre_slam::AngleLocalParameterization; T = double]' /usr/local/include/ceres/autodiff_local_parameterization.h:139:64: required from 'bool ceres::AutoDiffLocalParameterization<Functor, kGlobalSize, kLocalSize>::ComputeJacobian(const double, double) const [with Functor = dre_slam::AngleLocalParameterization; int kGlobalSize = 1; int kLocalSize = 1]' /catkin_ws/src/dre_slam/core/src/optimizer.cpp:683:1: required from here /usr/local/include/ceres/internal/parameter_dims.h:74:51: error: 'Parameters' was not declared in this scope IsValidParameterDimensionSequence(Parameters()); ^ In file included from /usr/local/include/ceres/autodiff_cost_function.h:130:0, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/src/optimizer.cpp:17: /usr/local/include/ceres/internal/autodiff.h: In instantiation of 'bool ceres::internal::AutoDifferentiate(const Functor&, const T const, int, T, T) [with int kNumResiduals = 1; ParameterDims = ceres::internal::ParameterDims<false, 1, 1>; Functor = dre_slam::AngleLocalParameterization; T = double]': /usr/local/include/ceres/autodiff_local_parameterization.h:139:64: required from 'bool ceres::AutoDiffLocalParameterization<Functor, kGlobalSize, kLocalSize>::ComputeJacobian(const double, double) const [with Functor = dre_slam::AngleLocalParameterization; int kGlobalSize = 1; int kLocalSize = 1]' /catkin_ws/src/dre_slam/core/src/optimizer.cpp:683:1: required from here /usr/local/include/ceres/internal/autodiff.h:315:56: error: no type named 'Parameters' in 'class ceres::internal::ParameterDims<false, 1, 1>' using Parameters = typename ParameterDims::Parameters; ^ /usr/local/include/ceres/internal/autodiff.h:348:47: error: no type named 'Parameters' in 'class ceres::internal::ParameterDims<false, 1, 1>' Make1stOrderPerturbations::Apply(parameters, ^ /usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named 'Parameters' in 'class ceres::internal::ParameterDims<false, 1, 1>' Take1stOrderParts::Apply( ^ In file included from /usr/local/include/ceres/internal/autodiff.h:152:0, from /usr/local/include/ceres/autodiff_cost_function.h:130, from /usr/local/include/ceres/ceres.h:37, from /catkin_ws/src/dre_slam/core/include/dre_slam/optimizer.h:20, from /catkin_ws/src/dre_slam/core/src/optimizer.cpp:17: /usr/local/include/ceres/internal/variadic_evaluate.h: In instantiation of 'bool ceres::internal::VariadicEvaluateImpl(const Functor&, const T const, T, const void) [with ParameterDims = ceres::internal::ParameterDims<false, 1, 1, 1, 1, 1, 1>; Functor = dre_slam::EncoderFrame2FrameError; T = double]': /usr/local/include/ceres/internal/variadic_evaluate.h:108:45: required from 'bool ceres::internal::VariadicEvaluate(const Functor&, const T const, T) [with ParameterDims = ceres::internal::ParameterDims<false, 1, 1, 1, 1, 1, 1>; Functor = dre_slam::EncoderFrame2FrameError; T = double]' /usr/local/include/ceres/autodiff_cost_function.h:207:55: required from 'bool ceres::AutoDiffCostFunction<CostFunctor, kNumResiduals, Ns>::Evaluate(const double const, double, double) const [with CostFunctor = dre_slam::EncoderFrame2FrameError; int kNumResiduals = 3; int ...Ns = {1, 1, 1, 1, 1, 1}]' /catkin_ws/src/dre_slam/core/src/optimizer.cpp:683:1: required from here /usr/local/include/ceres/internal/variadic_evaluate.h:80:65: error: 'ParameterBlockIndices' was not declared in this scope functor, input, output, IsDynamic(), ParameterBlockIndices()); ^ /usr/local/include/ceres/internal/variadic_evaluate.h: In instantiation of 'bool ceres::internal::VariadicEvaluateImpl(const Functor&, const T const, T, const void) [with ParameterDims = ceres::internal::ParameterDims<false, 1, 1, 1, 1, 1, 1>; Functor = dre_slam::ProjectionError; T = double]': /usr/local/include/ceres/internal/variadic_evaluate.h:108:45: required from 'bool ceres::internal::VariadicEvaluate(const Functor&, const T const, T) [with ParameterDims = ceres::internal::ParameterDims<false, 1, 1, 1, 1, 1, 1>; Functor = dre_slam::ProjectionError; T = double]' /usr/local/include/ceres/autodiff_cost_function.h:207:55: required from 'bool ceres::AutoDiffCostFunction<CostFunctor, kNumResiduals, Ns>::Evaluate(const double const, double, double) const [with CostFunctor = dre_slam::ProjectionError; int kNumResiduals = 2; int ...Ns = {1, 1, 1, 1, 1, 1}]' /catkin_ws/src/dre_slam/core/src/optimizer.cpp:683:1: required from here /usr/local/include/ceres/internal/variadic_evaluate.h:80:65: error: 'ParameterBlockIndices' was not declared in this scope dre_slam/CMakeFiles/dre_slam_lib.dir/build.make:398: recipe for target 'dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/optimizer.cpp.o' failed make[2]: [dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/optimizer.cpp.o] Error 1 dre_slam/CMakeFiles/dre_slam_lib.dir/build.make:206: recipe for target 'dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/loop_closing.cpp.o' failed make[2]: [dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/loop_closing.cpp.o] Error 1 dre_slam/CMakeFiles/dre_slam_lib.dir/build.make:182: recipe for target 'dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/local_mapping.cpp.o' failed make[2]: [dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/local_mapping.cpp.o] Error 1 dre_slam/CMakeFiles/dre_slam_lib.dir/build.make:62: recipe for target 'dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/dre_slam.cpp.o' failed make[2]: [dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/dre_slam.cpp.o] Error 1 dre_slam/CMakeFiles/dre_slam_lib.dir/build.make:158: recipe for target 'dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/tracking.cpp.o' failed make[2]: [dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/tracking.cpp.o] Error 1 dre_slam/CMakeFiles/dre_slam_lib.dir/build.make:446: recipe for target 'dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/dynamic_pixel_culling.cpp.o' failed make[2]: [dre_slam/CMakeFiles/dre_slam_lib.dir/core/src/dynamic_pixel_culling.cpp.o] Error 1 CMakeFiles/Makefile2:529: recipe for target 'dre_slam/CMakeFiles/dre_slam_lib.dir/all' failed make[1]: [dre_slam/CMakeFiles/dre_slam_lib.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: [all] Error 2 Invoking "make -j8 -l8" failed

L-ED commented 3 years ago

Hi, i figured that cv-bridge and other ros modules for opencv works on opencv3.4, so they conflict with opencv4. I don`t understand how authors work with opencv4, but when i changed opencv to 3.4 version, dre_slam was successfully launched. And now i have another issue. When dre producing first image, it incorrectly defines shape of image and stop processes.    

 

Четверг, 10 декабря 2020, 15:15 +03:00 от Mengzhe notifications@github.com:     how did you solve these issues? @nendem — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub , or unsubscribe .    

Egor Lygin  

hellovuong commented 3 years ago

I think It is due to incorrect version ceres. The version v2.0 requires c++14, I used v2.0 and get the same errors. then switched to v1.14, everything is fine