Ijkplayer: Undefined symbols for architecture x86_64 问题

Created on 8 Dec 2017  ·  2Comments  ·  Source: bilibili/ijkplayer

安装之后 下面的问题发生了, 如何解决?谢谢

Undefined symbols for architecture x86_64:

Undefined symbols for architecture x86_64:
  "_inflateInit_", referenced from:
      _rtmp_open in IJKMediaFramework(rtmpproto.o)
  "_inflate", referenced from:
      _http_read_stream in IJKMediaFramework(http.o)
      _rtmp_open in IJKMediaFramework(rtmpproto.o)
  "_zlibCompileFlags", referenced from:
      _http_read_header in IJKMediaFramework(http.o)
  "_deflate", referenced from:
      _encode_frame in IJKMediaFramework(pngenc.o)
  "_inflateEnd", referenced from:
      _http_close in IJKMediaFramework(http.o)
      _http_read_header in IJKMediaFramework(http.o)
      _rtmp_open in IJKMediaFramework(rtmpproto.o)
  "operator delete(void*)", referenced from:
      _ijk_map_destroy in IJKMediaFramework(ijkstl.o)
 "_deflateBound", referenced from:
      _encode_png in IJKMediaFramework(pngenc.o)
      _encode_apng in IJKMediaFramework(pngenc.o)
  "_deflateReset", referenced from:
      _encode_frame in IJKMediaFramework(pngenc.o)
  "_inflateInit2_", referenced from:
      _http_read_header in IJKMediaFramework(http.o)
  "_deflateEnd", referenced from:
      _png_enc_close in IJKMediaFramework(pngenc.o)
  "_deflateInit2_", referenced from:
      _png_enc_init in IJKMediaFramework(pngenc.o)
  "operator new(unsigned long)", referenced from:
      _ijk_map_create in IJKMediaFramework(ijkstl.o)
 "_uncompress", referenced from:
      _id3v2_read_internal in IJKMediaFramework(id3v2.o)
      _mov_read_cmov in IJKMediaFramework(mov.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Most helpful comment

I fixed this by adding libc++.tbd as under Link Binary with Libraries

All 2 comments

I fixed this by adding libc++.tbd as under Link Binary with Libraries

我这里除了 libc++.tbd 还要加 libz.tbd

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aslgd picture aslgd  ·  4Comments

ZINK-FU picture ZINK-FU  ·  3Comments

launam picture launam  ·  3Comments

FloridaStream picture FloridaStream  ·  3Comments

yuraoff picture yuraoff  ·  3Comments