libBaiduSpeechSDK.a引入编错误
jackysmthlee 发布于2018-09 浏览:3668 回复:5
0
收藏

demo单独编译没有问题,把libBaiduSpeechSDK.a引入我们自己的工程中,导致链接错误:

undefined symbols for architecture arm64:

  "_WebRtcSpl_MaxValueW16", referenced from:

      _UpdateNoiseEstimateNeon in Blink(nsx_core_neon.o)

     (maybe you meant: _WebRtcSpl_MaxValueW16C)

  "_WebRtcSpl_ScaleAndAddVectorsWithRound", referenced from:

      webrtc::Expand::Process(webrtc::AudioMultiVector*) in Blink(expand.o)

     (maybe you meant: _WebRtcSpl_ScaleAndAddVectorsWithRoundC)

  "_WebRtcSpl_MaxAbsValueW32", referenced from:

      _WebRtcIlbcfix_CbSearchCore in Blink(cb_search_core.o)

      webrtc::Merge::CorrelateAndPeakSearch(unsigned long, unsigned long, unsigned long) const in Blink(merge.o)

      webrtc::Expand::Correlation(short const*, unsigned long, short*) const in Blink(expand.o)

      _WebRtcIlbcfix_Refiner in Blink(refiner.o)

      webrtc::TimeStretch::AutoCorrelation() in Blink(time_stretch.o)

     (maybe you meant: _WebRtcSpl_MaxAbsValueW32C)

  "_WebRtcSpl_MaxValueW32", referenced from:

      _WebRtcIlbcfix_FrameClassify in Blink(frame_classify.o)

     (maybe you meant: _WebRtcSpl_MaxValueW32C)

  "_WebRtcSpl_DownsampleFast", referenced from:

      _WebRtcIlbcfix_EnhancerInterface in Blink(enhancer_interface.o)

      webrtc::Merge::Downsample(short const*, unsigned long, short const*, unsigned long) in Blink(merge.o)

      webrtc::Expand::Correlation(short const*, unsigned long, short*) const in Blink(expand.o)

      webrtc::DspHelper::DownsampleTo4kHz(short const*, unsigned long, unsigned long, int, bool, short*) in Blink(dsp_helper.o)

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

app工程移除libBaiduSpeechSDK.a相关,链接错误消失,编译正常。

Blink.framework是容云公司提供的音视频通信库。

问题:

针对log编译错误, 如何消除编译错误?

 

收藏
点赞
0
个赞
共5条回复 最后由用户已被禁言回复于2022-04
#6用户已被禁言回复于2019-11
#5 horizonle回复
解决没有 也碰到了

请参考demo工程引入其他依赖的库

0
#5horizonle回复于2019-11

解决没有 也碰到了

0
#4温柔vs先生回复于2019-08

问题解决了吗?应该是库中音视频相关的冲突了,不好定位

0
#3472245791回复于2018-10

引入了还是报错了,而且有且只有在拖进已有的工程里才会有,如果你的项目是新建的,只有语音识别这个模块的话是可以正常跑起来的

0
#2chenxiaoyu3回复于2018-10

请参考demo工程引入其他依赖的库

 

0
TOP
切换版块