Ask Your Question
1

iOS semantic build issue (CV_CAP_IOS undeclared)

asked 2012-09-21 23:17:59 -0500

Thomas_N gravatar image

updated 2012-10-17 01:55:16 -0500

Kirill Kornyakov gravatar image

Dear All,
I am learning face detection from the following link: http://code.opencv.org/svn/gsoc2012/ios/trunk/shared/ . When I build the project, CvCaptureController.mm has a symbol named CV_CAP_IOS and compiler can't find. The error is "Use of undeclared identifier CV_CAP_IOS". I can't find the symbol anywhere.

How can I solve the problem?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-10-16 05:03:50 -0500

Jasper gravatar image

CV_CAP_IOS should contain an integer which identifies the device io stream. The default io stream is usually 0 so the following should work.

int CV_CAP_IOS = 0; // Just a guess for the camera io stream

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-09-21 23:17:59 -0500

Seen: 250 times

Last updated: Oct 17 '12