Revision history [back]

You can remove the line

#include <opencv2\highgui\highgui_c.h>


It seems that you will be better off specifying the include files contained in the directory opencv2. You will need to find where your opencv2 headers are installed and specify that in the C++ settings in Project->Properties. You should also specify the include files correctly, such as

#include <opencv2/highgui/highgui.hpp>


Same with the other include files.