خطای unresolve در اوپن سی وی - هفت خط کد انجمن پرسش و پاسخ برنامه نویسی

خطای unresolve در اوپن سی وی

0 امتیاز

سلام. نسخه 4.1 را به تازگی استفاده کردم ولی opencv خطای زیر را میده .

error LNK2001: unresolved external symbol "class cv::dnn::dnn4_v20180917::Net __cdecl cv::dnn::dnn4_v20180917::readNet(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 &)" (?readNet@dnn4_v20180917@dnn@cv@@YA?AVNet@123@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00@Z)
error LNK2001: unresolved external symbol "public: __int64 __thiscall cv::dnn::dnn4_v20180917::Net::getPerfProfile(class std::vector<double,class std::allocator<double> > &)" (?getPerfProfile@Net@dnn4_v20180917@dnn@cv@@QAE_JAAV?$vector@NV?$allocator@N@std@@@std@@@Z)
سوال شده دی 13, 1397  بوسیله ی hojat1 (امتیاز 875)   12 69 99

1 پاسخ

0 امتیاز
بخاطر بیلد دستی Opencv هستش.solution مربوط به Opencv را باز کنید و پروژه install را مجددا build کنید.

حالا تو پروژه های که این خطا را می گرفت را clean و مجدد build کنید.
پاسخ داده شده خرداد 17, 1398 بوسیله ی مصطفی ساتکی (امتیاز 21,998)   24 34 75
...