| - [Audio Output Configuration](#audio-output-configuration) | - [Audio Output Configuration](#audio-output-configuration) | ||||
| - [eSpeak NG Feature Configuration](#espeak-ng-feature-configuration) | - [eSpeak NG Feature Configuration](#espeak-ng-feature-configuration) | ||||
| - [Extended Dictionary Configuration](#extended-dictionary-configuration) | - [Extended Dictionary Configuration](#extended-dictionary-configuration) | ||||
| - [Cross-Compiling For Windows](#cross-compiling-for-windows) | |||||
| - [Compiling on Windows](#compiling-on-windows) | |||||
| - [Testing](#testing) | - [Testing](#testing) | ||||
| - [Installing](#installing) | - [Installing](#installing) | ||||
| - [Documentation](#documentation) | - [Documentation](#documentation) | ||||
| |---------------|--------------------------------------| | |---------------|--------------------------------------| | ||||
| | kramdown | `sudo apt-get install ruby-kramdown` | | | kramdown | `sudo apt-get install ruby-kramdown` | | ||||
| Cross-compiling for windows: | |||||
| | Dependency | Install | | |||||
| |-------------------------|---------------------------------------------| | |||||
| | 32-bit Windows compiler | `sudo apt-get install mingw-w64-i686-dev` | | |||||
| | 64-bit Windows compiler | `sudo apt-get install mingw-w64-x86-64-dev` | | |||||
| ## Building | ## Building | ||||
| The first time you build eSpeak NG, or when you want to change how to build | The first time you build eSpeak NG, or when you want to change how to build | ||||
| provide better coverage for those languages, while increasing the resulting | provide better coverage for those languages, while increasing the resulting | ||||
| dictionary size. | dictionary size. | ||||
| ### Cross-Compiling For Windows | |||||
| To prepare the build, run: | |||||
| ./autogen.sh | |||||
| export ac_cv_func_realloc_0_nonnull=yes | |||||
| export ac_cv_func_malloc_0_nonnull=yes | |||||
| ## Compiling on Windows | |||||
| To build the 32-bit Windows executable, run: | |||||
| __NOTE:__ This is currently experimental. It does not build the voice data, and | |||||
| may contain runtime errors and missing functionality. | |||||
| ./configure --host=i686-w64-mingw32 --with-mbrola=no --with-async=no | |||||
| make | |||||
| To build the 64-bit Windows executable, run: | |||||
| ./configure --host=x86_64-w64-mingw32 --with-mbrola=no --with-async=no | |||||
| make | |||||
| To build eSpeak NG on Windows, you will need a copy of Visual Studio, such as | |||||
| the Microsoft Visual Studio Community 2015 edition. Additionally, you will need | |||||
| the Windows 8.1 SDK. | |||||
| __NOTE:__ This currently fails to build `espeak-ng.exe`, but does build | |||||
| `speak-ng.exe`. | |||||
| You can then open and build the `src/windows/espeak-ng.sln` solution in Visual | |||||
| Studio. | |||||
| ## Testing | ## Testing | ||||