/home/xxx/slambook/ch6/g2o_curve_fitting/main.cpp: In function ‘intmain(int,char**)’:/home/xxx/slambook/ch6/g2o_curve_fitting/main.cpp:77:49: error: no matching function for call to ‘g2o::BlockSolver<g2o::BlockSolverTraits<3,1>>::BlockSolver(g2o::BlockSolver<g2o::BlockSolverTraits<3,1>>::LinearSolverType*&)’
Block* solver_ptr = new Block( linearSolver );// 矩阵块求解器^
In file included from /usr/local/include/g2o/core/block_solver.h:199:0,
from /home/xxx/slambook/ch6/g2o_curve_fitting/main.cpp:4:/usr/local/include/g2o/core/block_solver.hpp:40:1: note: candidate: g2o::BlockSolver<Traits>::BlockSolver(std::unique_ptr<typename Traits::LinearSolverType>)[with Traits
aka class ceres::internal::FixedArray<double, 3>}’ has no member named ‘fill’
/usr/local/include/g2o/core/base_fixed_sized_edge.hpp:165:14: error: ‘FixedArray {aka class ceres::internal::FixedArray<double, 3>}’ has no member named ‘fill’ add_vertex.fill(0.);
这个问题有大佬遇到过吗?