That's the .bat that I used:
Code:
set MINGW_HOME=c:\mingw64-w64\bin\
set QT_PLUGIN_PATH=c:\mingw64-w64\Qt\plugins\
set QT_BIN_PATH=c:\mingw64-w64\Qt\Bin\
set x86_64-w64-mingw32=c:\mingw64-w64\x86_64-w64-mingw32\bin\
set TEMP=c:\temp\
set TMP=c:\temp\
set PATH=%MINGW_HOME%;%QT_PLUGIN_PATH%;%QT_BIN_PATH%;%x86_64-w64-mingw32%;%TEMP%;%TMP%
set PROMPT=QMC2_Env-%PROMPT%
echo QMC2 Enviroment Ready!                           
echo To Build QMC2-MAME type:                           
echo make
make clean MINGW=1
make EMULATOR=mame WIP=1 MINGW=1 -j5
PAUSE

note that my tools to building MAME are in root "c:\mingw64-w64"

I have this errors in output: