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

Have some problem with the ceres and cmakelist #26

Open
hello299 opened this issue Jul 29, 2024 · 1 comment
Open

Have some problem with the ceres and cmakelist #26

hello299 opened this issue Jul 29, 2024 · 1 comment

Comments

@hello299
Copy link

I am sorry for disturb you in this panel:
I have a problem:
我安装了ceres-slover在/usr/local/ceres-solver2.0.0的文件夹,同时在cmakelist里面也通过set设置了相关的Ceres-DIR目录,C++版本设置为14
2024-07-29 12-49-26 的屏幕截图
2024-07-29 12-49-30 的屏幕截图
同时在相应的程序实现中,我也将include<ceres/ceres.h>类似的版本改成了下面的版本
2024-07-29 12-50-53 的屏幕截图
但是程序依然报错:
2024-07-29 12-51-55 的屏幕截图
2024-07-29 12-52-03 的屏幕截图
2024-07-29 12-52-03 的屏幕截图
我发现ceres调用出错的地方,指向的还是默认的ceres库,并没有使用ceres2.0.0的库中的函数,请问这个如何调整才能正确运行?

@Pirkaklo
Copy link
Collaborator

Pirkaklo commented Sep 5, 2024

I am sorry for disturb you in this panel: I have a problem: 我安装了ceres-slover在/usr/local/ceres-solver2.0.0的文件夹,同时在cmakelist里面也通过set设置了相关的Ceres-DIR目录,C++版本设置为14 2024-07-29 12-49-26 的屏幕截图 2024-07-29 12-49-30 的屏幕截图 同时在相应的程序实现中,我也将include<ceres/ceres.h>类似的版本改成了下面的版本 2024-07-29 12-50-53 的屏幕截图 但是程序依然报错: 2024-07-29 12-51-55 的屏幕截图 2024-07-29 12-52-03 的屏幕截图 2024-07-29 12-52-03 的屏幕截图 我发现ceres调用出错的地方,指向的还是默认的ceres库,并没有使用ceres2.0.0的库中的函数,请问这个如何调整才能正确运行?

您好,请问有试过将C++14改为C++17吗

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

2 participants