I'm surprised it compiled at all. When the tools were updated last, somewhere it was said to run setup-Python.bat once and setup-Qt.bat once if you are using QT for building a frontend, etc. Then, before you compile, you are supposed to run or call setenv.bat. You don't need PTR=1 because you set the path to the 64-bit compiler and this automatically produces a 64-bit binary. I use EMULATOR=MAMEUI64.exe because that is the way I like it named since all of the letters are short for a title.