'libMicrosoft.CognitiveServices.Speech.core.so cannot be found
i have a problem running an Azure TTS tutorial. I have stated my problem here and there werent any response.
What i have done is follows:
# Installed requirements
apt-get update
apt-get -y install build-essential libssl1.0.0 libasound2 wget
# Compiled it using make
make
# with the compilation verbose, meaning it compiled with these parameters
g++ helloworld.cpp -o helloworld \
--std=c++14 \
-I ~/speechsdk/include/cxx_api -I ~/speechsdk/include/c_api \
-L ~/speechsdk/lib/x64 \
-lMicrosoft.CognitiveServices.Speech.core -pthread -l:libasound.so.2
# Run
./helloworld
However i got the following error message
./helloworld: error while loading shared libraries: libMicrosoft.CognitiveServices.Speech.core.so: cannot open shared object file: No such file or directory
[Edits]
included spaces between -L, -I and ~/speechsdk/*. Used -pthread instead of -lpthread
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
