It compiles good, but it seems it doesn't work with xpadder.
I have changed in Makefile this line
# DIRECTINPUT = 7
DIRECTINPUT = 7 (WITHOUT #)
and in file src/osd/windows/input.cpp this line
#define FORCE_DIRECTINPUT 0
#define FORCE_DIRECTINPUT 1 (WITH #)
then i did:
make TARGET=hbmame OSD=winui
Maybe i'm doing something wrong as is the first time i compile in windows. (I do it with official mame tools as it sais in hbmame homepage.
Thanks in advance!