Building the SDK

To build the example programs, see the instructions below:

Windows

Install premake5 from https://premake.github.io/download.html

Generate a visual studio solution by running premake at the root directory of the SDK:

$ premake5 vs2019

Open the generated solution file under the “visualstudio” directory and build all.

Mac

Make sure the XCode command line tools are installed:

$ xcode-select --install

Install premake5 from https://premake.github.io/download.html

Generate makefiles by running premake at the root directory of the SDK:

$ premake5 gmake

Build the SDK:

$ make

Run the unit tests:

$ ./bin/test

Linux

Make sure the build essential package is installed:

$ sudo apt install build-essential

Install premake5 from https://premake.github.io/download.html

Generate makefiles by running premake at the root directory of the SDK:

$ premake5 gmake

Build the SDK:

$ make

Run the unit tests:

$ ./bin/test