Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu20.04+ceres2.0.0+eigen3.3.7编译报错 #22

Open
zengpx996 opened this issue Aug 31, 2024 · 0 comments
Open

Ubuntu20.04+ceres2.0.0+eigen3.3.7编译报错 #22

zengpx996 opened this issue Aug 31, 2024 · 0 comments

Comments

@zengpx996
Copy link

  1. 问题现象
    按照README的教程,如图1,能够正常的build,可是在make编译时却报错了,如图2和图3。
    1725105759073
    1725105966845
    1725106008765
  2. 原因分析
    按理来说按照教程应该能正常编译,看报错表示是没找到某个类,猜测应该是版本依赖问题,首先检查ceres2.0.0和2.1.0版本确实没有报错的类头文件,然后检查作者的更新日志发现作者用ceres::Manifold类替换了ceres::LocalParameterization,而ceres::Manifold在ceres2.2版本才引入。
  3. 解决方法
    把ceres换成2.2.0版本顺利编译。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant