[pjsip] Pjsip video support errors in ios

Yongwen ZHU zhuyongwen at made-in-china.com
Fri Jan 13 00:47:22 EST 2017


Your .a may be compiled without x86_86 architecture, just complier the .a and library include all supports architecture.

发件人:  pjsip <pjsip-bounces at lists.pjsip.org> 代表 Ashok Narvaneni <ashoknarvaneni7 at gmail.com>
答复:  pjsip list <pjsip at lists.pjsip.org>
日期:  2017年1月12日 星期四 下午5:46
至:  <pjsip at lists.pjsip.org>
主题:  [pjsip] Pjsip video support errors in ios

Hi,

I compiled pjsip for all architectures with video support in ios.

I have all library files along with libyuv.a and openh264.a But when run in Xcode for iPhone simulator(iPhone 6s) it’s getting below errors.
Please share any suggestions.

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_CAEAGLLayer", referenced from:
      objc-class-ref in UConnect
  "_glDeleteFramebuffers", referenced from:
      _pjmedia_vid_dev_opengl_destroy_buffers in UConnect
  "_glDeleteTextures", referenced from:
      _pjmedia_vid_dev_opengl_destroy_buffers in UConnect
  "_glTexParameteri", referenced from:
      _pjmedia_vid_dev_opengl_draw in UConnect
  "_glFlush", referenced from:
      _pjmedia_vid_dev_opengl_draw in UConnect
  "_glViewport", referenced from:
      _pjmedia_vid_dev_opengl_draw in UConnect
  "_glVertexAttribPointer", referenced from:
      _pjmedia_vid_dev_opengl_draw in UConnect
  "_glDrawArrays", referenced from:
      _pjmedia_vid_dev_opengl_draw in UConnect
  "_glDeleteProgram", referenced from:
      _pjmedia_vid_dev_opengl_destroy_buffers in UConnect
  "_glGetRenderbufferParameteriv", referenced from:
      _pjmedia_vid_dev_opengl_init_buffers in UConnect
  "_glFramebufferRenderbuffer", referenced from:
      _pjmedia_vid_dev_opengl_init_buffers in UConnect
  "_glCheckFramebufferStatus", referenced from:
      _pjmedia_vid_dev_opengl_init_buffers in UConnect
  "_glDisable", referenced from:
      _pjmedia_vid_dev_opengl_create_buffers in UConnect
  "_OBJC_CLASS_$_EAGLContext", referenced from:
      objc-class-ref in UConnect
  "_glUseProgram", referenced from:
      _pjmedia_vid_dev_opengl_draw in UConnect
  "_glGenFramebuffers", referenced from:
      _pjmedia_vid_dev_opengl_create_buffers in UConnect
  "_glEnableVertexAttribArray", referenced from:
      _pjmedia_vid_dev_opengl_draw in UConnect
  "_glBindFramebuffer", referenced from:
      _pjmedia_vid_dev_opengl_create_buffers in UConnect
      _pjmedia_vid_dev_opengl_draw in UConnect
  "_glBindRenderbuffer", referenced from:
      _pjmedia_vid_dev_opengl_create_buffers in UConnect
      _pjmedia_vid_dev_opengl_draw in UConnect
  "_glBindAttribLocation", referenced from:
      _create_program in UConnect
  "_glDeleteShader", referenced from:
      _create_program in UConnect
  "_glTexImage2D", referenced from:
      _pjmedia_vid_dev_opengl_draw in UConnect
  "_kCVPixelBufferPixelFormatTypeKey", referenced from:
      _darwin_factory_create_stream in UConnect
  "_glCreateShader", referenced from:
      _compile_shader in UConnect
      _create_program in UConnect
  "_glShaderSource", referenced from:
      _compile_shader in UConnect
      _create_program in UConnect
  "_glLinkProgram", referenced from:
      _create_program in UConnect
  "_glCreateProgram", referenced from:
      _create_program in UConnect
  "_glAttachShader", referenced from:
      _create_program in UConnect
  "_glCompileShader", referenced from:
      _compile_shader in UConnect
      _create_program in UConnect
  "_glGetShaderiv", referenced from:
      _compile_shader in UConnect
      _create_program in UConnect
  "_glBindTexture", referenced from:
      _pjmedia_vid_dev_opengl_draw in UConnect
  "_CMTimeMake", referenced from:
      _darwin_factory_create_stream in UConnect
  "_glGenRenderbuffers", referenced from:
      _pjmedia_vid_dev_opengl_create_buffers in UConnect
  "_CVPixelBufferGetBaseAddress", referenced from:
      -[VOutDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in UConnect
  "_kEAGLColorFormatRGBA8", referenced from:
      -[GLView init_gl] in UConnect
  "_glGetProgramiv", referenced from:
      _create_program in UConnect
  "_CVPixelBufferGetHeight", referenced from:
      -[VOutDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in UConnect
  "_kEAGLDrawablePropertyColorFormat", referenced from:
      -[GLView init_gl] in UConnect
  "_kEAGLDrawablePropertyRetainedBacking", referenced from:
      -[GLView init_gl] in UConnect
  "_glGenTextures", referenced from:
      _pjmedia_vid_dev_opengl_create_buffers in UConnect
  "_CMSampleBufferGetImageBuffer", referenced from:
      -[VOutDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in UConnect
  "_glDeleteRenderbuffers", referenced from:
      _pjmedia_vid_dev_opengl_destroy_buffers in UConnect
  "_CVPixelBufferLockBaseAddress", referenced from:
      -[VOutDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in UConnect
  "_CVPixelBufferUnlockBaseAddress", referenced from:
      -[VOutDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in UConnect
  "_CVPixelBufferGetBytesPerRowOfPlane", referenced from:
      -[VOutDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in UConnect
  "_CVPixelBufferGetBaseAddressOfPlane", referenced from:
      -[VOutDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in UConnect
ld: symbol(s) not found for architecture x86_64


Thanks & Regards,
Ashok Narvaneni.

_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip at lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20170113/985e28b2/attachment-0002.html>


More information about the pjsip mailing list