Open zhouhao27 opened 6 years ago
Got the following error message:
/Users/xxx/Projects/ocr/imageclipper/src/opencvx/cvcreateaffine.h:62:5: error: use of undeclared identifier '__BEGIN__' __BEGIN__; ^ /Users/xxx/Projects/ocr/imageclipper/src/opencvx/cvcreateaffine.h:96:5: error: use of undeclared identifier '__END__' __END__; ^ /Users/xxx/Projects/ocr/imageclipper/src/opencvx/cvcreateaffine.h:63:5: error: use of undeclared label 'exit' CV_ASSERT( rect.width > 0 && rect.height > 0 ); ^ /usr/local/include/opencv2/core/core_c.h:2754:9: note: expanded from macro 'CV_ASSERT' CV_ERROR( CV_StsInternal, "Assertion: " #Condition " failed" ); \ ^ /usr/local/include/opencv2/core/core_c.h:2723:5: note: expanded from macro 'CV_ERROR' __CV_EXIT__; \ ^ /usr/local/include/opencv2/core/core_c.h:2759:33: note: expanded from macro '__CV_EXIT__' #define __CV_EXIT__ goto exit ^ In file included from /Users/a635219/Projects/ocr/imageclipper/src/imageclipper.cpp:49: /Users/a635219/Projects/ocr/imageclipper/src/opencvx/cvdrawrectangle.h:84:5: error: use of undeclared identifier '__BEGIN__' __BEGIN__; ^ /Users/xxx/Projects/ocr/imageclipper/src/opencvx/cvdrawrectangle.h:177:5: error: use of undeclared identifier '__END__' __END__; ^ /Users/xxx/Projects/ocr/imageclipper/src/opencvx/cvdrawrectangle.h:85:5: error: use of undeclared label 'exit' CV_ASSERT( rect.width > 0 && rect.height > 0 ); ^ /usr/local/include/opencv2/core/core_c.h:2754:9: note: expanded from macro 'CV_ASSERT' CV_ERROR( CV_StsInternal, "Assertion: " #Condition " failed" ); \ ^ /usr/local/include/opencv2/core/core_c.h:2723:5: note: expanded from macro 'CV_ERROR' __CV_EXIT__; \ ^ /usr/local/include/opencv2/core/core_c.h:2759:33: note: expanded from macro '__CV_EXIT__' #define __CV_EXIT__ goto exit ^ In file included from /Users/a635219/Projects/ocr/imageclipper/src/imageclipper.cpp:50: /Users/xxx/Projects/ocr/imageclipper/src/opencvx/cvcropimageroi.h:64:5: error: use of undeclared identifier '__BEGIN__' __BEGIN__; ^ /Users/xxx/Projects/ocr/imageclipper/src/opencvx/cvcropimageroi.h:135:5: error: use of undeclared identifier '__END__' __END__; ^ /Users/xxx/Projects/ocr/imageclipper/src/opencvx/cvcropimageroi.h:65:5: error: use of undeclared label 'exit' CV_ASSERT( rect.width > 0 && rect.height > 0 ); ^ /usr/local/include/opencv2/core/core_c.h:2754:9: note: expanded from macro 'CV_ASSERT' CV_ERROR( CV_StsInternal, "Assertion: " #Condition " failed" ); \ ^ /usr/local/include/opencv2/core/core_c.h:2723:5: note: expanded from macro 'CV_ERROR' __CV_EXIT__; \ ^ /usr/local/include/opencv2/core/core_c.h:2759:33: note: expanded from macro '__CV_EXIT__' #define __CV_EXIT__ goto exit
Got the following error message: