slambook2
slambook2 copied to clipboard
ch9 ceres problem
when I execute the code in chapter 9 in window visual studio 2022,
I get error message
1>C:\Users\tosan\src\vcpkg\installed\x86-windows\include\ceres\gradient_problem.h(159,9): error C4996: 'ceres::LocalParameterization': LocalParameterizations will be removed from the Ceres Solver API in version 2.2.0. Use Manifolds instead. 1>C:\Users\tosan\src\vcpkg\installed\x86-windows\include\ceres\gradient_problem.h(169,3): error C4996: 'ceres::LocalParameterization': LocalParameterizations will be removed from the Ceres Solver API in version 2.2.0. Use Manifolds instead. 1>C:\Users\tosan\src\vcpkg\installed\x86-windows\include\ceres\gradient_problem.h(176,19): error C4996: 'ceres::LocalParameterization': LocalParameterizations will be removed from the Ceres Solver API in version 2.2.0. Use Manifolds instead.
I think it's "LocalParameterizations" is deprecated as ceres version updated.
how can i fix it??
Install Ceres versions 2.0.0 or 2.1.0 instead. You can do that by running the following command in terminal:
wget http://ceres-solver.org/ceres-solver-2.1.0.tar.gz