gaoxiang12 / slambook2

edition 2 of the slambook
MIT License
5.39k stars 2k forks source link

ch9 ceres problem #240

Open Kihoon-Shin opened 2 years ago

Kihoon-Shin commented 2 years ago

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

C-H-Chien commented 7 months ago

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