AnyChat技术支持论坛

标题: Xcode5引入静态库报错:Undefined symbols _AVCaptureSessionPreset1280x720 [打印本页]

作者: 木凌    时间: 2014-4-22 15:54
标题: Xcode5引入静态库报错:Undefined symbols _AVCaptureSessionPreset1280x720
Undefined symbols for architecture i386:
  "_AVCaptureSessionPreset1280x720", referenced from:
      -[iOSVideoOutput InitVideo:::::] in libmediacore.a(iOSVideoOutput.o)
  "_AVCaptureSessionPreset352x288", referenced from:
      -[iOSVideoOutput InitVideo:::::] in libmediacore.a(iOSVideoOutput.o)
  "_AVCaptureSessionPreset640x480", referenced from:
      -[iOSVideoOutput InitVideo:::::] in libmediacore.a(iOSVideoOutput.o)
  "_AVCaptureSessionPresetLow", referenced from:
      -[iOSVideoOutput InitVideo:::::] in libmediacore.a(iOSVideoOutput.o)
  "_AVCaptureSessionPresetMedium", referenced from:
      -[iOSVideoOutput InitVideo:::::] in libmediacore.a(iOSVideoOutput.o)
  "_AVMediaTypeVideo", referenced from:
      CiOSVideoCapture::EnumCameraDevice(char (*) [100], unsigned int) in libmediacore.a(iOSVideoCapture.o)
      -[iOSVideoOutput InitVideo:::::] in libmediacore.a(iOSVideoOutput.o)
      CiOSVideoCapture::EnumCameraDevice(char (*) [100], unsigned int) in libmediacore.a(iOSVideoCapture.o)
      -[iOSVideoOutput InitVideo:::::] in libmediacore.a(iOSVideoOutput.o)
  "_AudioQueueAllocateBuffer", referenced from:
      CiOSAudioPlay::AudioPlaybackInit(unsigned int, char*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) in libmediacore.a(iOSAudioPlay.o)
      CiOSAudioRecord::InitDevice() in libmediacore.a(iOSAudioRecord.o)
  "_AudioQueueDispose", referenced from:
      CiOSAudioPlay::Release() in libmediacore.a(iOSAudioPlay.o)
      CiOSAudioRecord::Release() in libmediacore.a(iOSAudioRecord.o)
  "_AudioQueueEnqueueBuffer", referenced from:
      CiOSAudioPlay::AudioPlaybackInit(unsigned int, char*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) in libmediacore.a(iOSAudioPlay.o)
      CiOSAudioPlay::AudioQueueCallBack(void*, OpaqueAudioQueue*, AudioQueueBuffer*) in libmediacore.a(iOSAudioPlay.o)
      CiOSAudioRecord::InitDevice() in libmediacore.a(iOSAudioRecord.o)
      CiOSAudioRecord::AudioQueueCallBack(void*, OpaqueAudioQueue*, AudioQueueBuffer*, AudioTimeStamp const*, unsigned long, AudioStreamPacketDescription const*) in libmediacore.a(iOSAudioRecord.o)
  "_AudioQueueFreeBuffer", referenced from:

这个是自己新建的工程,sdk的demo运行正常

作者: admin    时间: 2014-4-22 17:45
您好,从上面提示的信息来看,是缺少一些iOS SDK的基础库,请对比一下demo工程的libs,看您还缺少哪些库没有添加到工程中?
作者: admin    时间: 2014-7-29 16:39
添加附图所示的iOS Framework库即可。

coremedia.jpg (10.3 KB, 下载次数: 2087)

coremedia.jpg





欢迎光临 AnyChat技术支持论坛 (http://bbs.anychat.cn/) Powered by Discuz! X3