alphacep / alphacep/vosk-api

VOSK golang example out of the box issue

Đang mở
#1,419 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jupyter Notebook
Star
15.1k
Fork
1.8k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.