Using the C++ Library

Get the Library

First, download the latest version of the client library from Github. If you prefer, you can also build the library yourself.

Regardless of what you chose, you should have two folders: include and libs. As their name suggest, the former contains the library’s header files, and the latter the static binaries.

Add the Library to Your Project

  • Create / open your project.

  • Create a new folder named stormancer next to your VS project file.

  • Copy the lib and include folders from the library’s package into the stormancer folder.

  • Open the project properties for your project.

  • Select All Configurations and All Platforms on top of the property window.

  • Add the following line to your Additional include directories

(Configuration Properties > C/C++ > General > Additional include directories)


  • On Win32 platforms, Stormancer needs NOMINMAX to be defined. The easiest way is to add it to your preprocessor definitions:

(Configuration Properties > C/C++ > Preprocessor > Preprocessor Definitions)

  • Add the following line to your Additional library directories

(Configuration Properties > Linker > General > Additional library directories)


  • Add the following line to your Additional dependencies

(Configuration Properties > Linker > Input > Additional dependencies)


  • Build your project.