The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: H8ff0000 on January 22, 2010, 09:06:04 am

Title: MAME v0.136u1 Compile Help?
Post by: H8ff0000 on January 22, 2010, 09:06:04 am
Hi all. Little problem I'm having. I'm trying to compile MAME v0.136u1. I used the 136 source, applied the the 0136u1 diff, then the hi_136u1.diff, all went good. Next step says to do cmd, cd to the mame source directory, which I have as C:\mamesrc, and run the command make. I try this and it says make is unrecognized. What am I doing wrong?
Title: Re: MAME v0.136u1 Compile Help?
Post by: u_rebelscum on January 22, 2010, 12:21:29 pm
A couple things could be going on.  First, have you compiled mame before?  Did you do it from the command line, or were you using MameCompiler (http://forum.arcadecontrols.com/index.php?topic=71845.0)?

Second, did you you get the new compile tools from mameDev (http://mamedev.org/tools/)?  Mame 0.136u1 uses a new set than prior versions.  (Is that MameCompiler isn't updated yet why you're trying to compile from the commandline?)

Third, have you read the new mame tools page I linked above?  It includes the step I think you're missing: add the mingw bin to the path.  I'd do it a little different than that page says though.  in windows explorer, go the the mingw bin folder, go to the address bar and ctrl-C to copy the folder path.  In the command line windows (the one that show after 'cmd'), type exactly "set path=%path%;" but don't press enter yet.  Be sure to include that semicolon.  Right click the mouse in the command line window, and select paste.  Now press enter.  Then try the "make".
Title: Re: MAME v0.136u1 Compile Help?
Post by: Blanka on January 22, 2010, 12:37:22 pm
Isn't make a UNIX function, absent in Windows?
Title: Re: MAME v0.136u1 Compile Help?
Post by: u_rebelscum on January 22, 2010, 03:24:15 pm
Isn't make a UNIX function, absent in Windows?

Not really.  "Make" is what's called when you compile a program.  Unix/linux (usually) have a compiler included, and (again usually) has the compiler in the path.  So it's not a unix function, but a tool (app) usually included in unix.

Which is why you have to install the mame compiler tools and add it to the path, before compiling.
Title: Re: MAME v0.136u1 Compile Help?
Post by: H8ff0000 on January 22, 2010, 07:45:50 pm
I was using the new tools, following the guide on mamedev. I got help elsewhere. Someone made me a .bat with the correct settings.