error LNK2019: 无法解析的外部符号 "public: __cdecl CRfsiFileData::CRfsiFileData(void)" (??0CRfsiFileData@@QEAA@XZ),该符号在函数 "public: __cdecl calloutDlg::calloutDlg(class QWidget *)" (??0calloutDlg@@QEAA@PEAVQWidget@@@Z) 中被引用
C++中
error LNK2019: 无法解析的外部符号 "public: __cdecl CRfsiFileData::CRfsiFileData(void)" (??0CRfsiFileData@@QEAA@XZ),该符号在函数 "public: __cdecl calloutDlg::calloutDlg(class QWidget *)" (??0calloutDlg@@QEAA@PEAVQWidget@@@Z) 中被引用
C++中
一种是CRfsiFileData类的头文件和CPP可能都没有加入工程,头文件编译器自己会找,但CPP不会,必须加入工程
另一种可能类在某个动态库中,lib文件没有引入工程