Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header files missing #59

Open
mertyildiran opened this issue Oct 12, 2017 · 3 comments
Open

Header files missing #59

mertyildiran opened this issue Oct 12, 2017 · 3 comments

Comments

@mertyildiran
Copy link

I'm sure I changed this line to my kaldi root but I'm getting this error when I call make depend:

In file included from gst-audio-source.cc:22:0:
./gst-audio-source.h:23:33: fatal error: matrix/kaldi-vector.h: No such file or directory
compilation terminated.
In file included from ./gstkaldinnet2onlinedecoder.h:26:0,
                 from gstkaldinnet2onlinedecoder.cc:50:
././simple-options-gst.h:25:33: fatal error: util/simple-options.h: No such file or directory
compilation terminated.
In file included from simple-options-gst.cc:20:0:
./simple-options-gst.h:25:33: fatal error: util/simple-options.h: No such file or directory
compilation terminated.
Makefile:78: recipe for target 'depend' failed
make: [depend] Error 1 (ignored)
@illouk
Copy link

illouk commented Oct 30, 2017

I am experiencing the same problem as @mertyildiran.

  1. I am using Ubuntu 16.04.

  2. the path to my Folders is that ones:
    ~/kaldi for kaldi's folder , and
    ~/gst-kaldi-nnet2-online for the gst-kaldi-nnet2-online.
    (i cloned them from github inside ~/ in separated folders)

  3. i tried to do sudo make depend from ~/gst-kaldi-nnet2-online/src and i got an error like this:

Makefile:6: * Cannot find Kaldi's makefile /home/tanel/tools/kaldi-trunk/src/kaldi.mk. Specify Kaldi's root directory using KALDI_ROOT when issuing make, e.g.: KALDI_ROOT=/home/tanel/tools/kaldi-trunk make .  Stop.
  1. So In this path i have changed the path to: "KALDI_ROOT=~/kaldi"
    And now i am getting an error like this:
#g++-5 -M -std=c++11 -I.. -I/home/silvius/kaldi/tools/openfst/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_ATLAS -I/home/silvius/kaldi/tools/ATLAS_headers/include -msse -msse2 -pthread -g  -fPIC -I~/kaldi/src *.cc > .depend.mk  
In file included from gst-audio-source.cc:22:0:
./gst-audio-source.h:23:33: fatal error: matrix/kaldi-vector.h: No such file or directory
compilation terminated.
In file included from ./gstkaldinnet2onlinedecoder.h:26:0,
                 from gstkaldinnet2onlinedecoder.cc:49:
././simple-options-gst.h:25:33: fatal error: util/simple-options.h: No such file or directory
compilation terminated.
In file included from simple-options-gst.cc:20:0:
./simple-options-gst.h:25:33: fatal error: util/simple-options.h: No such file or directory
compilation terminated.
Makefile:76: recipe for target 'depend' failed
make: [depend] Error 1 (ignored)

Please someone help.

@ekandji
Copy link

ekandji commented Mar 5, 2018

Same thing here

@ekandji
Copy link

ekandji commented Mar 5, 2018

Ok figured it out.

Instead of using the tilde (reference to home directory) I put the absolute path e.g. "KALDI_ROOT=/home/myusername/kaldi"

and it compiled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants