https://blog.youkuaiyun.com/renguoqing1001/article/details/52848232
VS2010 错误
1>DCC_TrainPlanMgr.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall CShift::~CShift(void)" (??1CShift@@UAE@XZ),该符号在函数 "public: virtual void * __thiscall CShift::`scalar deleting destructor'(unsigned int)" (??_GCShift@@UAEPAXI@Z) 中被引用
1>DeparturePlanDlg.obj : error LNK2001: 无法解析的外部符号 "public: virtual __thiscall CShift::~CShift(void)" (??1CShift@@UAE@XZ)
原因
引用了其他模块的.h文件,但没有在工程设置里面添加引用
解决方案
1.注释相应的引用,(在不使用该库的情况下)
2,在属性里添加引用对应的工程