libBaiduSpeechSDK.a引入编错误
jackysmthlee 发布于2018-09-13 16:18 浏览:62 回复:0
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
个赞
TOP
切换版块