Skip to content

make error #23

Description

@npcdna

when i use 39b5a8a to make, i meet 3 problem;
First cmake error! In tests/CMakeLists.txt: cmake_policy(SET CMP0104 OLD)
and then, i solve this problem by change this line to:
if(POLICY CMP0104)
cmake_policy(SET CMP0104 OLD)
endif()
second cmake success, but make error: fatal error: sophus/se3.hpp: No such file or directory
18 | # include "sophus/se3.hpp"
then I solve this line by change the code in SophusSelector.h:
// #ifdef SAIGA_SYSTEM_SOPHUS
// # include "sophus/se3.hpp"
// # include "sophus/sim3.hpp"
// #else
#include "External/se3.hpp"
#include "External/sim3.hpp"
// #endif
third i met error:
Snake-SLAM/External/saiga/src/saiga/vision/imu/DecoupledImuSolver.cpp:117:12: error: ‘using PGOSolver = struct Eigen::Recursive::MixedSymmetricRecursiveSolver<Eigen::SparseMatrix<Eigen::Recursive::MatrixScalar<Eigen::Matrix<double, 9, 9> >, 1>, Eigen::Matrix<Eigen::Recursive::MatrixScalar<Eigen::Matrix<double, 9, 1, 0, 9, 1> >, -1, 1> >’ {aka ‘struct Eigen::Recursive::MixedSymmetricRecursiveSolver<Eigen::SparseMatrix<Eigen::Recursive::MatrixScalar<Eigen::Matrix<double, 9, 9> >, 1>, Eigen::Matrix<Eigen::Recursive::MatrixScalar<Eigen::Matrix<double, 9, 1, 0, 9, 1> >, -1, 1> >’} has no member named ‘Init’
117 | solver.Init();
| ^~~~

but i don't know how to solve this problem

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions