Previous Thread
Next Thread
Print Thread
Page 24 of 44 1 2 22 23 24 25 26 43 44
Joined: Jan 2012
Posts: 1,179
Likes: 17
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,179
Likes: 17
Code
Compiling src/osd/modules/sync/work_osd.c...
Compiling src/osd/modules/lib/osdlib_win32.c...
Compiling src/osd/modules/osdmodule.c...
Compiling src/osd/windows/winptty.c...
make: *** No rule to make target 'obj/windows64/lib/zlib/adler32.o', needed by '
obj/windows64/libz.a'.  Stop.
make: *** Waiting for unfinished jobs....

I just downloaded the complete source from GIT via TortoiseSVN, but the compilation grinds to a halt soon after I have started it.


NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Joined: Mar 2001
Posts: 17,215
Likes: 234
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,215
Likes: 234
Get latest and try again.

Joined: Feb 2004
Posts: 2,597
Likes: 300
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,597
Likes: 300
Seriously stop even trying to access the repo with Subversion tools. It's a recipe for pain. Even Visual Studio Express can clone the mamedev/mame repository painlessly.

Joined: Aug 2011
Posts: 499
M
Senior Member
Offline
Senior Member
M
Joined: Aug 2011
Posts: 499
I haven't had a proper internet connection for almost 3 weeks (I moved house), anyway I'm trying to compile the source code the same way I had before, which is using the previous method as opposed to using the new buildtools installer and the error I get is:

Generating m4510 source file...
Generating m6502 source file...
Generating m65c02 source file...
Generating m65ce02 source file...
Generating m6509 source file...
Generating m6510 source file...
Generating n2a03 source file...
Generating r65c02 source file...
Generating m740 source file...
Generating m6809 source file...
Generating hd6309 source file...
Generating konami source file...
Generating TMS57002 source file...
m68kmake.c
Linking build/generated/m68kmake.exe...
Generating M68K source files...

Musashi v4.90 680x0, CPU32, and ColdFire emulator
Copyright Karl Stenerud and the MAME team.

Generated 1972 opcode handlers from 523 primitives
makefile:352: *** MINGW64 is not set. Stop.

MingW64 was set before, so I don't know why it's not set any more. My set path looks like this:

set path=C:\mingw\mingw64-w64\bin;C:\mingw\mingw64-w64\opt\bin;C:\mingw\mingw64-w64\Qt\bin;

I suspect I need to add more paths? The set paths above are the ones listed on the MAME Dev website.

Any help would be great.

Joined: Dec 2010
Posts: 46
D
Member
Offline
Member
D
Joined: Dec 2010
Posts: 46
I was told to add
set MINGW64=c:\mingw\ming64-w64
before the paths

It works for me in windows 7

Joined: Aug 2011
Posts: 499
M
Senior Member
Offline
Senior Member
M
Joined: Aug 2011
Posts: 499
Thanks for that, getting a bit further now, but still no luck in compiling. Now I'm getting:

Generating ../build/projects/mess/gmake-mingw64-gcc/yamaha.make...
Generating ../build/projects/mess/gmake-mingw64-gcc/zenith.make...
Generating ../build/projects/mess/gmake-mingw64-gcc/zpa.make...
Generating ../build/projects/mess/gmake-mingw64-gcc/zvt.make...
Generating ../build/projects/mess/gmake-mingw64-gcc/skeleton.make...
Generating ../build/projects/mess/gmake-mingw64-gcc/mess.make...
Done.
Creating ../../../win64_mingw-gcc/bin
Creating ../../../win64_mingw-gcc/bin
Creating ../../../win64_mingw-gcc/bin
Creating ../../../win64_mingw-gcc/bin
Creating ../../../win64_mingw-gcc/bin
Creating ../../../win64_mingw-gcc/bin
Compiling 3rdparty/softfloat/fsincos.c...
Compiling 3rdparty/libjpeg/jaricom.c...
Compiling 3rdparty/zlib/adler32.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 -Dmain=utf8_main -I.
./../../../src/emu -I../../../../src/lib -I../../../../src/lib/util -I../../../.
./3rdparty -I../../../../3rdparty/expat/lib -I../../../../src/osd -I../../../../
src/osd/windows -m64 --pipe -Wno-deprecated-declarations -O3 -fno-strict-aliasin
g -Werror -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwr
ite-strings -Wno-sign-compare -Wno-conversion -Wno-unused-result -Wno-narrowing
-Wno-attributes -Wno-unused-variable -Wno-array-bounds -m64 "-DINLINE=static inl
ine" -x c++ -std=gnu++98 -Woverloaded-virtual -include C:/MAME GitHub/src/osd/wi
ndows/winprefix.h -o ../../../win64_mingw-gcc/obj/x64/Release/3rdparty/softfloat
/fsincos.o -MF ../../../win64_mingw-gcc/obj/x64/Release/3rdparty/softfloat/fsinc
os.d -c ../../../../3rdparty/softfloat/fsincos.c, ...) failed.
Compiling 3rdparty/expat/lib/xmlparse.c...
make (e=2): The system cannot find the file specified.
softfloat.make:259: recipe for target '../../../win64_mingw-gcc/obj/x64/Release/
3rdparty/softfloat/fsincos.o' failed
make[2]: *** [../../../win64_mingw-gcc/obj/x64/Release/3rdparty/softfloat/fsinco
s.o] Error 2
process_begin: CreateProcess(NULL, c:\mingw\ming64-w64/bin/x86_64-w64-mingw32-gc
c -MMD -MP -DX64_WINDOWS_ABI -DPTR64=1 -DNDEBUG -DCRLF=3 -DLSB_FIRST -DFLAC__NO_
DLL -DNATIVE_DRC=drcbe_x64 -DLUA_COMPAT_APIINTCASTS -DWIN32 -Dmain=utf8_main -m6
4 --pipe -Wno-deprecated-declarations -O3 -fno-strict-aliasing -Werror -Wno-unkn
own-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-si
gn-compare -Wno-conversion -Wno-unused-result -Wno-narrowing -Wno-attributes -Wn
o-unused-variable -Wno-array-bounds -m64 -std=gnu89 -Wpointer-arith -Wbad-functi
on-cast -Wstrict-prototypes -include C:/MAME GitHub/src/osd/windows/winprefix.h
-o ../../../win64_mingw-gcc/obj/x64/Release/3rdparty/libjpeg/jaricom.o -MF ../..
/../win64_mingw-gcc/obj/x64/Release/3rdparty/libjpeg/jaricom.d -c ../../../../3r
dparty/libjpeg/jaricom.c, ...) failed.
make (e=2): The system cannot find the file specified.
jpeg.make:517: recipe for target '../../../win64_mingw-gcc/obj/x64/Release/3rdpa
rty/libjpeg/jaricom.o' failed
make[2]: *** [../../../win64_mingw-gcc/obj/x64/Release/3rdparty/libjpeg/jaricom.
o] Error 2
Makefile:22: recipe for target 'softfloat' failed
make[1]: *** [softfloat] Error 2
make[1]: *** Waiting for unfinished jobs....
process_begin: CreateProcess(NULL, c:\mingw\ming64-w64/bin/x86_64-w64-mingw32-gc
c -MMD -MP -DX64_WINDOWS_ABI -DPTR64=1 -DNDEBUG -DCRLF=3 -DLSB_FIRST -DFLAC__NO_
DLL -DNATIVE_DRC=drcbe_x64 -DLUA_COMPAT_APIINTCASTS -DWIN32 -Dmain=utf8_main -DZ
LIB_CONST -m64 --pipe -Wno-deprecated-declarations -O3 -fno-strict-aliasing -Wer
ror -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-st
rings -Wno-sign-compare -Wno-conversion -Wno-unused-result -Wno-narrowing -Wno-a
ttributes -Wno-unused-variable -Wno-array-bounds -m64 -std=gnu89 -Wpointer-arith
-Wbad-function-cast -Wstrict-prototypes -Wno-strict-prototypes -include C:/MAME
GitHub/src/osd/windows/winprefix.h -o ../../../win64_mingw-gcc/obj/x64/Release/
3rdparty/zlib/adler32.o -MF ../../../win64_mingw-gcc/obj/x64/Release/3rdparty/zl
ib/adler32.d -c ../../../../3rdparty/zlib/adler32.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 -Dmain=utf8_main -m6
4 --pipe -Wno-deprecated-declarations -O3 -fno-strict-aliasing -Werror -Wno-unkn
own-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-si
gn-compare -Wno-conversion -Wno-unused-result -Wno-narrowing -Wno-attributes -Wn
o-unused-variable -Wno-array-bounds -m64 "-DINLINE=static inline" -x c++ -std=gn
u++98 -Woverloaded-virtual -include C:/MAME GitHub/src/osd/windows/winprefix.h -
o ../../../win64_mingw-gcc/obj/x64/Release/3rdparty/expat/lib/xmlparse.o -MF ../
../../win64_mingw-gcc/obj/x64/Release/3rdparty/expat/lib/xmlparse.d -c ../../../
../3rdparty/expat/lib/xmlparse.c, ...) failed.
make (e=2): The system cannot find the file specified.
Makefile:25: recipe for target 'jpeg' failed
zlib.make:307: recipe for target '../../../win64_mingw-gcc/obj/x64/Release/3rdpa
rty/zlib/adler32.o' failed
make[1]: *** [jpeg] Error 2
make (e=2): The system cannot find the file specified.
make[2]: *** [../../../win64_mingw-gcc/obj/x64/Release/3rdparty/zlib/adler32.o]
Error 2
expat.make:271: recipe for target '../../../win64_mingw-gcc/obj/x64/Release/3rdp
arty/expat/lib/xmlparse.o' failed
make[2]: *** [../../../win64_mingw-gcc/obj/x64/Release/3rdparty/expat/lib/xmlpar
se.o] Error 2
Compiling 3rdparty/libflac/src/libFLAC/bitmath.c...
Makefile:19: recipe for target 'zlib' failed
make[1]: *** [zlib] Error 2
Makefile:16: recipe for target 'expat' failed
make[1]: *** [expat] Error 2
process_begin: CreateProcess(NULL, c:\mingw\ming64-w64/bin/x86_64-w64-mingw32-gc
c -MMD -MP -DX64_WINDOWS_ABI -DPTR64=1 -DNDEBUG -DCRLF=3 -DLSB_FIRST -DFLAC__NO_
DLL -DNATIVE_DRC=drcbe_x64 -DLUA_COMPAT_APIINTCASTS -DWIN32 -Dmain=utf8_main -DW
ORDS_BIGENDIAN=0 -DFLAC__NO_ASM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFLA
C__HAS_OGG=0 -DVERSION=\"1.2.1\" -I../../../../3rdparty/libflac/src/libFLAC/incl
ude -I../../../../3rdparty/libflac/include -m64 --pipe -Wno-deprecated-declarati
ons -O3 -fno-strict-aliasing -Werror -Wno-unknown-pragmas -Wall -Wcast-align -Wu
ndef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-un
used-result -Wno-narrowing -Wno-attributes -Wno-unused-variable -Wno-array-bound
s -m64 -std=gnu89 -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wno-u
nused-function -O0 -include C:/MAME GitHub/src/osd/windows/winprefix.h -o ../../
../win64_mingw-gcc/obj/x64/Release/3rdparty/libflac/src/libFLAC/bitmath.o -MF ..
/../../win64_mingw-gcc/obj/x64/Release/3rdparty/libflac/src/libFLAC/bitmath.d -c
../../../../3rdparty/libflac/src/libFLAC/bitmath.c, ...) failed.
make (e=2): The system cannot find the file specified.
flac.make:331: recipe for target '../../../win64_mingw-gcc/obj/x64/Release/3rdpa
rty/libflac/src/libFLAC/bitmath.o' failed
make[2]: *** [../../../win64_mingw-gcc/obj/x64/Release/3rdparty/libflac/src/libF
LAC/bitmath.o] Error 2
make[2]: *** Waiting for unfinished jobs....
Compiling 3rdparty/libflac/src/libFLAC/bitreader.c...
process_begin: CreateProcess(NULL, c:\mingw\ming64-w64/bin/x86_64-w64-mingw32-gc
c -MMD -MP -DX64_WINDOWS_ABI -DPTR64=1 -DNDEBUG -DCRLF=3 -DLSB_FIRST -DFLAC__NO_
DLL -DNATIVE_DRC=drcbe_x64 -DLUA_COMPAT_APIINTCASTS -DWIN32 -Dmain=utf8_main -DW
ORDS_BIGENDIAN=0 -DFLAC__NO_ASM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFLA
C__HAS_OGG=0 -DVERSION=\"1.2.1\" -I../../../../3rdparty/libflac/src/libFLAC/incl
ude -I../../../../3rdparty/libflac/include -m64 --pipe -Wno-deprecated-declarati
ons -O3 -fno-strict-aliasing -Werror -Wno-unknown-pragmas -Wall -Wcast-align -Wu
ndef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-un
used-result -Wno-narrowing -Wno-attributes -Wno-unused-variable -Wno-array-bound
s -m64 -std=gnu89 -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wno-u
nused-function -O0 -include C:/MAME GitHub/src/osd/windows/winprefix.h -o ../../
../win64_mingw-gcc/obj/x64/Release/3rdparty/libflac/src/libFLAC/bitreader.o -MF
../../../win64_mingw-gcc/obj/x64/Release/3rdparty/libflac/src/libFLAC/bitreader.
d -c ../../../../3rdparty/libflac/src/libFLAC/bitreader.c, ...) failed.
make (e=2): The system cannot find the file specified.
flac.make:335: recipe for target '../../../win64_mingw-gcc/obj/x64/Release/3rdpa
rty/libflac/src/libFLAC/bitreader.o' failed
make[2]: *** [../../../win64_mingw-gcc/obj/x64/Release/3rdparty/libflac/src/libF
LAC/bitreader.o] Error 2
Makefile:28: recipe for target 'flac' failed
make[1]: *** [flac] Error 2
Compiling 3rdparty/lzma/C/7zBuf.c...
process_begin: CreateProcess(NULL, c:\mingw\ming64-w64/bin/x86_64-w64-mingw32-gc
c -MMD -MP -DX64_WINDOWS_ABI -DPTR64=1 -DNDEBUG -DCRLF=3 -DLSB_FIRST -DFLAC__NO_
DLL -DNATIVE_DRC=drcbe_x64 -DLUA_COMPAT_APIINTCASTS -DWIN32 -Dmain=utf8_main -D_
7ZIP_PPMD_SUPPPORT -D_7ZIP_ST -m64 --pipe -Wno-deprecated-declarations -O3 -fno-
strict-aliasing -Werror -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 -std=g
nu89 -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -include C:/MAME Gi
tHub/src/osd/windows/winprefix.h -o ../../../win64_mingw-gcc/obj/x64/Release/3rd
party/lzma/C/7zBuf.o -MF ../../../win64_mingw-gcc/obj/x64/Release/3rdparty/lzma/
C/7zBuf.d -c ../../../../3rdparty/lzma/C/7zBuf.c, ...) failed.
make (e=2): The system cannot find the file specified.
7z.make:349: recipe for target '../../../win64_mingw-gcc/obj/x64/Release/3rdpart
y/lzma/C/7zBuf.o' failed
make[2]: *** [../../../win64_mingw-gcc/obj/x64/Release/3rdparty/lzma/C/7zBuf.o]
Error 2
make[2]: *** Waiting for unfinished jobs....
Compiling 3rdparty/lzma/C/7zBuf2.c...
process_begin: CreateProcess(NULL, c:\mingw\ming64-w64/bin/x86_64-w64-mingw32-gc
c -MMD -MP -DX64_WINDOWS_ABI -DPTR64=1 -DNDEBUG -DCRLF=3 -DLSB_FIRST -DFLAC__NO_
DLL -DNATIVE_DRC=drcbe_x64 -DLUA_COMPAT_APIINTCASTS -DWIN32 -Dmain=utf8_main -D_
7ZIP_PPMD_SUPPPORT -D_7ZIP_ST -m64 --pipe -Wno-deprecated-declarations -O3 -fno-
strict-aliasing -Werror -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 -std=g
nu89 -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -include C:/MAME Gi
tHub/src/osd/windows/winprefix.h -o ../../../win64_mingw-gcc/obj/x64/Release/3rd
party/lzma/C/7zBuf2.o -MF ../../../win64_mingw-gcc/obj/x64/Release/3rdparty/lzma
/C/7zBuf2.d -c ../../../../3rdparty/lzma/C/7zBuf2.c, ...) failed.
make (e=2): The system cannot find the file specified.
7z.make:353: recipe for target '../../../win64_mingw-gcc/obj/x64/Release/3rdpart
y/lzma/C/7zBuf2.o' failed
make[2]: *** [../../../win64_mingw-gcc/obj/x64/Release/3rdparty/lzma/C/7zBuf2.o]
Error 2
Makefile:31: recipe for target '7z' failed
make[1]: *** [7z] Error 2
makefile:355: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2

