将宏定义放到头文件前面:#define GOOGLE_GLOG_DLL_DECL#define GLOG_NO_ABBREVIATED_SEVERITIES#include "glog/logging.h"
项目—属性—C/C++—预处理器—预处理定义—添加GLOG_NO_ABBREVIATED_SEVERITIES