thu-spmi / CAT

A CRF-based ASR Toolkit
Apache License 2.0
325 stars 74 forks source link

gcc-9如何安装? #55

Closed Sar-Dar closed 2 years ago

Sar-Dar commented 2 years ago

Ubuntu 20.04.3 gcc version 9.4.0 如何安装?

maxwellzh commented 2 years ago

您好, 目前ctc_crf loss模块的编译暂时不支持gcc 9,您可以尝试使用gcc 6/7,在src/ctc_crf/目录下,执行

CC=gcc-6 CXX=g++-6 make
# 或者使用gcc 7
CC=gcc-7 CXX=g++-7 make
Sar-Dar commented 2 years ago

gcc 7 环境下安装成功 谢谢!