Wrong runtime behavior (crashes, etc.)

  • Make sure your header files and the library have not gotten out of sync. This could happen by accident when updating the library in your project.

    If the headers and library are out of sync, a warning log will be displayed when calling Stormancer::IClient::create(). Look for this log in your application’s output. In this case, the easiest solution is to delete the stormancer library and header files, and copy them again from a known working release package.

    Note that header/library version mismatch can optionally be detected at link time, causing a linker error in case there is a mismatch. To enable this behavior, add the macro STORM_CHECK_VERSION_LINKTIME to your project’s preprocessor definitions.