I do have one error when I compiled my code.
My make file:
all: main.cpp
g++ -ggdb -pthread main.cpp `pkg-config --cflags opencv` -o test`pkg-config --libs opencv`
clean:
$(RM) test
I include the following headers in the code:
#include "opencv2/core/core.hpp"
#include "opencv2/video/background_segm.hpp"
#include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/legacy/legacy.hpp"
#include "opencv2/video/tracking.hpp"
#include "opencv2/photo/photo.hpp"
This works fine on my other platforms.