cmusphinx / pocketsphinx

A small speech recognizer
Other
3.9k stars 714 forks source link

`cmake -S . -B build` Dose not build CLI (On Replit) #311

Open Errorbot1122 opened 1 year ago

Errorbot1122 commented 1 year ago

For some reason, I can't build the CLI using the instructions in the Readme. By trying it I get this error:

CMake Error: The source directory "/home/runner/Speech-To-Robot-Speech" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

If you are wondering the environment I use, is called replit and I use an operating system called NixOS

dhdaines commented 1 year ago

Oh, interesting - yes, knowing the environment is quite important! But also, it appears that you are not running cmake from the source directory for pocketsphinx, which explains the error message. Perhaps you need to cd pocketsphinx first?

All that said, the CLI does need to be installed system-wide to be useful, and I am not sure how this would work with replit/NixOS, though replit looks sufficiently useful that I am inclined to go try it out.

Errorbot1122 commented 1 year ago

Do you think I should install it using git, and then run the cmake?