【问题描述】 error: LNK2001: 无法解析的外部符号 “class xxx g_xxx” ()。
【问题定位】 未包含定义变量的xxx.cpp文件。
【解决方案】 包含定义变量的xxx.cpp文件。