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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
UPDATE: I downloaded visual studio 2012 to see if that was the issue, but no luck still.