Ask Your Question

pauldelamusica's profile - activity

2018-09-12 20:11:48 -0600 received badge  Famous Question (source)
2018-03-23 12:51:46 -0600 received badge  Notable Question (source)
2017-12-12 00:52:27 -0600 received badge  Popular Question (source)
2017-01-17 02:03:01 -0600 asked a question library to link for imread

I am new to opencv. What library should I link for imread? The examples seem to assume one already know.

I build a simple program and I got an error:

error LNK2019: unresolved external symbol "class cv::Mat __cdecl cv::imread(class cv::String const &,int)" (?imread@cv@@YA?AVMat@1@AEBVString@1@H@Z) referenced in function main

I linked the following libs already:

opencv_highgui320d.lib opencv_imgproc320d.lib opencv_core320d.lib libpngd.lib libtiffd.lib zlibd.lib IlmImfd.lib libjasperd.lib libjpegd.lib comctl32.lib gdi32.lib