Basically just a bunch of non-sensicle jibberish lol. I get the same, or roughly the same error message when trying to compile MESS as well, and I have ran make clean before hand.

My batch file looks like this (which was all working fine a few weeks ago)

MAME:

@echo off
set MINGW64=c:\mingw\ming64-w64
set path=c:\mingw\mingw64-w64\bin;c:\mingw\mingw64-w64\opt\bin;c:\mingw\mingw64-w64\Qt\bin;
make -j6 TARGET=mame
pause

MESS:

@echo off
set MINGW64=c:\mingw\ming64-w64
set path=c:\mingw\mingw64-w64\bin;c:\mingw\mingw64-w64\opt\bin;c:\mingw\mingw64-w64\Qt\bin;
make -j6 TARGET=mess
pause

I've added pause at the end so I can see what the error message is.

Again any help would be awesome!

Joined: Dec 2010
Posts: 46
D
Member
Offline
Member
D
Joined: Dec 2010
Posts: 46
Mike,
I can't make my batch file work with it either. Just enter it from the command line and it works. If you figure out the trick to make the batch file work PM me with the batch commands

Joined: Aug 2011
Posts: 499
M
Senior Member
Offline
Senior Member
M
Joined: Aug 2011
Posts: 499
Alright, so I've decided to go the buildtools route because I think the version of MingW64 that I am using is obsolete now? I've managed to compile both MESS and MAME, but one, I can't make clean, I get this error:

