Compiler error 2.4.3 in iOS 6.0 when using Stitcher class (Bug #2503)


Added by Christopher Herbon over 12 years ago. Updated over 9 years ago.


Status:Open Start date:2012-11-05
Priority:Normal Due date:
Assignee:Alexander Shishkov % Done:

0%

Category:ios
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

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

Revision 157f35ef
Added by Andrey Pavlenko almost 11 years ago

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

Also available in: Atom PDF