Reply to topic

Simon on OSX build fails at error

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

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], claydoh, cmb, cylverbak, Google [Bot], JesusM, kevjon, scummos, smankowski, Sogou [Bot], YaCy [Bot]