I want to resize an image:
cv::Mat srcMat = cv::imread(file.toStdString());
cv::Mat tempMat;
cv::resize(srcMat, tempMat, cv::Size(mRequiredSize.width
,mRequiredSize.height));
But I get the following error:
:-1: error: trainer.o: undefined reference to symbol '_ZN2cv6resizeERKNS_11_InputArrayERKNS_12_OutputArrayENS_5Size_IiEEddi'
/usr/local/lib/libopencv_imgproc.so.3.0:-1: error: error adding symbols: DSO missing from command line
It seems that the resize arguments must be of `InputArray` and `OutputArray` type.
↧