引用了 nightlies 的 VLCKit ( http://nightlies.videolan.org/build/ios/),项目编译不通过,一直找不到原因:
Undefined symbols for architecture arm64:
"_VTDecompressionSessionDecodeFrame", referenced from:
_DecodeBlock in MobileVLCKit(videotoolbox.o)
"_VTDecompressionSessionCreate", referenced from:
_StartVideoToolbox in MobileVLCKit(videotoolbox.o)
"_VTDecompressionSessionWaitForAsynchronousFrames", referenced from:
_OpenDecoder in MobileVLCKit(videotoolbox.o)
_CloseDecoder in MobileVLCKit(videotoolbox.o)
"_VTDecompressionSessionInvalidate", referenced from:
_OpenDecoder in MobileVLCKit(videotoolbox.o)
_CloseDecoder in MobileVLCKit(videotoolbox.o)
_DecodeBlock in MobileVLCKit(videotoolbox.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
1
KyonLi 2015 年 10 月 10 日
选择 libstdc++ |
3
siroccoicode 2015 年 10 月 10 日
这个问题属于连接错误,你看一下在 compile sources 中是否包含了 VTDecompressionSessionDecodeFrame 等定义的实现文件,如果没有的话,手动添加就好了。
|
4
LINAICAI 2015 年 10 月 10 日
明显缺少文件了,重新添加一次
|
5
Pasco 2015 年 12 月 15 日
朋友 过了吗?
|