From 06070dfcf6c1d44665eba704cc744de0e8d372ae Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Fri, 22 Apr 2011 09:53:10 +0000 Subject: [PATCH] fixed linker errors by adding CV_EXPORTS to the exported DataMatrix functionality; --- modules/objdetect/include/opencv2/objdetect/objdetect.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/objdetect/include/opencv2/objdetect/objdetect.hpp b/modules/objdetect/include/opencv2/objdetect/objdetect.hpp index 055a44d..6f18042 100644 --- a/modules/objdetect/include/opencv2/objdetect/objdetect.hpp +++ b/modules/objdetect/include/opencv2/objdetect/objdetect.hpp @@ -623,14 +623,14 @@ protected: typedef unsigned char uint8; -class DataMatrixCode { +class CV_EXPORTS DataMatrixCode { public: char msg[4]; CvMat *original; CvMat *corners; }; #include -std::deque cvFindDataMatrix(CvMat *im); +CV_EXPORTS std::deque cvFindDataMatrix(CvMat *im); #endif -- 2.7.4