comment off #include "opencv2/core/private.hpp". It prevent the project from being referenced from outside the opencv library.