Unresolved external symbol

cpp

#1

I got like 31 of unresolved external symbol errors that looks like this.
1>Visualizer.obj : error LNK2001: unresolved external symbol "public: void __cdecl cv::Mat::

I know it should be something wrong with my opencv settings. But I’m not sure how to fix it.


#2

I added the opencv_world310d.lib to the project and now I’m down to 20 unresolved external symbol errors. What file I may still missing right now?


#3

some of the errors I got:
1>Visualizer.obj : error LNK2001: unresolved external symbol “void __cdecl cv::imshow(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class cv::_InputArray const &)” (?imshow@cv@@YAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV_InputArray@1@@Z)

1>Visualizer.obj : error LNK2001: unresolved external symbol "public: virtual int __cdecl cv::_InputArray::kind(void)const " (?kind@_InputArray@cv@@UEBAHXZ)