Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

which opencv version are you using ?

( as of 2.4.2, there's a Formatter class in core.hpp, which defines those constants, but the compiler finds another class with the same name in operations.hpp first, which does not. same error as you get )

( as of 2.4.9, it just works )

if you're using 2.4.5, chances are high, that someone overeagerly updated the tutorial to the trunk version

just comment out lines 62-65.