MacOS 安装 Kaldi 的 PortAudio

Oct. 17, 2019, 10:07 a.m.

read: 749

如果是基于kaldi的工程编译,则进入 kaldi/tools/运行

./install_portaudio.sh

发生错误 ld: library not found for -lgcc_s.10.4

vim install_portaudio.sh

行数 96-106
加入一行 -e ‘s/-mmacosx-version-min=10.3//g’ \

if [ “$MACOS” != “” ]; then
echo “detected MacOS operating system … trying to fix Makefile”
mv Makefile Makefile.bck
cat Makefile.bck | sed -e ‘s/-isysroot\ \/Developer\/SDKs\/MacOSX10.4u.sdk//g’ \
-e ‘s/-mmacosx-version-min=10.3//g’ \
-e ‘s/-Werror//g’ -e ‘s/-arch i386//g’ -e ‘s/-arch ppc64//g’ -e ‘s/-arch ppc//g’ \
Makefile
mv include/pa_mac_core.h include/pa_mac_core.h.bck
cat include/pa_mac_core.h.bck \
| sed ‘s/\/\/#include \/#include \/g’ \
include/pa_mac_core.h
fi

就可以编译成功




评论

评论模块试运行中,标*的为必填项
昵称:
邮箱:
*内容:
评论

加/降混响

1.降混响WPE包加权预测误差(WPE)是语音混响方法,由NTT Corporation NTT通信科学实验室开发。该页面提供了WPE的Matlab p代码可执行文件。设计和分发此软件包中包括的工具…

Kaldi-aishell

文章标题:Kaldi-aishell文章内容:准备linux 以UBUNTU16.01为例 下载git clone https://github.com/kaldi-asr/kaldi.git o…

推荐使用 Firefox 访问此站点 | 服务器由huxia赞助 | 友情链接: 张鹏的博客  杨洋的博客   李号的博客
Developed by zhangpeng && hupeng | Powered by ASP.NET Run on IIS | © 2018-2020 hupeng.me. All Rights Reserved.