Glog error report and solution
If there is always a problem with Glog, and it shows "something is defined repeatedly by xx.cc and xx.cc", no matter how you change it, it will not work;
That is definitely a problem with the glog version, just change to a lower version;
According to actual measurement, Ubuntu can use glog0.4.0 version
If it still doesn't work, try this:
Correctly use cmake to compile and install glog under Ubuntu