Мне нужно разработать простую 64-битную программу C++ Text to Speech (TTS) для работы в Windows 7 и Vista. Мой первый шаг - попытаться скомпилировать программу из учебника SAPI 5.4. Но я не могу найти необходимые пакеты SAPI 5.4 на моей машине Windows 7. Я обыскал Интернет, и для Windows XP доступен только SAPI 5.1.
Microsoft Speech Technology page утверждает, что «Натив-код API для программирования речи двигателей, включенных в Windows, 7.» SAPI 5.4 tutorial имеет следующую инструкцию:Где я могу скачать Microsoft Speech SDK 5.4
Step 1. Setting up the Project:
…
Code Listing 1
Next add the paths to SAPI.h and SAPI.lib files. The paths shown are for a
standard SAPI SDK install. If the compiler is unable to locate either file,
or if a nonstandard install was performed, use the new path to the files.
Change the project settings to reflect the paths. Using the Project->Settings.
menu item, set the SAPI.h path. Click the C/C++ tab and select Preprocessor
from the Category drop-down list. Enter the following in the "Additional
include directories": C:\Program Files\Microsoft Speech SDK 5.4\Include.
To set the SAPI.lib path:
1. Select the Link tab from the Same Settings dialog box.
2. Choose Input from the Category drop-down list.
3. Add the following path to the "Additional library path":
C:\Program Files\Microsoft Speech SDK 5.4\Lib\i386.
4. Also add "sapi.lib" to the "Object/library modules" line. Be sure that the
name is separated by a space.
…
В 2 папки из приведенной выше инструкции не существует на моем Windows 7 ПК. Я установил Windows SDK for Windows 7 and .NET Framework 4, но этих двух папок все еще нет.
Что я должен сделать, чтобы установить SAPI 5.4 на моем компьютере с Windows 7 и скомпилировать программу из вышеупомянутого учебника?
Большое вам спасибо за помощь!
David