alphacep / alphacep/vosk-api

VOSK golang example out of the box issue

Open
#1,419 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15.1k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

I am currently working on building an example in Golang, following the instructions provided in the relevant README file. However, I have encountered an error and would greatly appreciate your assistance in resolving it.

The error I am facing is as follows:
**Input**
```
shell
VOSK_PATH=$(pwd)/vosk-linux-x86_64-0.3.45
LD_LIBRARY_PATH=$VOSK_PATH
CGO_CPPFLAGS="-I $VOSK_PATH"
CGO_LDFLAGS="-L $VOSK_PATH -lpthread"
go run . -f test.wav
```
**output**
```
shell
github.com/alphacep/vosk-api/go/example
/usr/bin/ld: cannot find -lvosk: No such file or directory
/usr/bin/ld: cannot find -lvosk: No such file or directory
collect2: error: ld returned 1 exit status
```

I have carefully followed the installation and setup instructions outlined in the README, but I am still unable to overcome this issue. I believe that your expertise and guidance will be instrumental in troubleshooting and resolving this error.

Thank you in advance for your kind support and assistance in addressing this matter. I am looking forward to your prompt response.

@nshmyrev (https://github.com/alphacep/vosk-api/pull/1346

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.