i2Nav-WHU / OB_GINS

An Optimization-Based GNSS/INS Integrated Navigation System
GNU General Public License v3.0
500 stars 157 forks source link

Can't finish build without 'findabsl.cmake' #3

Closed Gary2077 closed 2 years ago

Gary2077 commented 2 years ago

First I build following instruction, while undergoing cmake step, error occurs like : CMake Error at CMakeLists.txt:41 (find_package): By not providing "Findabsl.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "absl", but CMake did not find one.

Could not find a package configuration file provided by "absl" with any of the following names:

 abslConfig.cmake
 absl-config.cmake

Add the installation prefix of "absl" to CMAKE_PREFIX_PATH or set

And I run ccmake .. to modify the path of absl to '/home/gary/Source/abseil-cpp/build/' The ccmake .. dorp error as: include could not find load file:

 /home/gary/Source/abseil-cpp/build/abslTargets.cmake

Call Stack (most recent call first): CMakeLists.txt:38 (find_package)

Gary2077 commented 2 years ago

https://blog.csdn.net/qq_35632833/article/details/116455384