美文网首页
iOS 编译之"_vDSP_mmul"、"_vDSP_dotpr

iOS 编译之"_vDSP_mmul"、"_vDSP_dotpr

作者: KODIE | 来源:发表于2020-03-02 16:39 被阅读0次

更新FBSDK的时候,编译出现如下提示:

ld: warning: Could not find or use auto-linked framework 'WatchKit'
Undefined symbols for architecture x86_64:
  "_vDSP_mmul", referenced from:
      mat1::dense(float*, float*, float*, int, int, int) in FBSDKCoreKit(FBSDKEventInferencer.o)
      mat1::dense(float*, float*, float*, int, int, int) in FBSDKCoreKit(FBSDKAddressInferencer.o)
  "_vDSP_dotpr", referenced from:
      mat1::conv1D(float*, float*, int, int, int, int, int) in FBSDKCoreKit(FBSDKEventInferencer.o)
      mat1::conv1D(float*, float*, int, int, int, int, int) in FBSDKCoreKit(FBSDKAddressInferencer.o)
  "_vDSP_vclip", referenced from:
      +[FBSDKEventInferencer predict:viewTree:withLog:] in FBSDKCoreKit(FBSDKEventInferencer.o)
      +[FBSDKAddressInferencer shouldFilterParam:] in FBSDKCoreKit(FBSDKAddressInferencer.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

截图如下:


Snip20200302_6.png

解决办法:
添加系统库:Accelerate.framework即可解决问题。
以上~

相关文章

网友评论

      本文标题:iOS 编译之"_vDSP_mmul"、"_vDSP_dotpr

      本文链接:https://www.haomeiwen.com/subject/ptyvkhtx.html