diff --git a/modules/contrib/include/opencv2/contrib/contrib.hpp b/modules/contrib/include/opencv2/contrib/contrib.hpp index 94f5cb0966..3bf8e7aa84 100644 --- a/modules/contrib/include/opencv2/contrib/contrib.hpp +++ b/modules/contrib/include/opencv2/contrib/contrib.hpp @@ -435,7 +435,7 @@ namespace cv typedef bool (*BundleAdjustCallback)(int iteration, double norm_error, void* user_data); - class LevMarqSparse { + class CV_EXPORTS LevMarqSparse { public: LevMarqSparse(); LevMarqSparse(int npoints, // number of points