Is this the right forum for MAME compilation help? mamedev.org's developer forum is empty other than the version announcements and the support forum links here...

Same as Dullaron I can't compile 0.167.

D:\src\buildtools\mame>make TOOLS=1
Compiling 3rdparty/bgfx/src/renderer_d3d12.cpp...
In file included from ../../../../../3rdparty/bgfx/3rdparty/dxsdk/include/dxgi.h:143:0,
from ../../../../../3rdparty/bgfx/3rdparty/dxsdk/include/d3d12.h:168,
from ../../../../../3rdparty/bgfx/src/renderer_d3d12.h:12,
from ../../../../../3rdparty/bgfx/src/renderer_d3d12.cpp:9:
../../../../../3rdparty/bgfx/3rdparty/dxsdk/include/dxgitype.h:21:0: error: "DXGI_ERROR_INVALID_CALL" redefined
[-Werror]
# define DXGI_ERROR_INVALID_CALL MAKE_DXGI_HRESULT(1)
^
In file included from D:/src/buildtools/vendor/mingw64/x86_64-w64-mingw32/include/winbase.h:2377:0,
from D:/src/buildtools/vendor/mingw64/x86_64-w64-mingw32/include/windows.h:70,
from ../../../../../3rdparty/bx/include/bx/os.h:13,
from ../../../../../3rdparty/bgfx/src/bgfx_p.h:109,
from ../../../../../3rdparty/bgfx/src/renderer_d3d12.cpp:6:
D:/src/buildtools/vendor/mingw64/x86_64-w64-mingw32/include/winerror.h:3446:0: note: this is the location of th
e previous definition

...snip about 40 additional redefinition notes

In file included from D:/src/buildtools/vendor/mingw64/x86_64-w64-mingw32/include/winbase.h:2377:0,
from D:/src/buildtools/vendor/mingw64/x86_64-w64-mingw32/include/windows.h:70,
from ../../../../../3rdparty/bx/include/bx/os.h:13,
from ../../../../../3rdparty/bgfx/src/bgfx_p.h:109,
from ../../../../../3rdparty/bgfx/src/renderer_d3d12.cpp:6:
D:/src/buildtools/vendor/mingw64/x86_64-w64-mingw32/include/winerror.h:3460:0: note: this is the location of th
e previous definition
#define DXGI_ERROR_REMOTE_OUTOFMEMORY _HRESULT_TYPEDEF_(0x887A0024)
^
cc1plus.exe: all warnings being treated as errors
bgfx.make:434: recipe for target '../../../../mingw-gcc/obj/x64/Release/3rdparty/bgfx/src/renderer_d3d12.o' fai
led
make[2]: *** [../../../../mingw-gcc/obj/x64/Release/3rdparty/bgfx/src/renderer_d3d12.o] Error 1
makefile:70: recipe for target 'bgfx' failed
make[1]: *** [bgfx] Error 2
makefile:764: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2

D:\src\buildtools\mame>