Ask Your Question

Revision history [back]

undefined reference linker error opencv 3.1.0

I am using opencv 3.1.0 with DevC++ 5.11. I am getting the error : undefined reference to `cv::Mat::copyTo(cv::_OutputArray const&, cv::_InputArray const&) const' similarly for a large number of functions. I came to know it is a linker error. How to get rid of it? DO I need to add any commands while calling the linker? I have added the files ffmpeg310.dll and opencv_world310.dll as parameters to the project.