Ask Your Question

Revision history [back]

Unable to compile MediaCapture winrt/sample with opencv 246

Hi,

After following the instruction on how installing opencv246 with vc11 and When i try to compile the sample provided with the installed package of opencv246, i received the following error :

Erreur 1 error LNK2019: symbole externe non résolu "public: __cdecl cv::Exception::Exception(int,class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > const &,int)" (??0Exception@cv@@QEAA@HAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00H@Z) référencé dans la fonction "public: float & __cdecl cv::Mat::at<float>(int)" (??$at@M@Mat@cv@@QEAAAEAMH@Z) C:\Personal\Transfert\opencv\samples\winrt\ImageManipulations\MediaExtensions\OcvTransform\OcvTransform.obj OcvTransform

Erreur 2 error LNK2019: symbole externe non résolu "public: virtual __cdecl cv::Exception::~Exception(void)" (??1Exception@cv@@UEAA@XZ) référencé dans la fonction "public: float & __cdecl cv::Mat::at<float>(int)" (??$at@M@Mat@cv@@QEAAAEAMH@Z) C:\Personal\Transfert\opencv\samples\winrt\ImageManipulations\MediaExtensions\OcvTransform\OcvTransform.obj OcvTransform

....

Can you please help, need to start a project

Thanks in advance