error LNK2001: 无法解析的外部符号 "public: void __thiscall Cmfc_DeleteFileDlg::OnBnClickedButton3(void)"
2017-04-25 16:46
666 查看
链接错误:
出现这个2001错误,是因为链接失败,然而链接失败,又是因为以下原因:
1.你在头文件中声明了函数,但是cpp文件缺少了函数实现部分。
2.忘了将这个.h,.cpp Add
to project;
3.以上两种情况都没有做,没有将它对应的lib文件添加到Setting-> LINK中
出现这个2001错误,是因为链接失败,然而链接失败,又是因为以下原因:
1.你在头文件中声明了函数,但是cpp文件缺少了函数实现部分。
2.忘了将这个.h,.cpp Add
to project;
3.以上两种情况都没有做,没有将它对应的lib文件添加到Setting-> LINK中
相关文章推荐
- error LNK2001: 无法解析的外部符号 "public: void __thiscall CTimeDlg::On32771(void)" (?On32771@CTimeDlg@@QAEXX
- error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall Game::LevelTwo(void)"
- 无法解析的外部符号 "public: virtual int __thiscall CAddPage::OnSetActive(void)" (?OnSetActive@CAddPage@@UAEH
- error LNK2001: 无法解析的外部符号 "public: virtual void * __thiscall LDRSUploadThread::qt_metacast(char const
- 错误5error LNK2019: 无法解析的外部符号 "public: virtual __thiscall CvvImage::~CvvImage(void)" (??1CvvImage@@U
- error LNK2019: 无法解析的外部符号 "public: __thiscall Date::~Date(void)" (??1Date@@QAE@XZ),该符号在函数 _main 中被引用
- error LNK2001: 无法解析的外部符号 "public: virtual struct QMetaObject const * __thiscall Widget::metaObject
- error LNK2001: 无法解析的外部符号 "public: virtual struct QMetaObject const * __thiscall Widget::metaObject
- LNK2019: 无法解析的外部符号 "public: void __thiscall List<int>::add(int const &)" (?add@?$List@H@@QAEXABH@Z),
- error LNK2001: 无法解析的外部符号 "public: virtual struct QMetaObject const * __thiscall Widget::metaObject
- error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall DuiLib::CDuiString::CDuiStr
- 错误 10 error LNK2019: 无法解析的外部符号 "public: __thiscall Cwt::Cwt(void)" (??0Cwt@@QAE@XZ),该符号在函数 "public:
- 错误 4 error LNK2019: 无法解析的外部符号 "public: __thiscall CRobotProvider::~CRobotProvider(void)" (??1CRobotP
- error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall DuiLib::WindowImplBase::WindowImp
- 错误 1 error LNK2019: 无法解析的外部符号 "public: __thiscall chain<int>::~chain<int>(void)" (??1?$chain@H@@QAE@
- error LNK2001: 无法解析的外部符号 "public: virtual struct QMetaObject const * __thiscall MainWindow::metaObje
- QT + VS2005 编译出现 error LNK2001: 无法解析的外部符号 "public: virtual struct QMetaObject const * __thiscall Widget::metaObject 错误
- obj : error LNK2019: 无法解析的外部符号 "public: __thiscall B::B(void)" (??0B@@QAE@XZ),该符
- error LNK2001: 无法解析的外部符号 "__declspec(dllimport) protected: __thiscall std::_Container_base_aux_allo
- LNK2019无法解析的外部符号 "public: __thiscall cv::SURF::SURF(double,int,int,bool,bool)" (??0SURF@cv@@QAE@NHH_