Again I am having trouble compiling MESS.

I start the build with:

Code
make -j5 TARGET=mess NOWERROR=1 USE_OPENGL=1 avx=1 USE_NETWORK=1 TOOLS=1

Near the beginning of the process it prints the following errors and stops.

Code
Compiling src/osd/strconv.c...
process_begin: CreateProcess(NULL, c:\mingw\ming64-w64/bin/x86_64-w64-mingw32-g+
+ -MMD -MP -DX64_WINDOWS_ABI -DPTR64=1 -DNDEBUG -DCRLF=3 -DLSB_FIRST -DFLAC__NO_
DLL -DNATIVE_DRC=drcbe_x64 -DLUA_COMPAT_APIINTCASTS -DWIN32 -DOSD_WINDOWS -D_WIN
32_WINNT=0x0501 -DUNICODE -D_UNICODE -Dmain=utf8_main -DUSE_NETWORK -DOSD_NET_US
E_PCAP -DUSE_SDL=0 -I../../../../../src/emu -I../../../../../src/osd -I../../../
../../src/lib -I../../../../../src/lib/util -I../../../../../src/osd/windows -I.
./../../../../src/lib/winpcap -m64 --pipe -Wno-deprecated-declarations -O3 -fno-
strict-aliasing -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-securit
y -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-unused-result -Wno-narr
owing -Wno-attributes -Wno-unused-variable -Wno-array-bounds -m64 "-DINLINE=stat
ic inline" -x c++ -std=gnu++98 -Woverloaded-virtual -o ../../../../win64_mingw-g
cc/obj/x64/Release/ocore_windows/src/osd/strconv.o -MF ../../../../win64_mingw-g
cc/obj/x64/Release/ocore_windows/src/osd/strconv.d -c ../../../../../src/osd/str
conv.c, ...) failed.
make (e=2): The system cannot find the file specified.
elease/ocore_windows/src/osd/strconv.o' failed
make[2]: *** [../../../../win64_
mingw-gcc/obj/x64/Release/ocore_windows/src/osd/strconv.o] Error 2
make[2]: *** Waiting for unfinished jobs....
Compiling src/osd/windows/main.c...
Compiling src/osd/osdnet.c...
process_begin: CreateProcess(NULL, c:\mingw\ming64-w64/bin/x86_64-w64-mingw32-g+
+ -MMD -MP -DX64_WINDOWS_ABI -DPTR64=1 -DNDEBUG -DCRLF=3 -DLSB_FIRST -DFLAC__NO_
DLL -DNATIVE_DRC=drcbe_x64 -DLUA_COMPAT_APIINTCASTS -DWIN32 -DOSD_WINDOWS -D_WIN
32_WINNT=0x0501 -DUNICODE -D_UNICODE -Dmain=utf8_main -DUSE_NETWORK -DOSD_NET_US
E_PCAP -DUSE_SDL=0 -DUSE_OPENGL=1 -DUSE_BGFX -DUSE_QTDEBUG=0 -DDIRECT3D_VERSION=
0x0900 -DDIRECTINPUT_VERSION=0x0800 -I../../../../../3rdparty/winpcap/Include -I
../../../../../3rdparty/bgfx/include -I../../../../../3rdparty/bx/include -I../.
./../../../src/emu -I../../../../../src/osd -I../../../../../src/lib -I../../../
../../src/lib/util -I../../../../../src/osd/modules/render -I../../../../../3rdp
arty -I../../../../../src/osd/windows -m64 --pipe -Wno-deprecated-declarations -
O3 -fno-strict-aliasing -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat
-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-unused-result -
Wno-narrowing -Wno-attributes -Wno-unused-variable -Wno-array-bounds -m64 "-DINL
INE=static inline" -x c++ -std=gnu++98 -Woverloaded-virtual -o ../../../../win64
_mingw-gcc/obj/x64/Release/osd_windows/src/osd/osdnet.o -MF ../../../../win64_mi
ngw-gcc/obj/x64/Release/osd_windows/src/osd/osdnet.d -c ../../../../../src/osd/o
sdnet.c, ...) failed.
process_begin: CreateProcess(NULL, c:\mingw\ming64-w64/bin/x86_64-w64-mingw32-g+
+ -MMD -MP -DX64_WINDOWS_ABI -DPTR64=1 -DNDEBUG -DCRLF=3 -DLSB_FIRST -DFLAC__NO_
DLL -DNATIVE_DRC=drcbe_x64 -DLUA_COMPAT_APIINTCASTS -DWIN32 -DOSD_WINDOWS -D_WIN
32_WINNT=0x0501 -DUNICODE -D_UNICODE -Dmain=utf8_main -DUSE_NETWORK -DOSD_NET_US
E_PCAP -DUSE_SDL=0 -I../../../../../src/emu -I../../../../../src/osd -I../../../
../../src/lib -I../../../../../src/lib/util -I../../../../../src/osd/windows -I.
./../../../../src/lib/winpcap -m64 --pipe -Wno-deprecated-declarations -O3 -fno-
strict-aliasing -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-securit
y -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-unused-result -Wno-narr
owing -Wno-attributes -Wno-unused-variable -Wno-array-bounds -m64 "-DINLINE=stat
ic inline" -x c++ -std=gnu++98 -Woverloaded-virtual -o ../../../../win64_mingw-g
cc/obj/x64/Release/ocore_windows/src/osd/windows/main.o -MF ../../../../win64_mi
ngw-gcc/obj/x64/Release/ocore_windows/src/osd/windows/main.d -c ../../../../../s
rc/osd/windows/main.c, ...) failed.
Compiling src/lib/util/delegate.c...
make (e=2): The system cannot find the file specified.
make (e=2): The system cannot find the file specified.
ocore_windows.make:331: recipe for target '../../../../win64_mingw-gcc/obj/x64/R
elease/ocore_windows/src/osd/windows/main.o' failed
osd_windows.make:540: recipe for target '../../../../win64_mingw-gcc/obj/x64/Rel
ease/osd_windows/src/osd/osdnet.o' failed
make[2]: *** [../../../../win64_mingw-gcc/obj/x64/Release/ocore_windows/src/osd/
windows/main.o] Error 2
make[2]: *** [../../../../win64_mingw-gcc/obj/x64/Release/osd_windows/src/osd/os
dnet.o] Error 2
makefile:19: recipe for target 'ocore_windows' failed
make[1]: *** [ocore_windows] Error 2
make[1]: *** Waiting for unfinished jobs....
makefile:16: recipe for target 'osd_windows' failed
make[1]: *** [osd_windows] Error 2
process_begin: CreateProcess(NULL, c:\mingw\ming64-w64/bin/x86_64-w64-mingw32-g+
+ -MMD -MP -DX64_WINDOWS_ABI -DPTR64=1 -DNDEBUG -DCRLF=3 -DLSB_FIRST -DFLAC__NO_
DLL -DNATIVE_DRC=drcbe_x64 -DLUA_COMPAT_APIINTCASTS -DWIN32 -I../../../../../src
/osd -I../../../../../src/lib/util -I../../../../../3rdparty -I../../../../../3r
dparty/expat/lib -I../../../../../3rdparty/zlib -m64 --pipe -Wno-deprecated-decl
arations -O3 -fno-strict-aliasing -Wno-unknown-pragmas -Wall -Wcast-align -Wunde
f -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-unuse
d-result -Wno-narrowing -Wno-attributes -Wno-unused-variable -Wno-array-bounds -
m64 "-DINLINE=static inline" -x c++ -std=gnu++98 -Woverloaded-virtual -o ../../.
./../win64_mingw-gcc/obj/x64/Release/src/lib/util/delegate.o -MF ../../../../win
64_mingw-gcc/obj/x64/Release/src/lib/util/delegate.d -c ../../../../../src/lib/u
til/delegate.c, ...) failed.
make (e=2): The system cannot find the file specified.
utils.make:491: recipe for target '../../../../win64_mingw-gcc/obj/x64/Release/s
rc/lib/util/delegate.o' failed
make[2]: *** [../../../../win64_mingw-gcc/obj/x64/Release/src/lib/util/delegate.
o] Error 2
makefile:25: recipe for target 'utils' failed
make[1]: *** [utils] Error 2
Compiling src/lib/formats/flopimg.c...
process_begin: CreateProcess(NULL, c:\mingw\ming64-w64/bin/x86_64-w64-mingw32-g+
+ -MMD -MP -DX64_WINDOWS_ABI -DPTR64=1 -DNDEBUG -DCRLF=3 -DLSB_FIRST -DFLAC__NO_
DLL -DNATIVE_DRC=drcbe_x64 -DLUA_COMPAT_APIINTCASTS -DWIN32 -I../../../../../src
/osd -I../../../../../src/emu -I../../../../../src/lib -I../../../../../src/lib/
util -I../../../../../3rdparty -I../../../../../3rdparty/zlib -m64 --pipe -Wno-d
eprecated-declarations -O3 -fno-strict-aliasing -Wno-unknown-pragmas -Wall -Wcas
t-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-convers
ion -Wno-unused-result -Wno-narrowing -Wno-attributes -Wno-unused-variable -Wno-
array-bounds -m64 "-DINLINE=static inline" -x c++ -std=gnu++98 -Woverloaded-virt
ual -o ../../../../win64_mingw-gcc/obj/x64/Release/src/lib/formats/flopimg.o -MF
 ../../../../win64_mingw-gcc/obj/x64/Release/src/lib/formats/flopimg.d -c ../../
../../../src/lib/formats/flopimg.c, ...) failed.
make (e=2): The system cannot find the file specified.
formats.make:1092: recipe for target '../../../../win64_mingw-gcc/obj/x64/Releas
e/src/lib/formats/flopimg.o' failed
make[2]: *** [../../../../win64_mingw-gcc/obj/x64/Release/src/lib/formats/flopim
g.o] Error 2
make[2]: *** Waiting for unfinished jobs....
Compiling src/lib/formats/abcfd2_dsk.c...
process_begin: CreateProcess(NULL, c:\mingw\ming64-w64/bin/x86_64-w64-mingw32-g+
+ -MMD -MP -DX64_WINDOWS_ABI -DPTR64=1 -DNDEBUG -DCRLF=3 -DLSB_FIRST -DFLAC__NO_
DLL -DNATIVE_DRC=drcbe_x64 -DLUA_COMPAT_APIINTCASTS -DWIN32 -I../../../../../src
/osd -I../../../../../src/emu -I../../../../../src/lib -I../../../../../src/lib/
util -I../../../../../3rdparty -I../../../../../3rdparty/zlib -m64 --pipe -Wno-d
eprecated-declarations -O3 -fno-strict-aliasing -Wno-unknown-pragmas -Wall -Wcas
t-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-convers
ion -Wno-unused-result -Wno-narrowing -Wno-attributes -Wno-unused-variable -Wno-
array-bounds -m64 "-DINLINE=static inline" -x c++ -std=gnu++98 -Woverloaded-virt
ual -o ../../../../win64_mingw-gcc/obj/x64/Release/src/lib/formats/abcfd2_dsk.o
-MF ../../../../win64_mingw-gcc/obj/x64/Release/src/lib/formats/abcfd2_dsk.d -c
../../../../../src/lib/formats/abcfd2_dsk.c, ...) failed.
make (e=2): The system cannot find the file specified.
formats.make:1120: recipe for target '../../../../win64_mingw-gcc/obj/x64/Releas
e/src/lib/formats/abcfd2_dsk.o' failed
make[2]: *** [../../../../win64_mingw-gcc/obj/x64/Release/src/lib/formats/abcfd2
_dsk.o] Error 2
makefile:28: recipe for target 'formats' failed
make[1]: *** [formats] Error 2
makefile:611: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2

Any ideas?