Cleaning...
process_begin: CreateProcess(NULL, rm -rf build, ...) failed.
make (e=2): The system cannot find the file specified.
makefile:532: recipe for target 'clean' failed
make: [clean] Error 2 (ignored)
Cleaning genie

My make clean batch file looks like this:

@echo off
set MINGW64=C:\buildtools\vendor\mingw64
set path=C:\buildtools\vendor\mingw64\bin;C:\buildtools\vendor\mingw64\opt\bin;C:\buildtools\vendor\qt\mingw64\Qt\bin;
make clean
pause

And two, the instructions on the MAME Dev website say to run 'update' once in a while. The only update file I can find is located in \buildtools\bin, listed as 'update.bat' and when I run it, I get this error:

Updating MAME tools
====================
C:\buildtools\bin
'git' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.

I'm not really concerned that I can't run update, but I'd like make clean to work properly as this is needed sometimes.

Joined: Aug 2004
Posts: 1,458
Likes: 9
Very Senior Member
Offline
Very Senior Member
Joined: Aug 2004
Posts: 1,458
Likes: 9
As you may have suspected, the build system has been replaced with a new one. There is no documentation. It replaces the large number of .mak files with .lua files that are located in the scripts directory. The obj folder is replaced by the build folder. You don't need to update your tools yet, the old ones work just fine.

