ct_icp icon indicating copy to clipboard operation
ct_icp copied to clipboard

Error during superbuild installation

Open EdoardoPassera opened this issue 1 year ago • 4 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.

EdoardoPassera avatar Jul 07 '23 15:07 EdoardoPassera

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?

fghoussen avatar Aug 19 '23 08:08 fghoussen

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

aidan-ferguson avatar Nov 10 '23 20:11 aidan-ferguson