Erz*_*iel 1 xcode opencv objective-c ios linker-flags
我正在使用最新版本的opencv(opencv 2.4.9),我必须拥有Core Plot(绘图框架)所需的-ObjC标志.
当我在其他标志中设置-ObjC时,我得到了很多类型的错误(实际上是28个):Undefined symbols for architecture i386如下:
Undefined symbols for architecture i386:
"_CMSampleBufferGetImageBuffer", referenced from:
-[CaptureDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in opencv2(cap_avfoundation.o)
CvCaptureFile::retrieveFramePixelBuffer() in opencv2(cap_avfoundation.o)
-[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)
"_CMSampleBufferInvalidate", referenced from:
CvCaptureFile::retrieveFramePixelBuffer() in opencv2(cap_avfoundation.o)
"_CMTimeMake", referenced from:
CvCaptureCAM::startCaptureDevice(int) in opencv2(cap_avfoundation.o)
CvVideoWriter_AVFoundation::writeFrame(_IplImage const*) in opencv2(cap_avfoundation.o)
-[CvVideoCamera createVideoDataOutput] in opencv2(cap_ios_video_camera.o)
"_CMVideoFormatDescriptionGetPresentationDimensions", referenced from:
CvCaptureCAM::getProperty(int) in opencv2(cap_avfoundation.o)
"_CVBufferRelease", referenced from:
-[CaptureDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in opencv2(cap_avfoundation.o)
-[CaptureDelegate updateImage] in opencv2(cap_avfoundation.o)
CvCaptureFile::retrieveFramePixelBuffer() in opencv2(cap_avfoundation.o)
... etc
Run Code Online (Sandbox Code Playgroud)
这是与Bartosz Bialecki相同的问题,我尝试了提出的解决方案,但问题仍然存在.
有没有人有想法?
以下是我所包含的所有框架:

Erz*_*iel 10
问题解决了增加几个框架:
CoreVideo.framework,AssetsLibrary.framework,CoreMedia.framework.
以下是包含框架的完整列表:

| 归档时间: |
|
| 查看次数: |
3452 次 |
| 最近记录: |