alphacep / vosk-server

WebSocket, gRPC and WebRTC speech recognition server based on Vosk and Kaldi libraries
Apache License 2.0
902 stars 243 forks source link

Go run error #204

Closed jacobsamo closed 1 year ago

jacobsamo commented 1 year ago

When running my Go file my command line throws this error:

  # command-line-arguments
  C:\Program Files\Go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1
  C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lvosk: No such file or directory
  C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ldl: No such file or directory
  collect2.exe: error: ld returned 1 exit status

I have searched around and still can't find how to fix this.