1>------ 已启动生成: 项目: gamep, 配置: Debug Win32 ------1>main.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall skill::skill(void)" (??0skill@@QAE@XZ),该符号在函数 "public: __thiscall role::role(int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int,int,int,int,int,int,int,int,int,int,class weapon * const,class medicine * const,class skill * const)" (??0role@@QAE@HV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HHHHHHHHHHQAVweapon@@QAVmedicine@@QAVskill@@@Z) 中被引用1>main.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall medicine::medicine(void)" (??0medicine@@QAE@XZ),该符号在函数 "public: __thiscall role::role(int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int,int,int,int,int,int,int,int,int,int,class weapon * const,class medicine * const,class skill * const)" (??0role@@QAE@HV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HHHHHHHHHHQAVweapon@@QAVmedicine@@QAVskill@@@Z) 中被引用1>main.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall weapon::weapon(void)" (??0weapon@@QAE@XZ),该符号在函数 "public: __thiscall role::role(int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int,int,int,int,int,int,int,int,int,int,class weapon * const,class medicine * const,class skill * const)" (??0role@@QAE@HV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HHHHHHHHHHQAVweapon@@QAVmedicine@@QAVskill@@@Z) 中被引用1>C:\Users\ThinkPad\Desktop\gamep\Debug\gamep.exe : fatal error LNK1120: 3 个无法解析的外部命令========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========
- 2 回答
- 0 关注
- 86 浏览
添加回答
举报
0/150
提交
取消