Hi!
Im new to the Speech recognition world! I have been trying to get Pocketsphinx
0.6.1 to install. But to no avail.
The reason I am trying to install 0.6.1 and not 0.7 is that when I tried using
0.7 I would get a swig error. Thought I would try the previous version.
These are the details:
Windows 7
Using Cygwin 1.7.15
Sphinxbase has installed with no errors
I get the following when trying to make Pocketsphinx0.6.1
continuous.o: In function `main':/home/sam/installs/sphinx_final/pocketsphinx/src/programs/continuous.c:363: undefined reference to `__imp__ps_init'
/home/sam/installs/sphinx_final/pocketsphinx/src/programs/continuous.c:384: undefined reference to `__imp__ps_free'collect2: ld returned 1 exit statusMakefile:316: recipe for target `pocketsphinx_continuous.exe' failed
make[2]: *** [pocketsphinx_continuous.exe] Error 1
make[2]: Leaving directory `/home/sam/installs/sphinx_final/pocketsphinx/src/programs'Makefile:271: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sam/installs/sphinx_final/pocketsphinx/src'Makefile:372: recipe for target `all-recursive' failed
make: *** [all-recursive] Error 1
I have seen a few posts on here who have faced the same problems but there
doesn't seem to be an answer/solution posted.
Please need some help here! Thanks in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You need to use pocketsphinx-0.7 or pocketsphinx snapshot. Versino 0.6.1 is
really obsolete and it should not be used. The issues which were present in
version 0.6.1 were fixed in 0.7
If you meet specific issue in 0.7, share more information about it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for reply. I have actually tried the PocketSpinx snapshot as well. Dont
remember the error at the moment. Version 0.7 even though no issues while make
and make installing both Sphinxbase and PocketSphinx..lead to having no SWIG
folder creation.
I am actually trying to use PocketSphinx in conjunction with Eclipse (with
android). I was hoping I didnt have to install clunky software (Visual
Studio). Guess I have no choice!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So I tried to install 0.7 . Sphinxbase has installed (did it first) but
PocketSphinx is still giving me make errors
continuous.o: In function `recognize_from_file':/home/sam/installs/0.7/pocketsphinx/src/programs/continuous.c:160: undefined reference to `__imp__ps_start_utt'
/home/sam/installs/0.7/pocketsphinx/src/programs/continuous.c:163: undefined reference to `__imp__ps_process_raw'/home/sam/installs/0.7/pocketsphinx/src/programs/continuous.c:186: undefined reference to `__imp__ps_process_raw'
/home/sam/installs/0.7/pocketsphinx/src/programs/continuous.c:189: undefined reference to `__imp__ps_end_utt'continuous.o: In function `print_word_times':
/home/sam/installs/0.7/pocketsphinx/src/programs/continuous.c:113: undefined reference to `__imp__ps_seg_iter'/home/sam/installs/0.7/pocketsphinx/src/programs/continuous.c:118: undefined reference to `__imp__ps_seg_frames'
/home/sam/installs/0.7/pocketsphinx/src/programs/continuous.c:119: undefined reference to `__imp__ps_seg_prob'/home/sam/installs/0.7/pocketsphinx/src/programs/continuous.c:120: undefined reference to `__imp__ps_get_logmath'
/home/sam/installs/0.7/pocketsphinx/src/programs/continuous.c:121: undefined reference to `__imp__ps_seg_word'/home/sam/installs/0.7/pocketsphinx/src/programs/continuous.c:122: undefined reference to `__imp__ps_seg_next'
continuous.o: In function `recognize_from_file':/home/sam/installs/0.7/pocketsphinx/src/programs/continuous.c:194: undefined reference to `__imp__ps_get_hyp'
continuous.o: In function `recognize_from_microphone':/home/sam/installs/0.7/pocketsphinx/src/programs/continuous.c:249: undefined reference to `__imp__ps_start_utt'
/home/sam/installs/0.7/pocketsphinx/src/programs/continuous.c:249: undefined reference to `__imp__ps_process_raw'/home/sam/installs/0.7/pocketsphinx/src/programs/continuous.c:249: undefined reference to `__imp__ps_end_utt'
/home/sam/installs/0.7/pocketsphinx/src/programs/continuous.c:249: undefined reference to `__imp__ps_get_hyp'continuous.o: In function `main':
/home/sam/installs/0.7/pocketsphinx/src/programs/continuous.c:363: undefined reference to `__imp__ps_init'/home/sam/installs/0.7/pocketsphinx/src/programs/continuous.c:384: undefined reference to `__imp__ps_free'
collect2: ld returned 1 exit status
Makefile:314: recipe for target `pocketsphinx_continuous.exe' failedmake[2]: *** [pocketsphinx_continuous.exe] Error 1make[2]: Leaving directory `/home/sam/installs/0.7/pocketsphinx/src/programs'
Makefile:269: recipe for target `all-recursive' failedmake[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/home/sam/installs/0.7/pocketsphinx/src'
Makefile:362: recipe for target `all-recursive' failed
make: *** [all-recursive] Error 1
Umm, Im going to install Visual Studio next and try. But in the meantime if
anyone can help to get this working with just Cygwin I'd be really grateful!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Really? I had tried the snapshot as well. I mean I tried a whole lot of
different versions before I posted on in here. Got some or the error and in
the end resigned myself to asking for help :)
Could you possibly send the snapshot links to me?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks!
And I did try from the latest version :) Got errors, googled and found a few
suggestions which I followed...anyhow. Thanks for the prompt reply. Will let
you know how it goes with the snapshots!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok I have another question that may be n00bish... So in the SWIG folder I have
the following:
ConfigTest.java
DecoderTest.java
goforward.wav
Hypothesis.java
LatticeTest.java
test.cfg
Whereas I am looking for the following:
Config.java
Decoder.java
Hypothesis.java
pocketsphinx.java
Umm what do I do?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
Im new to the Speech recognition world! I have been trying to get Pocketsphinx
0.6.1 to install. But to no avail.
The reason I am trying to install 0.6.1 and not 0.7 is that when I tried using
0.7 I would get a swig error. Thought I would try the previous version.
These are the details:
I get the following when trying to make Pocketsphinx0.6.1
I have seen a few posts on here who have faced the same problems but there
doesn't seem to be an answer/solution posted.
Please need some help here! Thanks in advance
You need to use pocketsphinx-0.7 or pocketsphinx snapshot. Versino 0.6.1 is
really obsolete and it should not be used. The issues which were present in
version 0.6.1 were fixed in 0.7
If you meet specific issue in 0.7, share more information about it.
And for Windows it's better to use native build with MS Visual Studio 2010,
though Cygwin should work too.
Thanks for reply. I have actually tried the PocketSpinx snapshot as well. Dont
remember the error at the moment. Version 0.7 even though no issues while make
and make installing both Sphinxbase and PocketSphinx..lead to having no SWIG
folder creation.
I am actually trying to use PocketSphinx in conjunction with Eclipse (with
android). I was hoping I didnt have to install clunky software (Visual
Studio). Guess I have no choice!
So I tried to install 0.7 . Sphinxbase has installed (did it first) but
PocketSphinx is still giving me make errors
Umm, Im going to install Visual Studio next and try. But in the meantime if
anyone can help to get this working with just Cygwin I'd be really grateful!
This bug has been fixed in snapshot
https://sourceforge.net/tracker/?func=detail&atid=101904&aid=3111933&group_id
=1904
Really? I had tried the snapshot as well. I mean I tried a whole lot of
different versions before I posted on in here. Got some or the error and in
the end resigned myself to asking for help :)
Could you possibly send the snapshot links to me?
http://cmusphinx.svn.sourceforge.net/viewvc/cmusphinx/trunk/pocketsphinx/?vie
w=tar
http://cmusphinx.svn.sourceforge.net/viewvc/cmusphinx/trunk/sphinxbase/?view=
tar
Next time instead of trying different versions try the latest one first
Thanks!
And I did try from the latest version :) Got errors, googled and found a few
suggestions which I followed...anyhow. Thanks for the prompt reply. Will let
you know how it goes with the snapshots!
Hey it worked! Pocketsphinx is all done! Now to get it to work with the
Android Demo project is another story :)
Thanks for you help nshmyrev!
Ok I have another question that may be n00bish... So in the SWIG folder I have
the following:
ConfigTest.java
DecoderTest.java
goforward.wav
Hypothesis.java
LatticeTest.java
test.cfg
Whereas I am looking for the following:
Config.java
Decoder.java
Hypothesis.java
pocketsphinx.java
Umm what do I do?
To ask a new question please start a new thread. Describe which version are
you trying.
Ok. Opened new thread : https://sourceforge.net/projects/cmusphinx/forums/for
um/5471/topic/5467393
Thanks!