Menu

Beginner To PocketSphinx Help (error: "cmd_ln.c", line 604:)

Help
2018-04-25
2018-04-25
  • Austin Kingrey

    Austin Kingrey - 2018-04-25

    Hey there guys,

    I'm having trouble with the starting tutorial for pocketsphinx on Windows 10. I am currently running visual studio 2017. I downloaded the sphinxbase and pocketsphinx folders, and extracted them into a folder C:\sphinx. I changed the names of the folders as directed to simply the two names of the folder. I then opened the sphinxbase.sln as directed, and batch built all of the files. I did the same for pocketsphinx. I then went to copy the sphinxbase.dll from sphinxbase\bin\release\win32 and copied it over to the respective pocketsphinx folder.

    This is where I ran into my problem. In command prompt, in the pocketsphinx directory, I copied and pasted the code from the tutorial, and hit enter. I proceded to get these errors after a bunch of troubleshooting:

    ERROR: "cmdln.c", line 604: Unknown argument name 'model\en-us\en-us'
    ERROR: "cmdln.c", line 701: Failed to parse arguments list
    INFO: continuous.c(295): Specify '-infile <file.wav>' to recognize from file or '-inmic yes' to recognize from microphone.

    Please help me out as I really am feeling lost at this point. Thanks guys.

     
    • Nickolay V. Shmyrev

      I copied and pasted the code from the tutorial, and hit enter.

      Blind copy-pasting is one of the worst sins of programming. You might find yourself in a very big trouble using it.

      You just have mistakes in command line, you can easily fix them if you try to understand what arguments shoudl be and format them properly.

       
  • Austin Kingrey

    Austin Kingrey - 2018-04-25

    UPDATE: I downloaded visual studio 2012 to see if that was the issue, but no luck still.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.