我是 C++ 和 VS2010 的新手……我需要一些帮助!我下载了一个开源代码“visual-control”,它使用openCV进行一些面部检测......我正在尝试在Visual Studio 2010上运行该项目,我按照说明(包括库,包括......安装QT后) ,TBB,openCV,cMake ... ) 但我仍然收到以下错误
任何帮助表示赞赏!
"'Moc'ing visualcontrol.h...
1> Moc'ing webcamwidget.h...
1>ClCompile:
1> detailedfacedetector.cpp
1> facedetector.cpp
1> eigenfacerecognizer.cpp
1> trainerimage.cpp
1> logger.cpp
1> main.cpp
1> moc_visualcontrol.cpp
1> moc_webcamwidget.cpp
1> framecapture.cpp
1> detector.cpp
1> visualcontrol.cpp
1> webcamwidget.cpp
1> Generating Code...
1> qrc_visualcontrol.cpp
1>logger.obj : warning LNK4217: locally defined symbol ??1QString@@QAE@XZ (public: __thiscall QString::~QString(void)) imported in function "public: void __thiscall Logger::log (class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?log@Logger@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V? $allocator@D@2@@std@@@Z)
1>visualcontrol.obj : warning LNK4049: locally defined symbol ??1QString@@QAE@XZ (public: __thiscall QString::~QString(void)) imported
1>webcamwidget.obj : warning LNK4049: locally defined symbol
........... .. . . . . .. . .
1>webcamwidget.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QString & __thiscall QString::setNum(float,char,int)" (__imp_? setNum@QString@@QAEAAV1@MDH@Z) referenced in function "protected: virtual void __thiscall gui::WebcamWidget::paintEvent(class QPaintEvent *)" (? paintEvent@WebcamWidget@gui@@MAEXPAVQPaintEvent@@@Z)
1>webcamwidget.obj : error LNK2019: unresolved external symbol "__declspec (dllimport) public: class QString & __this'"