Ask Your Question

Revision history [back]

Hi All,

I can solved this error by editing private.hpp in opencv2/core/private.hpp and remove this line

#ifndef __OPENCV_BUILD
#  error this is a private header which should not be used from outside of the OpenCV library
#endif

Thanks,