Compiler error 2.4.3 in iOS 6.0 when using Stitcher class (Bug #2503)
Description
I have posted this in the questions section before, but I believe this is some sort of bug. Whenever I try to use the Stitcher class in iOS 6.0 (Xcode 4.5.2) and I include the stitcher header file ( #include <opencv2/stitching/stitcher.hpp
>) after including the actual opencv header, I end up with a compile error Expected '{'
in exposure_compensate.hpp
. Apparently the line enum { NO, GAIN, GAIN_BLOCKS };
is causing some sort of error. When I comment that line it works fine. The same holds true for the line enum { NO, FEATHER, MULTI_BAND };
in blenders.hpp
. I am not including sample code, because including the stitcher.hpp header file causes the compiler error.
Associated revisions
Merge pull request #2503 from mlyashko:optflow_dualtvl1
History
Updated by Maksim Shabunin over 9 years ago
Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4446