Ask Your Question

Revision history [back]

This is OpenCV 3.1 right? If so start by replacing

#include <opencv2\core\core.hpp>
#include <opencv2\highgui.hpp>
#include <opencv\imgcodecs.hpp>
#include <opencv2\imgproc\imgproc.hpp>

into

#include <opencv2\core.hpp>
#include <opencv2\highgui.hpp>
#include <opencv\imgcodecs.hpp>
#include <opencv2\imgproc.hpp>

Then start by defining the includes on only a single place, too much overlap now. A common ground could be to add them to the Modifier.h because it is included in every other file. Also rename that file to Modifier.hpp since you want a C++ compatible header file.

Then report back if the issues still occur :)