The main thing is to set up a system variable so it knows where mingw is.

For a 64-bit build, SET MINGW64=e:\mingw\mingw64-w64
or for a 32-bit build, SET MINGW32=e:\mingw\mingw64-w32
(sample paths, obviously)
The build system works out your hardware platform, but you can override that to allow cross-compiling. So, for me to build 32-bit on my 64-bit machine, I need to add windows_x86 to the make command-line.

I have a 64-bit batch file, and a 32-bit one. The 64-bit one sets up MINGW64, while the 32-bit one sets up MINGW32 and also specifies windows_x86.

Since I normally work with 32-bit builds, I also have make.bat which simply calls up make32.bat -j4

I have never used make clean. If I want to do a clean build, I run clean.bat which simply deletes the obj and build folders, and then run make.bat

So far, I've converted to the new system for MAME (which builds fine btw), however it has no provision for MESSUI/MAMEUI/HBMAME, so for those I stayed with the old system, until I've reverse engineered the new system enough to understand it.

Joined: Aug 2011
Posts: 499
M
Senior Member
Offline
Senior Member
M
Joined: Aug 2011
Posts: 499
Well I've discovered the build folder was the previous obj folder, so now I just delete it before I run make both mess and mame and seems to compile just fine. Thanks for the explanation.

Page 24 of 44 1 2 22 23 24 25 26 43 44

Link Copied to Clipboard
Who's Online Now
2 members (Kale, 1 invisible), 233 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,320
Posts121,923
Members5,074
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com