Closed Taher0321 closed 6 months ago
Thank you for sending the zip. But the zip doesn't have 'libportaudio.a' or libportaudio.lib'
We still need this files: 'libportaudio.a' or libportaudio.lib'
kindly help us with this.
Something like https://github.com/shivang51/portaudio probably
I have provided all the necessary path for vosk API and portaudio API in code .jason file e.g "-I/C:/portaudio/include","-I/C:/vosk/include","-L/C:/portaudio/lib","-L/C:/vosk/lib" it still showing the error as shown in below image is there any solution to run the code in windows? Or you could direct us to solve this error? @nshmyrev kindly help.
You need to link the library itself with -lportaudio, /L only specifies the path.
You need to link the library itself with -lportaudio, /L only specifies the path.
We followed this process and still getting the same error. We executed this in following way: g++ speech.cpp -o speech.exe C:/portaudio/lib/portaudio.lib specified the library and tried to link using the g++ still showing the below error cc1plus.exe: fatal error: speech.cpp: No such file or directory also tried to solve using changing the path in task.json and properties.json as shown below but still showing the error shown in an image. do you have any way resolve this issue?
kindly help @nshmyrev
Screenshot is attached for your reference.
You need to link the library itself with -lportaudio, /L only specifies the path.
We used this line to link the library with -lportaudio using this command: gcc speech.cpp -o speech.exe -LC:/path/to/vosk/lib -lvosk -LC:/path/to/portaudio/lib -lportaudio
But the errors still persists. See the screenshot
and what files are in C:/portaudio/lib
Hi, In my VOSK API repository I couldn't find the libvosk.lib or libvosk.a library file. Same for my portaudio API where I couldn't find the libportaudio.a library file so could you guys tell me from where I could download the file or is there any vosk repository or portaudio repository where I could find this files.
And we are developing this in C language.
Looking forward for your help,