|
Joined: Dec 2012
Posts: 247 Likes: 1
Senior Member
|
Senior Member
Joined: Dec 2012
Posts: 247 Likes: 1 |
Compiling 3rdparty/expat/lib/xmlparse.c...
Compiling src/osd/strconv.c...
Compiling src/osd/modules/render/drawd3d.c...
process_begin: CreateProcess(NULL, C:\Users\Logan\Documents\MAME-MESS\mingw64-w6
4\x86_64-w64-mingw32/bin/x86_64-w64-mingw32-g++ -MMD -MP -DX64_WINDOWS_ABI -DPTR
64=1 -DNDEBUG -DCRLF=3 -DLSB_FIRST -DFLAC__NO_DLL -DNATIVE_DRC=drcbe_x64 -DLUA_C
OMPAT_APIINTCASTS -DWIN32 -m64 --pipe -Wno-deprecated-declarations -O3 -fno-stri
ct-aliasing -Werror -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-sec
urity -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-unused-result -Wno-
narrowing -Wno-attributes -Wno-unused-variable -Wno-array-bounds -m64 "-DINLINE=
static inline" -x c++ -std=gnu++98 -Woverloaded-virtual -o ../../../../win64_min
gw-gcc/obj/x64/Release/3rdparty/expat/lib/xmlparse.o -MF ../../../../win64_mingw
-gcc/obj/x64/Release/3rdparty/expat/lib/xmlparse.d -c ../../../../../3rdparty/ex
pat/lib/xmlparse.c, ...) failed.
make (e=2): The system cannot find the file specified.
expat.make:253: recipe for target '../../../../win64_mingw-gcc/obj/x64/Release/3
rdparty/expat/lib/xmlparse.o' failed
make[2]: *** [../../../../win64_mingw-gcc/obj/x64/Release/3rdparty/expat/lib/xml
parse.o] Error 2
process_begin: CreateProcess(NULL, C:\Users\Logan\Documents\MAME-MESS\mingw64-w6
4\x86_64-w64-mingw32/bin/x86_64-w64-mingw32-g++ -MMD -MP -DX64_WINDOWS_ABI -DPTR
64=1 -DNDEBUG -DCRLF=3 -DLSB_FIRST -DFLAC__NO_DLL -DNATIVE_DRC=drcbe_x64 -DLUA_C
OMPAT_APIINTCASTS -DWIN32 -DUNICODE -D_UNICODE -DOSD_WINDOWS -DUSE_SDL=0 -DUSE_Q
TDEBUG=0 -DUSE_OPENGL=1 -DUSE_DISPATCH_GL=1 -DDIRECTINPUT_VERSION=0x0800 -DSDLMA
ME_NET_PCAP -Dmain=utf8_main -I../../../../../src/emu -I../../../../../src/osd -
I../../../../../src/lib -I../../../../../src/lib/util -I../../../../../src/osd/w
indows -I../../../../../src/lib/winpcap -m64 --pipe -Wno-deprecated-declarations
-O3 -fno-strict-aliasing -Werror -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 -include C
:/Users/Logan/Documents/MAME-MESS/mame/src/osd/windows/winprefix.h -o ../../../.
./win64_mingw-gcc/obj/x64/Release/ocore_windows/src/osd/strconv.o -MF ../../../.
./win64_mingw-gcc/obj/x64/Release/ocore_windows/src/osd/strconv.d -c ../../../..
/../src/osd/strconv.c, ...) failed.
process_begin: CreateProcess(NULL, C:\Users\Logan\Documents\MAME-MESS\mingw64-w6
4\x86_64-w64-mingw32/bin/x86_64-w64-mingw32-g++ -MMD -MP -DX64_WINDOWS_ABI -DPTR
64=1 -DNDEBUG -DCRLF=3 -DLSB_FIRST -DFLAC__NO_DLL -DNATIVE_DRC=drcbe_x64 -DLUA_C
OMPAT_APIINTCASTS -DWIN32 -DUNICODE -D_UNICODE -DOSD_WINDOWS -DUSE_SDL=0 -DUSE_Q
TDEBUG=0 -DUSE_OPENGL=1 -DUSE_DISPATCH_GL=1 -DDIRECTINPUT_VERSION=0x0800 -DSDLMA
ME_NET_PCAP -Dmain=utf8_main -DDIRECT3D_VERSION=0x0900 -I../../../../../src/emu
-I../../../../../src/osd -I../../../../../src/lib -I../../../../../src/lib/util
-I../../../../../src/osd/modules/render -I../../../../../3rdparty -I../../../../
../3rdparty/winpcap/Include -I../../../../../3rdparty/bgfx/include -I../../../..
/../3rdparty/bx/include -I../../../../../src/osd/windows -m64 --pipe -Wno-deprec
ated-declarations -O3 -fno-strict-aliasing -Werror -Wno-unknown-pragmas -Wall -W
cast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conv
ersion -Wno-unused-result -Wno-narrowing -Wno-attributes -Wno-unused-variable -W
no-array-bounds -m64 "-DINLINE=static inline" -x c++ -std=gnu++98 -Woverloaded-v
irtual -include C:/Users/Logan/Documents/MAME-MESS/mame/src/osd/windows/winprefi
x.h -o ../../../../win64_mingw-gcc/obj/x64/Release/osd_windows/src/osd/modules/r
ender/drawd3d.o -MF ../../../../win64_mingw-gcc/obj/x64/Release/osd_windows/src/
osd/modules/render/drawd3d.d -c ../../../../../src/osd/modules/render/drawd3d.c,
...) failed.
Makefile:22: recipe for target 'expat' failed
make (e=2): The system cannot find the file specified.
make[1]: *** [expat] Error 2
make (e=2): The system cannot find the file specified.
make[1]: *** Waiting for unfinished jobs....
ocore_windows.make:323: recipe for target '../../../../win64_mingw-gcc/obj/x64/R
elease/ocore_windows/src/osd/strconv.o' failed
osd_windows.make:533: recipe for target '../../../../win64_mingw-gcc/obj/x64/Rel
ease/osd_windows/src/osd/modules/render/drawd3d.o' failed
make[2]: *** [../../../../win64_mingw-gcc/obj/x64/Release/ocore_windows/src/osd/
strconv.o] Error 2
make[2]: *** [../../../../win64_mingw-gcc/obj/x64/Release/osd_windows/src/osd/mo
dules/render/drawd3d.o] Error 2
Makefile:19: recipe for target 'ocore_windows' failed
make[1]: *** [ocore_windows] Error 2
Makefile:16: recipe for target 'osd_windows' failed
make[1]: *** [osd_windows] Error 2
makefile:452: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2
This is using a batch file like
set PATH=%~dp0bin;%~dp0opt\bin;%~dp0x86_64-w64-mingw32\bin;%~dp0Qt\bin;%PATH%
set QT_PLUGIN_PATH=%~dp0Qt\plugins
SET MINGW64=%~dp0x86_64-w64-mingw32
make clean
make -j3 SHELL=cmd TARGET=mame USE_NETWORK=1 avx=1
make -j3 SHELL=cmd TARGET=mess USE_NETWORK=1 avx=1
Last edited by LoganB; 03/30/15 05:46 PM.
|
|
|
|
Joined: Aug 2004
Posts: 1,458 Likes: 9
Very Senior Member
|
Very Senior Member
Joined: Aug 2004
Posts: 1,458 Likes: 9 |
I see you're setting the 64-bit variable MINGW64 to 32-bit tools. Read my post above.
|
|
|
|
Joined: Aug 2012
Posts: 74
Member
|
Member
Joined: Aug 2012
Posts: 74 |
I just managed to build MESS with the new tools. However, when I try to build the tools I get this error: make: *** No rule to make target 'tools'. Stop. Did something change with the new build tools? This is just invoking "make tools" on the commandline by the way.
|
|
|
|
Joined: Dec 2006
Posts: 534
Senior Member
|
Senior Member
Joined: Dec 2006
Posts: 534 |
I just managed to build MESS with the new tools. However, when I try to build the tools I get this error: make: *** No rule to make target 'tools'. Stop. Did something change with the new build tools? This is just invoking "make tools" on the commandline by the way. Try 'make TOOLS=1'
- Barry Rodewald
|
|
|
|
Joined: Aug 2011
Posts: 499
Senior Member
|
Senior Member
Joined: Aug 2011
Posts: 499 |
I'm wondering what the make parameter is to compile MAME/MESS using Direct3D instead of OpenGL as the default? I was hoping to regain some speed back at the expense of the reliability OpenGL provides. Any help would be great.
|
|
|
|
Joined: May 2008
Posts: 4,930 Likes: 24
Very Senior Member
|
Very Senior Member
Joined: May 2008
Posts: 4,930 Likes: 24 |
AFAICT, neither Direct3D (d3d) nor OpenGL (opengl) are defaults for -video in the Windows OSD. The default is "auto", whatever that may be (OpenGL?). However, you can simply decide which one to use on the command line (-video d3d), or through mame.ini/mess.ini or a front-end.
A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
|
|
|
|
Joined: Aug 2012
Posts: 74
Member
|
Member
Joined: Aug 2012
Posts: 74 |
Again I am having trouble compiling MESS. I start the build with: 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. 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?
|
|
|
|
Joined: Aug 2012
Posts: 74
Member
|
Member
Joined: Aug 2012
Posts: 74 |
Bump
Last edited by arcadefan; 04/08/15 07:26 PM.
|
|
|
|
Joined: Jun 2001
Posts: 76 Likes: 8
Member
|
Member
Joined: Jun 2001
Posts: 76 Likes: 8 |
Be sure you:
a) have an updated scripts directory; b) have SET your mingw path properly.
If you think you have both but still have problems, try using cmder instead of the prompt. It might help.
|
|
|
|
Joined: Apr 2012
Posts: 193
Senior Member
|
Senior Member
Joined: Apr 2012
Posts: 193 |
How am i supposed to build "vmessd.exe" under Windows (with new buildtools)? I tried DEBUG=1 SYMBOLS=1 to no avail... I also tried to execute "vcvarsall.bat" before. Is it automagic? It seems my make options (above) are ignored (and ´mess.exe´ gets built)  The old DirectX SDK 2010 is obsolete / unneccessary under VS2013, right? Thanks for answering! (Win 7 64 bit + VS2013)
Last edited by Bavarese; 04/13/15 02:07 PM.
|
|
|
Forums9
Topics9,355
Posts122,423
Members5,082
|
Most Online1,283 Dec 21st, 2022
|
|
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!
|
|
|
|