slambook2 icon indicating copy to clipboard operation
slambook2 copied to clipboard

ch9 ceres problem

Open Kihoon-Shin opened this issue 2 years ago • 1 comments

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??

Kihoon-Shin avatar May 23 '22 13:05 Kihoon-Shin

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

C-H-Chien avatar Jan 14 '24 06:01 C-H-Chien