This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Simon on OSX build fails at error

Tags: simon, simonsource, voice, voice recognition simon, simonsource, voice, voice recognition simon, simonsource, voice, voice recognition
(comma "," separated)
delerd
Registered Member
Posts
3
Karma
0

Simon on OSX build fails at error

Wed Apr 22, 2015 11:43 pm
Full error presented here. Build was going fine until:

Code: Select all
/Users/delerd/Desktop/SimonOSX/simonsource/simonlib/simonrecognizer/sphinxrecognizer.cpp:100:12: error:
      no matching function for call to ‘ps_decode_raw’
  int rv = ps_decode_raw(decoder, toRecognize, fName.data(), -1);
           ^~~~~~~~~~~~~
/usr/local/include/pocketsphinx/pocketsphinx.h:298:6: note: candidate function not viable: requires 3
      arguments, but 4 were provided
long ps_decode_raw(ps_decoder_t *ps, FILE *rawfh,
     ^
/Users/delerd/Desktop/SimonOSX/simonsource/simonlib/simonrecognizer/sphinxrecognizer.cpp:111:9: error:
      no matching function for call to ‘ps_get_hyp’
  hyp = ps_get_hyp(decoder, &score, &uttid);
        ^~~~~~~~~~
/usr/local/include/pocketsphinx/pocketsphinx.h:408:13: note: candidate function not viable: requires 2
      arguments, but 3 were provided
char const *ps_get_hyp(ps_decoder_t *ps, int32 *out_best_score);
            ^
2 errors generated.
make[2]: *** [simonlib/simonrecognizer/CMakeFiles/simonrecognizer.dir/sphinxrecognizer.cpp.o] Error 1
make[1]: *** [simonlib/simonrecognizer/CMakeFiles/simonrecognizer.dir/all] Error 2
make: *** [all] Error 2


I believe I have all dependencies. The last thing I didn't have was XCode Command Line Tools, which I installed and build was fine until this error.

Can anyone give me any insight please?

Thank you,
D
delerd
Registered Member
Posts
3
Karma
0
__Bump__

Hey guys, any insights on this would be extremely helpful. Using Simon on a non-commercial art project.

Thank you!
bedahr
Moderator
Posts
141
Karma
0
OS
Please install pocketsphinx 0.8, and make sure it is picked up by cmake.

Best regards,
Peter
delerd
Registered Member
Posts
3
Karma
0
Thanks Peter. Let me try that out and will keep you posted!

E


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]