|
| 1 | +--- |
| 2 | +title: Develop apps with the Speech SDK - Speech service |
| 3 | +titleSuffix: Azure Cognitive Services |
| 4 | +description: Learn how to deploy an application that uses the Speech SDK on supported platforms. |
| 5 | +services: cognitive-services |
| 6 | +author: IEvangelist |
| 7 | +manager: nitinme |
| 8 | +ms.service: cognitive-services |
| 9 | +ms.subservice: speech-service |
| 10 | +ms.topic: conceptual |
| 11 | +ms.date: 01/30/2020 |
| 12 | +ms.author: dapine |
| 13 | +ms.custom: seodec18 |
| 14 | +--- |
| 15 | + |
| 16 | +# Ship an application |
| 17 | + |
| 18 | +Observe the [Speech SDK license](https://aka.ms/csspeech/license201809), as well as the [third-party software notices](https://csspeechstorage.blob.core.windows.net/drop/1.0.0/ThirdPartyNotices.html) when you distribute the Azure Cognitive Services Speech SDK. Also, review the [Microsoft Privacy Statement](https://aka.ms/csspeech/privacy). |
| 19 | + |
| 20 | +Depending on the platform, different dependencies exist to execute your application. |
| 21 | + |
| 22 | +## Windows |
| 23 | + |
| 24 | +The Cognitive Services Speech SDK is tested on Windows 10 and on Windows Server 2016. |
| 25 | + |
| 26 | +The Cognitive Services Speech SDK requires the [Microsoft Visual C++ Redistributable for Visual Studio 2019](https://support.microsoft.com/help/2977003/the-latest-supported-visual-c-downloads) on the system. You can download installers for the latest version of the `Microsoft Visual C++ Redistributable for Visual Studio 2019` here: |
| 27 | + |
| 28 | +- [Win32](https://aka.ms/vs/16/release/vc_redist.x86.exe) |
| 29 | +- [x64](https://aka.ms/vs/16/release/vc_redist.x64.exe) |
| 30 | + |
| 31 | +If your application uses managed code, the `.NET Framework 4.6.1` or later is required on the target machine. |
| 32 | + |
| 33 | +For microphone input, the Media Foundation libraries must be installed. These libraries are part of Windows 10 and Windows Server 2016. It's possible to use the Speech SDK without these libraries, as long as a microphone isn't used as the audio input device. |
| 34 | + |
| 35 | +The required Speech SDK files can be deployed in the same directory as your application. This way your application can directly access the libraries. Make sure you select the correct version (Win32/x64) that matches your application. |
| 36 | + |
| 37 | +| Name | Function | |
| 38 | +| :--- | :------- | |
| 39 | +| `Microsoft.CognitiveServices.Speech.core.dll` | Core SDK, required for native and managed deployment | |
| 40 | +| `Microsoft.CognitiveServices.Speech.csharp.dll` | Required for managed deployment | |
| 41 | + |
| 42 | +> [!NOTE] |
| 43 | +> Starting with the release 1.3.0 the file `Microsoft.CognitiveServices.Speech.csharp.bindings.dll` (shipped in previous releases) isn't needed anymore. The functionality is now integrated in the core SDK. |
| 44 | +
|
| 45 | +> [!NOTE] |
| 46 | +> For the Windows Forms App (.NET Framework) C# project, make sure the libraries are included in your project's deployment settings. You can check this under `Properties -> Publish Section`. Click the `Application Files` button and find corresponding libraries from the scroll down list. Make sure the value is set to `Included`. Visual Studio will include the file when project is published/deployed. |
| 47 | +
|
| 48 | +## Linux |
| 49 | + |
| 50 | +The Speech SDK currently supports the Ubuntu 16.04, Ubuntu 18.04, and Debian 9 distributions. |
| 51 | +For a native application, you need to ship the Speech SDK library, `libMicrosoft.CognitiveServices.Speech.core.so`. |
| 52 | +Make sure you select the version (x86, x64) that matches your application. Depending on the Linux version, you also might need to include the following dependencies: |
| 53 | + |
| 54 | +- The shared libraries of the GNU C library (including the POSIX Threads Programming library, `libpthreads`) |
| 55 | +- The OpenSSL library (`libssl.so.1.0.0` or `libssl.so.1.0.2`) |
| 56 | +- The shared library for ALSA applications (`libasound.so.2`) |
| 57 | + |
| 58 | +On Ubuntu, the GNU C libraries should already be installed by default. The last three can be installed by using these commands: |
| 59 | + |
| 60 | +```sh |
| 61 | +sudo apt-get update |
| 62 | +sudo apt-get install libssl1.0.0 libasound2 |
| 63 | +``` |
| 64 | + |
| 65 | +On Debian 9 install these packages: |
| 66 | + |
| 67 | +```sh |
| 68 | +sudo apt-get update |
| 69 | +sudo apt-get install libssl1.0.2 libasound2 |
| 70 | +``` |
| 71 | + |
| 72 | +## Next steps |
| 73 | + |
| 74 | +- [Get your Speech trial subscription](https://azure.microsoft.com/try/cognitive-services/) |
| 75 | +- [See how to recognize speech in C#](~/articles/cognitive-services/Speech-Service/quickstarts/speech-to-text-from-microphone.md?pivots=programming-language-csharp&tabs=dotnet) |
0 commit comments