A compile error related to kaldi2reader
I downloaded the state-of-art CNTK and wanted to combine CNTK and kaldi. However, when I compiled CNTK, an error occurred. I had followed the instruction in Source/Readers/KaldiReaderReadme before I compiled CNTK. The error info is like this:
creating /home/zhaoyue/CNTK/build/release/.build/Source/Readers/Kaldi2Reader/DataWriter.o for with build type release mpic++ -c Source/Readers/Kaldi2Reader/DataWriter.cpp -o /home/zhaoyue/CNTK/build/release/.build/Source/Readers/Kaldi2Reader/DataWriter.o -D_POSIX_SOURCE -D_XOPEN_SOURCE=600 -D__USE_XOPEN2K -std=c++11 -DUSE_CUDNN -DUSE_ACML -DNDEBUG -DNO_SYNC -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_ATLAS -DHAVE_OPENFST_GE_10400 -msse3 -std=c++0x -fopenmp -fpermissive -fPIC -Werror -fcheck-new -Wno-error=literal-suffix -g -O4 -ISource/Common/Include -ISource/Math -ISource/CNTK -ISource/ActionsLib -ISource/ComputationNetworkLib -ISource/SGDLib -ISource/SequenceTrainingLib -ISource/CNTK/BrainScript -ISource/Readers/ReaderLib -I/usr/./include/nvidia/gdk -I/home/zhaoyue/cub-1.4.1 -I/usr/local/cuda-7.0/include -I/usr/local/cuda/include -I/opt/acml5.3.1/ifort64_mp/include -I/home/zhaoyue/kaldi//src -I/home/zhaoyue/kaldi//tools/ATLAS/include -I/home/zhaoyue/kaldi//tools/openfst/include -MD -MP -MF /home/zhaoyue/CNTK/build/release/.build/Source/Readers/Kaldi2Reader/DataWriter.d In file included from Source/Readers/Kaldi2Reader/DataWriter.cpp:17:0: Source/Readers/Kaldi2Reader/HTKMLFWriter.h:45:32: error: expected nested-name-specifier before ‘IDataWriter’ using LabelType = typename IDataWriter<ElemType>::LabelType; ^ Source/Readers/Kaldi2Reader/HTKMLFWriter.h:45:32: error: ‘Microsoft::MSR::CNTK::IDataWriter’ is not a template Source/Readers/Kaldi2Reader/HTKMLFWriter.h:46:34: error: expected nested-name-specifier before ‘IDataWriter’ using LabelIdType = typename IDataWriter<ElemType>::LabelIdType; ^ Source/Readers/Kaldi2Reader/HTKMLFWriter.h:46:34: error: ‘Microsoft::MSR::CNTK::IDataWriter’ is not a template make[1]: *** [/home/zhaoyue/CNTK/build/release/.build/Source/Readers/Kaldi2Reader/DataWriter.o] Error 1
I have no idea how to debug. Is there any advice? Thanks.