I am trying to stitch images using opencv
in c++
, and when the program is compiled, its throwing errors for
Stitcher stitcher = Stitcher::createDefault();
undefined reference to `cv::Stitcher::createDefault(bool)'
and for
Stitcher::Status status = stitcher.stitch(vImg, rImg);
undefined reference to `cv::Stitcher::stitch(cv::_InputArray const&, cv::_OutputArray const&)'
Please help me in fixing this error.Thanks in advance.