There appears to be a bug with mingw where including the regular C inttypes.h won't work; instead you have to use the 'cinttypes' C++ version.
@@ -15,7 +15,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
******************************************************************************/
-#include <inttypes.h>
+#include <cinttypes>
#include <util/base.h>
#include <util/platform.h>
#include <graphics/matrix3.h>