darglein / Snake-SLAM

MIT License
123 stars 23 forks source link

Compile Error #2

Closed yuancaimaiyi closed 2 years ago

yuancaimaiyi commented 2 years ago

@darglein Hi,thank you very much for your work, I was very interested in this, so went to cmake and compile the project, But encountered various problems. My computer default environment is : ubuntu18.04,g++ version 7.5(default) cuda 10.2 In the beginning, cmake could not succeed in such an environment, so I upgraded g++ to 8.4 and cuda to 11.1, and cmake could succeed, but the following error occurred when compiling:
error 1: /lib/libsaiga_core.so: undefined reference to 'vtable for std::filesystem::__cxx11::filesystem_error' error 2:
Snake-SLAM/External/saiga/src/saiga/vision/imu/DecoupledImuSolverCeres.cpp:276:24: error: no member named 'evaluation_callback' in 'ceres::Problem::Options'