ceres-solver / ceres-solver

A large scale non-linear optimization library

Home Page:http://ceres-solver.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to find Ceres - Missing required Ceres dependency: glog. Searched using GLOG_INCLUDE_DIR_HINTS: /usr/include and glog_DIR: .

xuanrun opened this issue · comments

I use command sudo apt-get install -y libgoogle-glog-dev and sudo apt-get install -y libatlas-base-dev
afterward I use command
wget -O ~/Downloads/ceres.zip https://github.com/ceres-solver/ceres-solver/archive/1.14.0.zip
cd ~/Downloads/ && unzip ceres.zip -d ~/Downloads/
cd ~/Downloads/ceres-solver-1.14.0
mkdir ceres-bin && cd ceres-bin
cmake ..
sudo make install -j4

all commands are successfully executed,
but when I complie this slam repohttps://github.com/TixiaoShan/LVI-SAM?tab=readme-ov-file
execute catkin_make
the following cmake error came out
捕获
I tryed to solve this error by changed the glog version to the 0.7 and 0.5,but other error came out ,
I also tryed to reset the GLOG_INCLUDE_DIR_HINTS and glog_DIR but nothing changed, this error came out all the same

1.14 is an ancient version of ceres solver and not supported anymore. Can you try something more recent?

1.14 is an ancient version of ceres solver and not supported anymore. Can you try something more recent?

thank you for your reply ,I just reinstall the glog version -- 0.4 from glog's github instead of using command "sudo apt-get install -y libgoogle-glog-dev" and solved this problem.