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 關注
- 159 瀏覽
添加回答
舉報
0/150
提交
取消