Re: Pjsip video support errors in ios

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

发件人: pjsip <pjsip-bounces@xxxxxxxxxxxxxxx> 代表 Ashok Narvaneni <ashoknarvaneni7@xxxxxxxxx>
答复: pjsip list <pjsip@xxxxxxxxxxxxxxx>
日期: 2017年1月12日 星期四 下午5:46
至: <pjsip@xxxxxxxxxxxxxxx>
主题: 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@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux