jedeschaud / ct_icp

CT-ICP: Continuous-Time LiDAR Odometry
MIT License
737 stars 126 forks source link

Error during superbuild installation #74

Open EdoardoPassera opened 1 year ago

EdoardoPassera commented 1 year ago

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.

fghoussen commented 1 year ago

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?

aidan-ferguson commented 9 months ago

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