One more time, I'm trying to build ceres (1.11.0) on Windows with glog (0.3.4), and getting stonewalled.
cloned latest glog from github, configured with cmake, built with msvc2013, static libraries, no complaints. Except that INSTALL fails. So just left the libs where built.
At ceres configure, cmake happily verifies that logging.h is where I said it was, but accepts damn near anything for "GLOG_LIBRARY". At generate time, if that is a directory, it discards all targets that link against it. If it is an actual library, say Release/glog.lib, the generated MSVC++ project flags every single reference into it as unresolved at link time.
This is not what I expect in a major s/w distribution. First of all, on Windows there are always Release and Debug libraries that must be used to link the respective versions of anything. Glog builds those, but the ceres cmake setup shows no signs of recognizing that both might exist -- it insists on one full library file name, and puts only that name in the generated link commands, debug or release.
Secondly, the static library that glog builds is somehow incompatible with the ceres code built by the same compiler.
Please try it for yourself, and then tell me how you got ceres 1.11.0 to build with glog 0.3.4 using msvc2013. Or should I be using some older release of glog? Anyhow, your build instructions and your cmake code both need work.