Closed johngebbie closed 1 year ago
Great, thank you!
Please help :) (followed readme)
console: 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:
/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
@borod you need to create an issue instead of commenting here
I'm not very familiar with cgo and just based it off the other functions, and it works when I use it in the example.