Had some problems installing RESOLUTE wrt glog:
[ 25%] Building CXX object src/CMakeFiles/resolute.dir/Resolute.cpp.o
/Users/rich/Documents/Code/RESOLUTE/Source/src/Resolute.cpp:28:10: fatal error: 'glog/logging.h' file not found
include <glog/logging.h>
Looks like the find_package wasn’t working properly. Here’s all cmake variables relating to glog:
As a temporary fix, I entered gflags and glog info manually:
include_directories("/Users/rich/Documents/Code/glog/Install/include”) # for glog/logging.h
include_directories("/usr/local/include/“) # for gflags/gflags.h
Had some problems installing RESOLUTE wrt glog: [ 25%] Building CXX object src/CMakeFiles/resolute.dir/Resolute.cpp.o /Users/rich/Documents/Code/RESOLUTE/Source/src/Resolute.cpp:28:10: fatal error: 'glog/logging.h' file not found
include <glog/logging.h>
Looks like the find_package wasn’t working properly. Here’s all cmake variables relating to glog:
-- glog_CONFIG=/Users/rich/Documents/Code/glog/Install/lib/cmake/glog/glog-config.cmake -- glog_CONSIDERED_CONFIGS=/Users/rich/Documents/Code/glog/Install/lib/cmake/glog/glog-config.cmake -- glog_CONSIDERED_VERSIONS=0.4.0 -- glog_DIR=/Users/rich/Documents/Code/glog/Install/lib/cmake/glog -- glog_FOUND=1 -- glog_VERSION=0.4.0 -- glog_VERSION_COUNT=3 -- glog_VERSION_MAJOR=0 -- glog_VERSION_MINOR=4 -- glog_VERSION_PATCH=0 -- glog_VERSION_TWEAK=0
As a temporary fix, I entered gflags and glog info manually: include_directories("/Users/rich/Documents/Code/glog/Install/include”) # for glog/logging.h include_directories("/usr/local/include/“) # for gflags/gflags.h
target_link_libraries(resolute ${ANTS_LIBS} ${ITK_LIBRARIES}
${Boost_LIBRARIES}
glog <-comment out