After installing the following: 1) Visual Studio 2013 Ultimate 2) DirectX SDK 3) MingGW-32 *and* 64 bit versions (to 2 different directories) 4) Latest mame source
I created this batch file which I run from the Visual Studio 2013 | Visual Studio Tools | Developer Command Prompt for Visual Studio 2013 :
set PATH=%PATH%;C:\mingw\mingw64-w32\bin Set PATH=%DXSDK_DIR%Utilities\Bin\x86;%Path% Set Lib=%DXSDK_DIR%Lib\x86;%Lib% Set Include=%DXSDK_DIR%Include;%Include% MAKE MSVC_BUILD=1 DEBUG=1 SYMBOLS=1 DIRECTINPUT=8 DIRECT3D=9
MAME builds with not a complaint but when MAME starts and you need to select a game, lo and behold the keyboard ENTER key does not work. I can't select a game with the keyboard although double clicking a game with the mouse works.