andyweiqiu / asr-ios-local

基于kaldi的ios本地语音识别(本地实时流)Kaldi-based ios native speech recognition (local real-time streaming)
72 stars 29 forks source link

编译好kaldi.a文件后报错,能发下.a文件和final.mdl吗? #18

Open agan1211 opened 3 months ago

agan1211 commented 3 months ago

邮箱:943584740@qq.com Showing All Issues

Build target ASRLocalSDKDemo of project ASRLocalSDKDemo with configuration Debug

Ld /Users/ganwenbin/Library/Developer/Xcode/DerivedData/ASRLocalSDKDemo-fwyxkgvynobljhcnsohxuvliydli/Build/Products/Debug-iphoneos/ASRLocalSDKDemo.app/ASRLocalSDKDemo normal (in target 'ASRLocalSDKDemo' from project 'ASRLocalSDKDemo') cd /Users/ganwenbin/Downloads/asr-ios-local-master/ASRLocalSDKDemo /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -Xlinker -reproducible -target arm64-apple-ios13.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.5.sdk -O0 -L/Users/ganwenbin/Library/Developer/Xcode/DerivedData/ASRLocalSDKDemo-fwyxkgvynobljhcnsohxuvliydli/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -L/Users/ganwenbin/Library/Developer/Xcode/DerivedData/ASRLocalSDKDemo-fwyxkgvynobljhcnsohxuvliydli/Build/Products/Debug-iphoneos -L/Users/ganwenbin/Downloads/asr-ios-local-master/ASRLocalSDKDemo/ASRLocalSDKDemo -F/Users/ganwenbin/Library/Developer/Xcode/DerivedData/ASRLocalSDKDemo-fwyxkgvynobljhcnsohxuvliydli/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -F/Users/ganwenbin/Library/Developer/Xcode/DerivedData/ASRLocalSDKDemo-fwyxkgvynobljhcnsohxuvliydli/Build/Products/Debug-iphoneos -F/Users/ganwenbin/Library/Developer/Xcode/DerivedData/ASRLocalSDKDemo-fwyxkgvynobljhcnsohxuvliydli/Build/Products/Debug-iphoneos/MJExtension -filelist /Users/ganwenbin/Library/Developer/Xcode/DerivedData/ASRLocalSDKDemo-fwyxkgvynobljhcnsohxuvliydli/Build/Intermediates.noindex/ASRLocalSDKDemo.build/Debug-iphoneos/ASRLocalSDKDemo.build/Objects-normal/arm64/ASRLocalSDKDemo.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/ganwenbin/Library/Developer/Xcode/DerivedData/ASRLocalSDKDemo-fwyxkgvynobljhcnsohxuvliydli/Build/Intermediates.noindex/ASRLocalSDKDemo.build/Debug-iphoneos/ASRLocalSDKDemo.build/Objects-normal/arm64/ASRLocalSDKDemo_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -stdlib\=libc++ -fobjc-arc -fobjc-link-runtime -fprofile-instr-generate -framework MJExtension -framework Accelerate -lASRLocalSDK -lresolv.9 -liconv.2 /Users/ganwenbin/Downloads/asr-ios-local-master/ASRLocalSDKDemo/ASRLocalSDKDemo/kaldi-ios.a -lfst-ios -lc++.1 -framework Pods_ASRLocalSDKDemo -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/ganwenbin/Library/Developer/Xcode/DerivedData/ASRLocalSDKDemo-fwyxkgvynobljhcnsohxuvliydli/Build/Intermediates.noindex/ASRLocalSDKDemo.build/Debug-iphoneos/ASRLocalSDKDemo.build/Objects-normal/arm64/ASRLocalSDKDemo_dependency_info.dat -o /Users/ganwenbin/Library/Developer/Xcode/DerivedData/ASRLocalSDKDemo-fwyxkgvynobljhcnsohxuvliydli/Build/Products/Debug-iphoneos/ASRLocalSDKDemo.app/ASRLocalSDKDemo

Undefined symbols for architecture arm64: "kaldi::g_program_name", referenced from: kaldi::ParseOptions::Read(int, char const const) in libASRLocalSDK.a[arm64]12 "kaldi::WordAlignLattice(fst::VectorFst<fst::ArcTpl<fst::CompactLatticeWeightTpl<fst::LatticeWeightTpl, int>>, fst::VectorState<fst::ArcTpl<fst::CompactLatticeWeightTpl<fst::LatticeWeightTpl, int>>, std::1::allocator<fst::ArcTpl<fst::CompactLatticeWeightTpl<fst::LatticeWeightTpl, int>>>>> const&, kaldi::TransitionModel const&, kaldi::WordBoundaryInfo const&, int, fst::VectorFst<fst::ArcTpl<fst::CompactLatticeWeightTpl<fst::LatticeWeightTpl, int>>, fst::VectorState<fst::ArcTpl<fst::CompactLatticeWeightTpl<fst::LatticeWeightTpl, int>>, std::1::allocator<fst::ArcTpl<fst::CompactLatticeWeightTpl<fst::LatticeWeightTpl, int>>>>>)", referenced from: kaldi::OnlineDecoder::GetWordAlignment(fst::VectorFst<fst::ArcTpl<fst::LatticeWeightTpl>, fst::VectorState<fst::ArcTpl<fst::LatticeWeightTpl>, std::1::allocator<fst::ArcTpl<fst::LatticeWeightTpl>>>> const&, std::1::vector<float, std::__1::allocator> const&) in libASRLocalSDK.a[arm64]74 "kaldi::DownsampleWaveForm(float, kaldi::VectorBase const&, float, kaldi::Vector)", referenced from: kaldi::OnlineDecoder::DecodeSegment(kaldi::AudioState&, int, float) in libASRLocalSDK.a[arm64]74 "kaldi::FatalMessageLogger::FatalMessageLogger(kaldi::LogMessageEnvelope::Severity, char const, char const, int)", referenced from: kaldi::ParseOptions::DisableOption(std::1::basic_string<char, std::__1::char_traits, std::1::allocator> const&) in libASRLocalSDK.a[arm64]12 kaldi::ParseOptions::DisableOption(std::1::basic_string<char, std::__1::char_traits, std::1::allocator> const&) in libASRLocalSDK.a[arm64]12 kaldi::ParseOptions::GetArg(int) const in libASRLocalSDK.a[arm64]12 kaldi::ParseOptions::Read(int, char const const) in libASRLocalSDK.a[arm64]12 kaldi::ParseOptions::SplitLongArg(std::1::basic_string<char, std::__1::char_traits, std::1::allocator>, std::1::basic_string<char, std::__1::char_traits, std::1::allocator>, std::1::basic_string<char, std::__1::char_traits, std::1::allocator>, bool) in libASRLocalSDK.a[arm64]12 kaldi::ParseOptions::ReadConfigFile(std::1::basic_string<char, std::__1::char_traits, std::1::allocator> const&) in libASRLocalSDK.a[arm64]12 kaldi::ParseOptions::ReadConfigFile(std::1::basic_string<char, std::__1::char_traits, std::1::allocator> const&) in libASRLocalSDK.a[arm64]12 kaldi::ParseOptions::ReadConfigFile(std::1::basic_string<char, std::__1::char_traits, std::1::allocator> const&) in libASRLocalSDK.a[arm64]12 ... "kaldi::FatalMessageLogger::~FatalMessageLogger()", referenced from: kaldi::ParseOptions::DisableOption(std::1::basic_string<char, std::__1::char_traits, std::1::allocator> const&) in libASRLocalSDK.a[arm64]12 kaldi::ParseOptions::DisableOption(std::1::basic_string<char, std::__1::char_traits, std::1::allocator> const&) in libASRLocalSDK.a[arm64]12 kaldi::ParseOptions::DisableOption(std::1::basic_string<char, std::__1::char_traits, std::1::allocator> const&) in libASRLocalSDK.a[arm64]12 kaldi::ParseOptions::GetArg(int) const in libASRLocalSDK.a[arm64]12 kaldi::ParseOptions::GetArg(int) const in libASRLocalSDK.a[arm64]12 kaldi::ParseOptions::Read(int, char const const) in libASRLocalSDK.a[arm64]12 kaldi::ParseOptions::Read(int, char const const) in libASRLocalSDK.a[arm64]12 ... "kaldi::ConvertLatticeToPhones(kaldi::TransitionModel const&, fst::VectorFst<fst::ArcTpl<fst::LatticeWeightTpl>, fst::VectorState<fst::ArcTpl<fst::LatticeWeightTpl>, std::__1::allocator<fst::ArcTpl<fst::LatticeWeightTpl>>>>)", referenced from: kaldi::OnlineDecoder::GetPhoneAlignment(std::1::vector<int, std::1::allocator> const&, fst::VectorFst<fst::ArcTpl<fst::CompactLatticeWeightTpl<fst::LatticeWeightTpl, int>>, fst::VectorState<fst::ArcTpl<fst::CompactLatticeWeightTpl<fst::LatticeWeightTpl, int>>, std::1::allocator<fst::ArcTpl<fst::CompactLatticeWeightTpl<fst::LatticeWeightTpl, int>>>>> const&) in libASRLocalSDK.a[arm64]74 "kaldi::OnlineSilenceWeighting::GetDeltaWeights(int, std::1::vector<std::1::pair<int, float>, std::1::allocator<std::1::pair<int, float>>>*)", referenced from: kaldi::OnlineDecoder::DecodeSegment(kaldi::AudioState&, int, float) in libASRLocalSDK.a[arm64]74 "void kaldi::OnlineSilenceWeighting::ComputeCurrentTraceback<fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>>>(kaldi::LatticeFasterOnlineDecoderTpl<fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>>> const&)", referenced from: kaldi::OnlineDecoder::DecodeSegment(kaldi::AudioState&, int, float) in libASRLocalSDK.a[arm64]74 "kaldi::nnet3::Descriptor::Destroy()", referenced from: kaldi::nnet3::Descriptor::~Descriptor() in libASRLocalSDK.a[arm64]74 "kaldi::nnet3::AmNnetSimple::Read(std::1::basic_istream<char, std::__1::char_traits>&, bool)", referenced from: kaldi::OnlineDecoder::LoadAcousticModel() in libASRLocalSDK.a[arm64]74 "kaldi::nnet3::NnetComputer::~NnetComputer()", referenced from: kaldi::OnlineDecoder::DecodeSegment(kaldi::AudioState&, int, float) in libASRLocalSDK.a[arm64]74 kaldi::OnlineDecoder::DecodeSegment(kaldi::AudioState&, int, float) in libASRLocalSDK.a[arm64]74 kaldi::nnet3::DecodableAmNnetLoopedOnline::~DecodableAmNnetLoopedOnline() in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>>>::SingleUtteranceNnet3DecoderTpl(kaldi::LatticeFasterDecoderConfig const&, kaldi::TransitionModel const&, kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>> const&, kaldi::OnlineNnet2FeaturePipeline) in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>>>::~SingleUtteranceNnet3DecoderTpl() in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>>>::~SingleUtteranceNnet3DecoderTpl() in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::GrammarFstTpl<fst::ConstFst<fst::ArcTpl<fst::TropicalWeightTpl>, unsigned int> const>>::SingleUtteranceNnet3DecoderTpl(kaldi::LatticeFasterDecoderConfig const&, kaldi::TransitionModel const&, kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, fst::GrammarFstTpl<fst::ConstFst<fst::ArcTpl<fst::TropicalWeightTpl>, unsigned int> const> const&, kaldi::OnlineNnet2FeaturePipeline) in kaldi-ios.a13 ... "kaldi::nnet3::SetDropoutTestMode(bool, kaldi::nnet3::Nnet)", referenced from: kaldi::OnlineDecoder::LoadAcousticModel() in libASRLocalSDK.a[arm64]74 "kaldi::nnet3::SetBatchnormTestMode(bool, kaldi::nnet3::Nnet)", referenced from: kaldi::OnlineDecoder::LoadAcousticModel() in libASRLocalSDK.a[arm64]74 "kaldi::nnet3::DecodableNnetLoopedOnlineBase::SetFrameOffset(int)", referenced from: kaldi::SingleUtteranceNnet3DecoderTpl<fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>>>::InitDecoding(int) in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::GrammarFstTpl<fst::ConstFst<fst::ArcTpl<fst::TropicalWeightTpl>, unsigned int> const>>::InitDecoding(int) in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::GrammarFstTpl<fst::VectorFst<fst::ArcTpl<fst::TropicalWeightTpl>, fst::VectorState<fst::ArcTpl<fst::TropicalWeightTpl>, std::1::allocator<fst::ArcTpl<fst::TropicalWeightTpl>>>>>>::InitDecoding(int) in kaldi-ios.a13 "kaldi::nnet3::DecodableNnetLoopedOnlineBase::DecodableNnetLoopedOnlineBase(kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, kaldi::OnlineFeatureInterface, kaldi::OnlineFeatureInterface)", referenced from: kaldi::SingleUtteranceNnet3DecoderTpl<fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>>>::SingleUtteranceNnet3DecoderTpl(kaldi::LatticeFasterDecoderConfig const&, kaldi::TransitionModel const&, kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>> const&, kaldi::OnlineNnet2FeaturePipeline) in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>>>::SingleUtteranceNnet3DecoderTpl(kaldi::LatticeFasterDecoderConfig const&, kaldi::TransitionModel const&, kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>> const&, kaldi::OnlineNnet2FeaturePipeline) in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::GrammarFstTpl<fst::ConstFst<fst::ArcTpl<fst::TropicalWeightTpl>, unsigned int> const>>::SingleUtteranceNnet3DecoderTpl(kaldi::LatticeFasterDecoderConfig const&, kaldi::TransitionModel const&, kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, fst::GrammarFstTpl<fst::ConstFst<fst::ArcTpl<fst::TropicalWeightTpl>, unsigned int> const> const&, kaldi::OnlineNnet2FeaturePipeline) in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::GrammarFstTpl<fst::ConstFst<fst::ArcTpl<fst::TropicalWeightTpl>, unsigned int> const>>::SingleUtteranceNnet3DecoderTpl(kaldi::LatticeFasterDecoderConfig const&, kaldi::TransitionModel const&, kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, fst::GrammarFstTpl<fst::ConstFst<fst::ArcTpl<fst::TropicalWeightTpl>, unsigned int> const> const&, kaldi::OnlineNnet2FeaturePipeline) in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::GrammarFstTpl<fst::VectorFst<fst::ArcTpl<fst::TropicalWeightTpl>, fst::VectorState<fst::ArcTpl<fst::TropicalWeightTpl>, std::1::allocator<fst::ArcTpl<fst::TropicalWeightTpl>>>>>>::SingleUtteranceNnet3DecoderTpl(kaldi::LatticeFasterDecoderConfig const&, kaldi::TransitionModel const&, kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, fst::GrammarFstTpl<fst::VectorFst<fst::ArcTpl<fst::TropicalWeightTpl>, fst::VectorState<fst::ArcTpl<fst::TropicalWeightTpl>, std::1::allocator<fst::ArcTpl<fst::TropicalWeightTpl>>>>> const&, kaldi::OnlineNnet2FeaturePipeline*) in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::GrammarFstTpl<fst::VectorFst<fst::ArcTpl<fst::TropicalWeightTpl>, fst::VectorState<fst::ArcTpl<fst::TropicalWeightTpl>, std::1::allocator<fst::ArcTpl<fst::TropicalWeightTpl>>>>>>::SingleUtteranceNnet3DecoderTpl(kaldi::LatticeFasterDecoderConfig const&, kaldi::TransitionModel const&, kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, fst::GrammarFstTpl<fst::VectorFst<fst::ArcTpl<fst::TropicalWeightTpl>, fst::VectorState<fst::ArcTpl<fst::TropicalWeightTpl>, std::1::allocator<fst::ArcTpl<fst::TropicalWeightTpl>>>>> const&, kaldi::OnlineNnet2FeaturePipeline) in kaldi-ios.a13 "kaldi::nnet3::DecodableNnetSimpleLoopedInfo::DecodableNnetSimpleLoopedInfo(kaldi::nnet3::NnetSimpleLoopedComputationOptions const&, kaldi::nnet3::AmNnetSimple)", referenced from: kaldi::OnlineDecoder::LoadAcousticModel() in libASRLocalSDK.a[arm64]74 "kaldi::nnet3::Nnet::Destroy()", referenced from: kaldi::nnet3::Nnet::~Nnet() in libASRLocalSDK.a[arm64]74 "vtable for kaldi::nnet3::DecodableAmNnetLoopedOnline", referenced from: kaldi::SingleUtteranceNnet3DecoderTpl<fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>>>::SingleUtteranceNnet3DecoderTpl(kaldi::LatticeFasterDecoderConfig const&, kaldi::TransitionModel const&, kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>> const&, kaldi::OnlineNnet2FeaturePipeline) in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>>>::SingleUtteranceNnet3DecoderTpl(kaldi::LatticeFasterDecoderConfig const&, kaldi::TransitionModel const&, kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>> const&, kaldi::OnlineNnet2FeaturePipeline) in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::GrammarFstTpl<fst::ConstFst<fst::ArcTpl<fst::TropicalWeightTpl>, unsigned int> const>>::SingleUtteranceNnet3DecoderTpl(kaldi::LatticeFasterDecoderConfig const&, kaldi::TransitionModel const&, kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, fst::GrammarFstTpl<fst::ConstFst<fst::ArcTpl<fst::TropicalWeightTpl>, unsigned int> const> const&, kaldi::OnlineNnet2FeaturePipeline) in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::GrammarFstTpl<fst::ConstFst<fst::ArcTpl<fst::TropicalWeightTpl>, unsigned int> const>>::SingleUtteranceNnet3DecoderTpl(kaldi::LatticeFasterDecoderConfig const&, kaldi::TransitionModel const&, kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, fst::GrammarFstTpl<fst::ConstFst<fst::ArcTpl<fst::TropicalWeightTpl>, unsigned int> const> const&, kaldi::OnlineNnet2FeaturePipeline) in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::GrammarFstTpl<fst::VectorFst<fst::ArcTpl<fst::TropicalWeightTpl>, fst::VectorState<fst::ArcTpl<fst::TropicalWeightTpl>, std::1::allocator<fst::ArcTpl<fst::TropicalWeightTpl>>>>>>::SingleUtteranceNnet3DecoderTpl(kaldi::LatticeFasterDecoderConfig const&, kaldi::TransitionModel const&, kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, fst::GrammarFstTpl<fst::VectorFst<fst::ArcTpl<fst::TropicalWeightTpl>, fst::VectorState<fst::ArcTpl<fst::TropicalWeightTpl>, std::1::allocator<fst::ArcTpl<fst::TropicalWeightTpl>>>>> const&, kaldi::OnlineNnet2FeaturePipeline*) in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::GrammarFstTpl<fst::VectorFst<fst::ArcTpl<fst::TropicalWeightTpl>, fst::VectorState<fst::ArcTpl<fst::TropicalWeightTpl>, std::1::allocator<fst::ArcTpl<fst::TropicalWeightTpl>>>>>>::SingleUtteranceNnet3DecoderTpl(kaldi::LatticeFasterDecoderConfig const&, kaldi::TransitionModel const&, kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, fst::GrammarFstTpl<fst::VectorFst<fst::ArcTpl<fst::TropicalWeightTpl>, fst::VectorState<fst::ArcTpl<fst::TropicalWeightTpl>, std::__1::allocator<fst::ArcTpl<fst::TropicalWeightTpl>>>>> const&, kaldi::OnlineNnet2FeaturePipeline) in kaldi-ios.a13 NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "vtable for kaldi::nnet3::DecodableNnetLoopedOnlineBase", referenced from: kaldi::OnlineDecoder::DecodeSegment(kaldi::AudioState&, int, float) in libASRLocalSDK.a[arm64]74 kaldi::OnlineDecoder::DecodeSegment(kaldi::AudioState&, int, float) in libASRLocalSDK.a[arm64]74 kaldi::nnet3::DecodableAmNnetLoopedOnline::~DecodableAmNnetLoopedOnline() in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>>>::SingleUtteranceNnet3DecoderTpl(kaldi::LatticeFasterDecoderConfig const&, kaldi::TransitionModel const&, kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>> const&, kaldi::OnlineNnet2FeaturePipeline) in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>>>::~SingleUtteranceNnet3DecoderTpl() in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>>>::~SingleUtteranceNnet3DecoderTpl() in kaldi-ios.a13 kaldi::SingleUtteranceNnet3DecoderTpl<fst::GrammarFstTpl<fst::ConstFst<fst::ArcTpl<fst::TropicalWeightTpl>, unsigned int> const>>::SingleUtteranceNnet3DecoderTpl(kaldi::LatticeFasterDecoderConfig const&, kaldi::TransitionModel const&, kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, fst::GrammarFstTpl<fst::ConstFst<fst::ArcTpl<fst::TropicalWeightTpl>, unsigned int> const> const&, kaldi::OnlineNnet2FeaturePipeline*) in kaldi-ios.a13 ... NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Undefined symbol: kaldi::g_program_name

Undefined symbol: kaldi::WordAlignLattice(fst::VectorFst<fst::ArcTpl<fst::CompactLatticeWeightTpl<fst::LatticeWeightTpl, int>>, fst::VectorState<fst::ArcTpl<fst::CompactLatticeWeightTpl<fst::LatticeWeightTpl, int>>, std::1::allocator<fst::ArcTpl<fst::CompactLatticeWeightTpl<fst::LatticeWeightTpl, int>>>>> const&, kaldi::TransitionModel const&, kaldi::WordBoundaryInfo const&, int, fst::VectorFst<fst::ArcTpl<fst::CompactLatticeWeightTpl<fst::LatticeWeightTpl, int>>, fst::VectorState<fst::ArcTpl<fst::CompactLatticeWeightTpl<fst::LatticeWeightTpl, int>>, std::1::allocator<fst::ArcTpl<fst::CompactLatticeWeightTpl<fst::LatticeWeightTpl, int>>>>>*)

Undefined symbol: kaldi::DownsampleWaveForm(float, kaldi::VectorBase const&, float, kaldi::Vector*)

Undefined symbol: kaldi::FatalMessageLogger::FatalMessageLogger(kaldi::LogMessageEnvelope::Severity, char const, char const, int)

Undefined symbol: kaldi::FatalMessageLogger::~FatalMessageLogger()

Undefined symbol: kaldi::ConvertLatticeToPhones(kaldi::TransitionModel const&, fst::VectorFst<fst::ArcTpl<fst::LatticeWeightTpl>, fst::VectorState<fst::ArcTpl<fst::LatticeWeightTpl>, std::__1::allocator<fst::ArcTpl<fst::LatticeWeightTpl>>>>*)

Undefined symbol: kaldi::OnlineSilenceWeighting::GetDeltaWeights(int, std::1::vector<std::1::pair<int, float>, std::1::allocator<std::1::pair<int, float>>>*)

Undefined symbol: void kaldi::OnlineSilenceWeighting::ComputeCurrentTraceback<fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>>>(kaldi::LatticeFasterOnlineDecoderTpl<fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl>>> const&)

Undefined symbol: kaldi::nnet3::Descriptor::Destroy()

Undefined symbol: kaldi::nnet3::AmNnetSimple::Read(std::__1::basic_istream<char, std::__1::char_traits>&, bool)

Undefined symbol: kaldi::nnet3::NnetComputer::~NnetComputer()

Undefined symbol: kaldi::nnet3::SetDropoutTestMode(bool, kaldi::nnet3::Nnet*)

Undefined symbol: kaldi::nnet3::SetBatchnormTestMode(bool, kaldi::nnet3::Nnet*)

Undefined symbol: kaldi::nnet3::DecodableNnetLoopedOnlineBase::SetFrameOffset(int)

Undefined symbol: kaldi::nnet3::DecodableNnetLoopedOnlineBase::DecodableNnetLoopedOnlineBase(kaldi::nnet3::DecodableNnetSimpleLoopedInfo const&, kaldi::OnlineFeatureInterface, kaldi::OnlineFeatureInterface)

Undefined symbol: kaldi::nnet3::DecodableNnetSimpleLoopedInfo::DecodableNnetSimpleLoopedInfo(kaldi::nnet3::NnetSimpleLoopedComputationOptions const&, kaldi::nnet3::AmNnetSimple*)

Undefined symbol: kaldi::nnet3::Nnet::Destroy()

Undefined symbol: vtable for kaldi::nnet3::DecodableAmNnetLoopedOnline

Undefined symbol: vtable for kaldi::nnet3::DecodableNnetLoopedOnlineBase

Linker command failed with exit code 1 (use -v to see invocation)