Cannot compile FaceDetectVideo example code
I am trying to compile the FaceDetectVideo sample code for iPhone made by Eduard and can be found on this online repository:
code.opencv.org/svn/gsoc2012/ios/trunk
I have downloaded the opencv framework which is the folder called "opencv2.framework". I also downloaded the "shared" folder found on the above mentioned repository. All the files are there in the xcode project except for the haarcascade files.
The haarcascade files are not in the opencv framework for iOS so I tried adding them to the project from the regular opencv (for PC) library. This did not work however.
I keep getting the compile error:
"directory not found for option '-F/Users/../FaceDetectVideo/.../.../ocv.build/ios
Undefined symbols for architecture i386: "cv::CascadeClassifier::load(std::string const&)", referenced from: -[CvFaceDetector loadCascade:] in CvFaceDetector.o"
There are a bunch of other errors that follow this but I think they are caused by a single problem which I am unable to identify.
If anyone has been able to successfully run Eduard's code on their Mac could you please tell me what steps were involved?
Thanks a lot!