Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

it's not a cmake problem, the old c-api based, CV_ enums were replaced by cv:: ones in opencv3, and opencv4 removed the old ones entirely.

you have to use cv::NORM_L2 instead.