Ask Your Question
0

Xcode5 Linker errors using OpenCV 2.4.6 with IOS 7 base SDK

asked 2013-10-03 07:23:58 -0600

I'm trying to build the tutorial App that uses the Video Camera and have followed all the steps to add the opencv framework and got the "HelloOpenCV" App working OK. I've extended the sample following the tutorial steps and now have the following linker errors. Has anyone hit this problem and resolved it and share their solution?

Undefined symbols for architecture armv7s: "_CMSampleBufferGetImageBuffer", referenced from: -[CvVideoCamera captureOutput:didOutputSampleBuffer:fromConnection:] in opencv2(cap_ios_video_camera.o) "_CMSampleBufferGetPresentationTimeStamp", referenced from: -[CvVideoCamera captureOutput:didOutputSampleBuffer:fromConnection:] in opencv2(cap_ios_video_camera.o) "_CMTimeMake", referenced from: -[CvVideoCamera createVideoDataOutput] in opencv2(cap_ios_video_camera.o) ld: symbol(s) not found for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-12-10 15:03:42 -0600

Are you including CoreMedia.framework in your project?

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-10-03 07:23:58 -0600

Seen: 519 times

Last updated: Dec 10 '13