Hello everyone,
Need a big hand in following regards.If someone can point me out what should I do in this circumstances.The thing is I want run a sample program of opencv 2.2 in my setup opencv 2.3.1 with visual studio 2010. Actually for some wired reason it says it has linking error even though I do configured in project directories. I also tried by changing version in VS 2008 and using opencv 2.1,2.2,2.3,2.4. Seems like I am in no where to find why this shit is happening with me !!
Errors are :
1>main.obj : error LNK2019: unresolved external symbol “void __cdecl cv::imshow(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class cv::Mat const &)” (?imshow@cv@@YAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABVMat@1@@Z) referenced in function “public: void __thiscall App::run(void)” (?run@App@@QAEXXZ)
1>main.obj : error LNK2019: unresolved external symbol “public: virtual void __thiscall cv::HOGDescriptor::detectMultiScale(class cv::Mat const &,class std::vector<class cv::Rect_,class std::allocator<class cv::Rect_ > > &,double,class cv::Size_,class cv::Size_,double,int)const ” (?detectMultiScale@HOGDescriptor@cv@@UBEXABVMat@2@AAV?$vector@V?$Rect_@H@cv@@V?$allocator@V?$Rect_@H@cv@@@std@@@std@@NV?$Size_@H@2@2NH@Z) referenced in function “public: void __thiscall App::run(void)” (?run@App@@QAEXXZ)
1>main.obj : error LNK2019: unresolved external symbol “public: void __thiscall cv::Mat::copyTo(class cv::Mat &)const ” (?copyTo@Mat@cv@@QBEXAAV12@@Z) referenced in function “public: void __thiscall App::run(void)” (?run@App@@QAEXXZ)
1>main.obj : error LNK2019: unresolved external symbol “void __cdecl cv::cvtColor(class cv::Mat const &,class cv::Mat &,int,int)” (?cvtColor@cv@@YAXABVMat@1@AAV21@HH@Z) referenced in function “public: void __thiscall App::run(void)” (?run@App@@QAEXXZ)
1>main.obj : error LNK2019: unresolved external symbol “void __cdecl cv::resize(class cv::Mat const &,class cv::Mat &,class cv::Size_,double,double,int)” (?resize@cv@@YAXABVMat@1@AAV21@V?$Size_@H@1@NNH@Z) referenced in function “public: void __thiscall App::run(void)” (?run@App@@QAEXXZ)
1>main.obj : error LNK2001: unresolved external symbol “public: virtual void __thiscall cv::HOGDescriptor::setSVMDe