sair-lab / AirSLAM

🚀 AirVO upgrades to AirSLAM 🚀
GNU General Public License v3.0
754 stars 108 forks source link

CMake Error: g2o #50

Closed ZJJ2022415 closed 1 year ago

ZJJ2022415 commented 1 year ago

Excuse me, I encountered a g2o problem when compiling. How can I solve it?

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: G2O_INCREMENTAL_LIBRARY linked by target "air_vo_lib" in directory /home/zjj/AirVO_ws/src/AirVO-master G2O_INTERACTIVE_LIBRARY linked by target "air_vo_lib" in directory /home/zjj/AirVO_ws/src/AirVO-master G2O_SOLVER_CHOLMOD linked by target "air_vo_lib" in directory /home/zjj/AirVO_ws/src/AirVO-master G2O_SOLVER_CSPARSE linked by target "air_vo_lib" in directory /home/zjj/AirVO_ws/src/AirVO-master G2O_SOLVER_CSPARSE_EXTENSION linked by target "air_vo_lib" in directory /home/zjj/AirVO_ws/src/AirVO-master G2O_VIEWER_LIBRARY linked by target "air_vo_lib" in directory /home/zjj/AirVO_ws/src/AirVO-master

-- Configuring incomplete, errors occurred! See also "/home/zjj/AirVO_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/zjj/AirVO_ws/build/CMakeFiles/CMakeError.log".

Thanks!

ZJJ2022415 commented 1 year ago

I have already installed g2o.

ZJJ2022415 commented 1 year ago

Which version of g2o are you using?

xukuanHIT commented 1 year ago

@ZJJ2022415 Hi, we use the latest version. Please install these optional requirements before installing g2o.

ZJJ2022415 commented 1 year ago

I have solved the problem, thank you.