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

Error in building app (compilation phase) #26

Open
somnat opened this issue Aug 24, 2017 · 3 comments
Open

Error in building app (compilation phase) #26

somnat opened this issue Aug 24, 2017 · 3 comments

Comments

@somnat
Copy link

somnat commented Aug 24, 2017

Hi,
while compiling asr-server, it gives the following error.
g++: error: /home/somnath/kaldi/src/thread/libkaldi-thread.so: No such file or directory

I am using the latest kaldi-version (August-2017). All other .so files are there. See the following
/home/somnath/kaldi/src/base/libkaldi-base.so
/home/somnath/kaldi/src/chain/libkaldi-chain.so
/home/somnath/kaldi/src/cudamatrix/libkaldi-cudamatrix.so
/home/somnath/kaldi/src/decoder/libkaldi-decoder.so
/home/somnath/kaldi/src/feat/libkaldi-feat.so
/home/somnath/kaldi/src/fstext/libkaldi-fstext.so
/home/somnath/kaldi/src/gmm/libkaldi-gmm.so
/home/somnath/kaldi/src/hmm/libkaldi-hmm.so
/home/somnath/kaldi/src/ivector/libkaldi-ivector.so
/home/somnath/kaldi/src/kws/libkaldi-kws.so
/home/somnath/kaldi/src/lat/libkaldi-lat.so
/home/somnath/kaldi/src/lib/libkaldi-base.so
/home/somnath/kaldi/src/lib/libkaldi-chain.so
/home/somnath/kaldi/src/lib/libkaldi-cudamatrix.so
/home/somnath/kaldi/src/lib/libkaldi-decoder.so
/home/somnath/kaldi/src/lib/libkaldi-feat.so
/home/somnath/kaldi/src/lib/libkaldi-fstext.so
/home/somnath/kaldi/src/lib/libkaldi-gmm.so
/home/somnath/kaldi/src/lib/libkaldi-hmm.so
/home/somnath/kaldi/src/lib/libkaldi-ivector.so
/home/somnath/kaldi/src/lib/libkaldi-kws.so
/home/somnath/kaldi/src/lib/libkaldi-lat.so
/home/somnath/kaldi/src/lib/libkaldi-lm.so
/home/somnath/kaldi/src/lib/libkaldi-matrix.so
/home/somnath/kaldi/src/lib/libkaldi-nnet.so
/home/somnath/kaldi/src/lib/libkaldi-nnet2.so
/home/somnath/kaldi/src/lib/libkaldi-nnet3.so
/home/somnath/kaldi/src/lib/libkaldi-online.so
/home/somnath/kaldi/src/lib/libkaldi-online2.so
/home/somnath/kaldi/src/lib/libkaldi-sgmm2.so
/home/somnath/kaldi/src/lib/libkaldi-transform.so
/home/somnath/kaldi/src/lib/libkaldi-tree.so
/home/somnath/kaldi/src/lib/libkaldi-util.so
/home/somnath/kaldi/src/lm/libkaldi-lm.so
/home/somnath/kaldi/src/matrix/libkaldi-matrix.so
/home/somnath/kaldi/src/nnet/libkaldi-nnet.so
/home/somnath/kaldi/src/nnet2/libkaldi-nnet2.so
/home/somnath/kaldi/src/nnet3/libkaldi-nnet3.so
/home/somnath/kaldi/src/online/libkaldi-online.so
/home/somnath/kaldi/src/online2/libkaldi-online2.so
/home/somnath/kaldi/src/sgmm2/libkaldi-sgmm2.so
/home/somnath/kaldi/src/transform/libkaldi-transform.so
/home/somnath/kaldi/src/tree/libkaldi-tree.so
/home/somnath/kaldi/src/util/libkaldi-util.so

Moreover, I cannot find the src/thread in my kaldi version. Please let me know the problem.

@bjascob
Copy link
Contributor

bjascob commented Aug 26, 2017

Looks like the Kaldi folks moved the src/thread stuff under src/util. The asr-server Makefile already has kaldi-util.a in it. It compiled for me with the newest Kaldi version by just removing "$(KALDI_PATH)/thread/kaldi-thread.a". from asr-server/src/Makefile.

@bjascob
Copy link
Contributor

bjascob commented Aug 26, 2017

BTW... Under pull-requests someone already has a fix for this in from back in July but it hasn't been merged in yet. See #19.

@somnat
Copy link
Author

somnat commented Aug 26, 2017 via email

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

2 participants