Open zhm1995 opened 7 years ago
Did you install cholmod library? For example,
sudo apt-get install libcholmod2.1.2
really thank you for your help I have figured out this problem
Hi, I have seen the same error, could you share the solution? I install the libcholmod2.1.2 with no luck.
finally I sove it by: sudo apt-get install libsuitesparse-dev
yeah... the same as me...
Sorry,but I see another issue:
slambook/ch10/g2o_custombundle/g2o_bundle.cpp:21:55: fatal error: g2o/solvers/cholmod/linear_solver_cholmod.h: No such file or directory
download the suitesparse package in http://faculty.cs.tamu.edu/davis/suitesparse.html
Thanks, after install the suitespase package I should rebuild the g2o library, then the ch10 example could run.
After I tried install dependencies in install_dependencies.sh, I couldn't find cholmod.h either.
However I can find this file in my /usr/include/suitesparse/cholmod.h
, so I tried absolute path, It works.
Maybe it's a temporal solution.
`Build type: Release -- Using flag -std=c++11. -- Could NOT find CHOLMOD (missing: CHOLMOD_INCLUDE_DIR CHOLMOD_LIBRARIES) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: CHOLMOD_INCLUDE_DIR used as include directory in directory /home/sunkaikai/skk/zlB/ORB-YGZ-SLAM used as include directory in directory /home/sunkaikai/skk/zlB/ORB-YGZ-SLAM used as include directory in directory /home/sunkaikai/skk/zlB/ORB-YGZ-SLAM used as include directory in directory /home/sunkaikai/skk/zlB/ORB-YGZ-SLAM used as include directory in directory /home/sunkaikai/skk/zlB/ORB-YGZ-SLAM used as include directory in directory /home/sunkaikai/skk/zlB/ORB-YGZ-SLAM used as include directory in directory /home/sunkaikai/skk/zlB/ORB-YGZ-SLAM used as include directory in directory /home/sunkaikai/skk/zlB/ORB-YGZ-SLAM CHOLMOD_LIBRARY linked by target "ygz-SLAM" in directory /home/sunkaikai/skk/zlB/ORB-YGZ-SLAM
-- Configuring incomplete, errors occurred! ` would you please have a look? There might be some problems with g2o?