So there are a few issues with the code (eg. assuming you wanted to package it, it wants write access to the INI file, and it assumes the INI file is in the working folder, etc.)
If you’re running it on x64 it tries to set up some mins and maxs for types that won’t actually work properly, since those type sizes are larger on 64 bit systems.
So essentially what happens is it’ll try to check a value in the prefs (either read in through a file or a default) is between S32_MIN and S32_MAX, S32_MIN is actually a large positive value, and then the prefs file reading will think something has gone wrong and error out for the rest of the values.
So you need to fix the types to use appropriate ones on X64 or fix the type MINs and MAXs so they actually represent correct values.
If you fix the makefile to generate a debug build, the S32 size issue will get caught in asserts.