Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I just tested it and it works fine this way: Header:

#include <opencv2/core/core.hpp>

#define CV_test( Code, Msg ) CV_Error(Code, Msg)

Somewhere in my cpp:

CV_test( CV_StsOutOfRange, "test outofrange" );

I just tested it and it works fine this way: way:

Header:

#include <opencv2/core/core.hpp>

#define CV_test( Code, Msg ) CV_Error(Code, Msg)

Somewhere in my cpp:

CV_test( CV_StsOutOfRange, "test outofrange" );