|
Error when compiling 0.159
#337841 - 03/19/15 01:44 AM
|
|
|
Hello all! I'm new to the forum and new to compiling MAME. Today I went through MrDo's tutorial on compiling mame, unfortunately, it keeps failing. I was trying to add in the high score patch and some artwork at first, but then just tried to compile the basic source files from MAME to see if it work. No luck there either. The error I get when it fails compiling is:
Code:
... Compiling src/emu/cpu/m68000/m68kmake.c... Compiling src/version.c... Compiling src/mame/mame.c... Building driver list src/mame/mame.lst... 'python' is not recognized as an internal or external command, operable program or batch file. makefile:1017: recipe for target 'obj/windows64/mame/mame/drivlist.c' failed make: *** [obj/windows64/mame/mame/drivlist.c] Error 1 make: *** Waiting for unfinished jobs....
Any idea what this might be resulting from? Thanks in advance!
|
|
|
redk9258 |
Regular
|
|
|
Reged: 09/21/03
|
Posts: 3968
|
Loc: Troy, Illinois USA
|
|
Send PM
|
|
|
Re: Error when compiling 0.159
[Re: theundeadelvis]
#337844 - 03/19/15 03:27 AM
|
|
|
I think that guide is outdated. Do you have the new tools from MAMEDev.org?
|
|
|
|
Re: Error when compiling 0.159
[Re: theundeadelvis]
#337858 - 03/19/15 06:36 AM
|
|
|
> Any idea what this might be resulting from? Thanks in advance!
And this is why it's a bad idea to trust tutorials on t3h Interwebz. Even if they don't contain bad advice to begin with, they become outdated quickly. Latest official instructions from MAMEdev are here: http://mamedev.org/?p=402
|
|
|
|
Re: Error when compiling 0.159
[Re: Vas Crabb]
#337879 - 03/19/15 04:00 PM
|
|
|
I was afraid of that. I looked at the new tools, but there wasn't much in the way of documentation (or I've overlooked it some how). I'll take another look. Thanks.
|
|
|
|
Re: Error when compiling 0.159
[Re: redk9258]
#337880 - 03/19/15 04:00 PM
|
|
|
I'm using the older tools, but did initially download the new tools. I just didn't find the documentation on how to use the new tools? Thanks!
|
|
|
|
Re: Error when compiling 0.159
[Re: theundeadelvis]
#337883 - 03/19/15 06:00 PM
|
|
|
I think you need WITH THE OLD TOOLS:
Code:
set path=c:\mingw\mingw64-w64\bin;c:\mingw\mingw64-w64\opt\bin;%PATH%
for enabling the PYTHON interpreter, which is the error you got.
The new tools are quite different, there's no a tutorial yet.
|
|
|
|
Re: Error when compiling 0.159
[Re: Mamesick]
#337887 - 03/19/15 07:54 PM
|
|
|
I'll give that a try. Thanks! I'm going to attempt to wrap my head around the new tools, but I'm less optimistic about that happening.
|
|
|
|
Re: Error when compiling 0.159
[Re: theundeadelvis]
#337892 - 03/20/15 02:15 AM
|
|
|
|
|
Re: Error when compiling 0.159
[Re: joey35car]
#337896 - 03/20/15 03:42 AM
|
|
|
> Try this little program. > > http://www.headsoft.com.au/index.php?category=mame&page=mc64
That page recommends downloading horribly outdated tools, and it's been the source of many people's compiling problems. Also, it's the epitome of avoiding understanding what you're doing. It harms more than it helps.
|
|
|
|
Re: Error when compiling 0.159
[Re: Vas Crabb]
#337899 - 03/20/15 06:19 AM
|
|
|
Didn't know that. I was just trying to give the guy another option. I use the normal command line to recompile.
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: Error when compiling 0.159
[Re: joey35car]
#337914 - 03/20/15 02:02 PM
|
|
|
|
|
Re: Error when compiling 0.159
[Re: joey35car]
#337917 - 03/20/15 03:56 PM
|
|
|
Thanks for the suggestion. I did take a look at it, and didn't have much luck either. I do appreciate you taking the time to make a recommendation.
|
|
|
|
Re: Error when compiling 0.159
[Re: Vas Crabb]
#337918 - 03/20/15 03:58 PM
|
|
|
I do prefer to learn a about what is actually going on, so I would like to learn to use the new MAME tools. I may also play around with Visual Studio, since I use it at work from time to time.
|
|
|
B2K24 |
MAME @ 15 kHz Sony Trinitron CRT user
|
|
|
Reged: 10/25/10
|
Posts: 2663
|
|
|
Send PM
|
|
|
Re: Error when compiling 0.159
[Re: theundeadelvis]
#337919 - 03/20/15 04:16 PM
|
|
|
It's really simple as downloading the new tools.
run buildtools.bat Put MAME source in src directory run cmder and type *make all -j5* OR *make all TARGET=mess -j5*
|
|
|
|
Re: Error when compiling 0.159
[Re: B2K24]
#337920 - 03/20/15 04:27 PM
|
|
|
Oh wow. I assumed there was much more than that. Awesome. What if you want to patch with diff files? Thanks for the info!
|
|
|
B2K24 |
MAME @ 15 kHz Sony Trinitron CRT user
|
|
|
Reged: 10/25/10
|
Posts: 2663
|
|
|
Send PM
|
|
|
Re: Error when compiling 0.159
[Re: theundeadelvis]
#337927 - 03/20/15 09:14 PM
|
|
|
> Oh wow. I assumed there was much more than that. Awesome. What if you want to patch > with diff files? Thanks for the info!
Sorry, I don't remember how as it's been a long time since u releases were a current thing.
|
|
|
|
Re: Error when compiling 0.159
[Re: B2K24]
#337938 - 03/21/15 01:57 AM
|
|
|
Thanks B2K24! It worked perfectly. I figured out how to roll in a hiscore diff too.
|
|
|