undefined reference to `cv::detail::ExposureCompensator::createDefault(int)'
Hello, my project was running successfully with openCV 3.3.0 version. when i upgrade openCV version to 3.4.2 I get below linking errors.
Eraser::exposureCompensate(cv::Mat&, cv::Mat&)':
undefined reference to `cv::detail::ExposureCompensator::createDefault(int)'
undefined reference to `cv::detail::ExposureCompensator::feed(std::vector<cv::Point_<int>, std::allocator<cv::Point_<int> > > const&, std::vector<cv::UMat, std::allocator<cv::UMat> > const&, std::vector<cv::UMat, std::allocator<cv::UMat> > const&)
Thanks