jedeschaud / ct_icp

CT-ICP: Continuous-Time LiDAR Odometry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error during superbuild installation

EdoardoPassera opened this issue · comments

I get the following error during superbuild installation (step 1):
Found Unwind: /usr/include/x86_64-linux-gnu (found suitable version "1.6.2", minimum required is "1.3.2")
CMake Error at CMakeLists.txt:432 (message):
Can't find Google Log (glog). Please set either: glog_DIR (newer CMake
built versions of glog) or GLOG_INCLUDE_DIR & GLOG_LIBRARY or enable
MINIGLOG option to use minimal glog implementation.

Same problem. Exporting doesn't help:

>> env | grep GLOG
GLOG_INCLUDE_DIR=/usr/include/glog
GLOG_LIBRARY=/usr/lib/x86_64-linux-gnu/libglog.a
CMAKE_MODULE_PATH=/usr/lib/x86_64-linux-gnu/cmake/glog:
glog_DIR=/usr/lib/x86_64-linux-gnu/cmake/glog

Any workaround?

For me this was an issue with having the glog development library already installed as I believe the superbuild script attempts to build glog from source:

apt remove libgoogle-glog-dev & apt autoremove did the trick for me