weisongwen / GraphGNSSLib

An Open-source Package for GNSS Positioning and Real-time Kinematic Using Factor Graph Optimization
484 stars 133 forks source link

Have some problem with the ceres and cmakelist #26

Open hello299 opened 2 months ago

hello299 commented 2 months ago

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 commented 1 month ago

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吗