pocketsphinx icon indicating copy to clipboard operation
pocketsphinx copied to clipboard

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

Open Errorbot1122 opened this issue 2 years ago • 2 comments

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

Errorbot1122 avatar Oct 12 '22 14:10 Errorbot1122

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.

dhdaines avatar Oct 12 '22 14:10 dhdaines

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

Errorbot1122 avatar Oct 12 '22 16:10 Errorbot1122