Okay, switched to the 64-bit version, that worked. It might have been picking up the "wrong" DLLs from my PATH since they've foolishly decided to put its dependencies in a different folder (mingw/bin) and then ask users to manually add that folder to their PATH.