项目加入了 VLCMobileKit 编译不过,有 v 友知道吗?

2015-10-10 16:24:38 +08:00
 zioc

引用了 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)

4174 次点击
所在节点    iDev
5 条回复
KyonLi
2015-10-10 17:08:35 +08:00


选择 libstdc++
zioc
2015-10-10 17:52:06 +08:00
@KyonLi 谢谢回复,还是这样
siroccoicode
2015-10-10 18:37:05 +08:00
这个问题属于连接错误,你看一下在 compile sources 中是否包含了 VTDecompressionSessionDecodeFrame 等定义的实现文件,如果没有的话,手动添加就好了。
LINAICAI
2015-10-10 18:48:57 +08:00
明显缺少文件了,重新添加一次
Pasco
2015-12-15 20:10:05 +08:00
朋友 过了吗?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/226950

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX