Hi kaldi-team,
I am trying to install kaldi on a tegra platform, but meet some problem in the beginning of configure (src).
>uname -a
Linux nvidia 3.18.11-tegra #1 SMP PREEMPT Mon Aug 10 17:28:52 PDT 2015 aarch64 aarch64 aarch64 GNU/Linux
>./configure
Configuring ...
Checking OpenFST library in /home/ubuntu/wenx/software/kaldi-trunk/tools/openfst ...
Checking OpenFst library was patched.
Doing OS specific configurations ...
On Linux: Checking for linear algebra header files ...
Using ATLAS as the linear algebra library.
Successfully configured for Debian/Ubuntu Linux [dynamic libraries] with ATLASLIBS =/usr/lib/libatlas.so.3 /usr/lib/libf77blas.so.3 /usr/lib/libcblas.so.3 /usr/lib/liblapack_atlas.so.3
Using CUDA toolkit /usr/local/cuda (nvcc compiler and runtime libraries)
Static=[false] Speex library not found: You can still build Kaldi without Speex.
g++: error: unrecognized command line option '-msse'
g++: error: unrecognized command line option '-msse2'
make: *** [exp-test] Error 1
./configure: line 212: ./exp-test: No such file or directory
SUCCESS
As you can see the log of configure, SSE is not supported in this systerm.
So I modify the kaldi.mk file like this (delete the -msse -msse2 option):
41 #CXXFLAGS = -msse -msse2 -Wall -I.. \
42 CXXFLAGS = -Wall -I.. \
Then I make depend:
>make depend
Then it report the following errors:
1 make -C base/ depend
2 make[1]: Entering directory '/home/ubuntu/wenx/software/kaldi-trunk/src/base'
3 g++ -M -DHAVE_CUDA -I/usr/local/cuda/include *.cc > .
depend.mk 4 io-funcs-test.cc:19:27: fatal error: base/io-funcs.h: No such file or directory
5 #include "base/io-funcs.h"
6 ^
7 compilation terminated.
8 io-funcs.cc:20:27: fatal error: base/io-funcs.h: No such file or directory
9 #include "base/io-funcs.h"
10 ^
11 compilation terminated.
12 kaldi-error-test.cc:21:31: fatal error: base/kaldi-common.h: No such file or directory
13 #include "base/kaldi-common.h"
14 ^
15 compilation terminated.
16 kaldi-error.cc:31:31: fatal error: base/kaldi-common.h: No such file or directory
17 #include "base/kaldi-common.h"
......omit the rest of log messages.
How to solve this problem? The "./base" directory is actually in the current path, why the script couldn't found it.
Thanks a lot!
Best Regards,
Ross