I need to use the following code via OpenCV 3.0.0 but I can't be accepted by compiler and this error appears,but when I use opencv 2.4 it doesn't appear and it can be detected. I don't know which header I should include that I didn't! here is an abstract of my code (via opencv 3.0.0):
#include "opencv2/core.hpp"
#include "stdafx.h"
#include "opencv2\imgproc\imgproc.hpp"
#include <iostream>
#include <fstream>
#include <opencv2\calib3d\calib3d.hpp>
#include "opencv2\core\core.hpp"
#include "opencv2\highgui\highgui.hpp"
#include "opencv2\objdetect\objdetect.hpp"
#include "opencv2\opencv.hpp"
using namespace cv;
using namespace std;
Ptr<FaceRecognizer> model = createFisherFaceRecognizer(); //it doesn't detect FaceRecognizer
model->train(images, labels);