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

Make it possible to give a configure flag to where deepspeech libs are #4

Open
ftyers opened this issue Apr 1, 2018 · 1 comment
Open

Comments

@ftyers
Copy link

ftyers commented Apr 1, 2018

I get:

fran@matxine:~/source/gst-deepspeech$ make
make  all-recursive
make[1]: Entering directory '/home/fran/source/gst-deepspeech'
Making all in src
make[2]: Entering directory '/home/fran/source/gst-deepspeech/src'
/bin/sh ../libtool  --tag=CXX --tag=disable-static  --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -g -O2 -MT libgstdeepspeech_la-gstdeepspeech.lo -MD -MP -MF .deps/libgstdeepspeech_la-gstdeepspeech.Tpo -c -o libgstdeepspeech_la-gstdeepspeech.lo `test -f 'gstdeepspeech.cc' || echo './'`gstdeepspeech.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -g -O2 -MT libgstdeepspeech_la-gstdeepspeech.lo -MD -MP -MF .deps/libgstdeepspeech_la-gstdeepspeech.Tpo -c gstdeepspeech.cc  -fPIC -DPIC -o .libs/libgstdeepspeech_la-gstdeepspeech.o
gstdeepspeech.cc:63:10: fatal error: deepspeech.h: El fitxer o directori no existeix
 #include <deepspeech.h>
          ^~~~~~~~~~~~~~
compilation terminated.
Makefile:464: recipe for target 'libgstdeepspeech_la-gstdeepspeech.lo' failed
make[2]: *** [libgstdeepspeech_la-gstdeepspeech.lo] Error 1
make[2]: Leaving directory '/home/fran/source/gst-deepspeech/src'
Makefile:406: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/fran/source/gst-deepspeech'
Makefile:338: recipe for target 'all' failed
make: *** [all] Error 2

when I try to compile. Because my deepspeech.h is in ../DeepSpeech/native_client/

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