idiap / pkwrap

A pytorch wrapper for LF-MMI training and parallel training in Kaldi
Other
72 stars 12 forks source link

Failed when `Compile Kaldi with CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0"' #15

Closed weiwchu closed 3 years ago

weiwchu commented 3 years ago

Hey authors,

I tried to compile Kaldi with CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0", but the compilation failed; when I use kaldi's original CXXFLAGS shown below, it compiles okay.

CXXFLAGS = -std=c++11 -I.. -isystem $(OPENFSTINC) -O1 \ -Wall -Wno-sign-compare -Wno-unused-local-typedefs \ -Wno-deprecated-declarations -Winit-self \ -DKALDI_DOUBLEPRECISION=$(DOUBLE_PRECISION) \ -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_MKL $(MKL_CXXFLAGS) \ -m64 -msse -msse2 -pthread -g

Any comments?

weiwchu commented 3 years ago

Hey,

I found I need to also compile the tools/ in kaldi with this option. Now the problem is solved.