MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

DubaiShark
MAME Fan
Reged: 09/04/04
Posts: 65
Send PM


HOW TO COMPILE MAME and MAMEUI?
#346678 - 11/04/15 03:09 PM


Hi

Any help how to do that I just forgot how to do that long time ago


Thanks



DubaiShark
MAME Fan
Reged: 09/04/04
Posts: 65
Send PM


Re: HOW TO COMPILE MAME and MAMEUI? new [Re: DubaiShark]
#346691 - 11/04/15 09:21 PM


Ok I have found what I was search for on this link

http://www.mameworld.info/ubbthreads/sho...;new=1422700730


Thanks



redk9258
Regular
Reged: 09/21/03
Posts: 3968
Loc: Troy, Illinois USA
Send PM


Re: HOW TO COMPILE MAME and MAMEUI? new [Re: DubaiShark]
#346695 - 11/04/15 11:33 PM


That's not the right way.



DubaiShark
MAME Fan
Reged: 09/04/04
Posts: 65
Send PM


Re: HOW TO COMPILE MAME and MAMEUI? new [Re: redk9258]
#346696 - 11/04/15 11:47 PM


Hi

Then can you tell me the right way please



redk9258
Regular
Reged: 09/21/03
Posts: 3968
Loc: Troy, Illinois USA
Send PM


Re: HOW TO COMPILE MAME and MAMEUI? new [Re: DubaiShark]
#346716 - 11/05/15 01:02 PM


https://github.com/Robbbert/mameui/raw/master/docs/compile.doc

Here is how I do it...

64-bit...


Code:

SET PROCESSOR_ARCHITECTURE=AMD64
call D:\MAMECOMPILE\buildtools\vendor\env.bat
make -j5 TARGET=mame OSD=winui TOOLS=1 STRIP_SYMBOLS=1



32-bit...

Code:

SET PROCESSOR_ARCHITECTURE=x86
call D:\MAMECOMPILE\buildtools\vendor\env.bat
make -j5 TARGET=mame OSD=winui TOOLS=1 STRIP_SYMBOLS=1



Edited by redk9258 (11/05/15 01:08 PM)



DubaiShark
MAME Fan
Reged: 09/04/04
Posts: 65
Send PM


Re: HOW TO COMPILE MAME and MAMEUI? new [Re: redk9258]
#346717 - 11/05/15 02:53 PM


Thanks for sharing



Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6125
Loc: Fort Worth, Tx
Send PM


Re: HOW TO COMPILE MAME and MAMEUI? new [Re: redk9258]
#346780 - 11/07/15 12:25 PM


> https://github.com/Robbbert/mameui/raw/master/docs/compile.doc
>
> Here is how I do it...
>
> 64-bit...
>
> SET PROCESSOR_ARCHITECTURE=AMD64
> call D:\MAMECOMPILE\buildtools\vendor\env.bat
> make -j5 TARGET=mame OSD=winui TOOLS=1 STRIP_SYMBOLS=1
>
>
> 32-bit...
> SET PROCESSOR_ARCHITECTURE=x86
> call D:\MAMECOMPILE\buildtools\vendor\env.bat
> make -j5 TARGET=mame OSD=winui TOOLS=1 STRIP_SYMBOLS=1

For MAME + MESS only.

Make sure that the Microsoft OneDrive is disabled and then reboot first.

Use the kill command on the explorer.exe.

TASKKILL /f /im explorer.exe
START explorer.exe
START .
pause

Now all the errors shouldn't be happening on make at all.

Here my set paths.

SET PROCESSOR_ARCHITECTURE=AMD64
call C:\buildtools\vendor\env.bat
cd C:\source
make -j6 TOOLS=1 SYMBOLS=1 STRIP_SYMBOLS=1

SET PROCESSOR_ARCHITECTURE=x86
call C:\buildtools\vendor\env.bat
cd C:\source
make -j6 TOOLS=1 SYMBOLS=1 STRIP_SYMBOLS=1

Thanks for your commands.



W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB



redk9258
Regular
Reged: 09/21/03
Posts: 3968
Loc: Troy, Illinois USA
Send PM


Re: HOW TO COMPILE MAME and MAMEUI? new [Re: Dullaron]
#346786 - 11/07/15 04:11 PM


> For MAME + MESS only.
>
> Make sure that the Microsoft OneDrive is disabled and then reboot first.
>
> Use the kill command on the explorer.exe.
>
> TASKKILL /f /im explorer.exe
> START explorer.exe
> START .
> pause
>
> Now all the errors shouldn't be happening on make at all.

Why are we killing Explorer? What errors?

EDIT: Nevermind, I read your post here.. http://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=69633&page=28

Edited by redk9258 (11/07/15 04:24 PM)



Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6125
Loc: Fort Worth, Tx
Send PM


Re: HOW TO COMPILE MAME and MAMEUI? new [Re: redk9258]
#346789 - 11/07/15 05:20 PM


> Why are we killing Explorer? What errors?
>
> EDIT: Nevermind, I read your post here..
> http://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=69633&page=28

After Robbbert pointed this out.

"Most common fix: close windows explorer. It has a bug since windows 7 of grabbing random files, even if you never looked at them."

That is fix when I killed it and then restart it. There were some stuff attacking.

The other part is the Microsoft OneDrive messing with the 'windows_x64. I disabled it to fix that.

After those two are fix. I didn't have those issues anymore. Windows 10 was just humping the make and the newer MinGW.



W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB



redk9258
Regular
Reged: 09/21/03
Posts: 3968
Loc: Troy, Illinois USA
Send PM


Re: HOW TO COMPILE MAME and MAMEUI? new [Re: Dullaron]
#346797 - 11/07/15 08:41 PM


Are you compiling with the newest tools?



Firehawke
Manual Meister
Reged: 08/12/06
Posts: 665
Send PM


Re: HOW TO COMPILE MAME and MAMEUI? new [Re: DubaiShark]
#347029 - 11/15/15 09:02 PM


I know I'm kinda late to the party, but I want this here for the next time someone asks:

http://www.mamedev.org/?p=412

Check the MAMEDev.org website for the latest tools. It'll get you a suitable build environment in a short time.



---
Try checking the MAME manual at http://docs.mamedev.org



Master O
Yes, Even Parodius Music
Reged: 11/20/06
Posts: 1332
Send PM


Re: HOW TO COMPILE MAME and MAMEUI? new [Re: Firehawke]
#347030 - 11/15/15 09:32 PM


> I know I'm kinda late to the party, but I want this here for the next time someone
> asks:
>
> http://www.mamedev.org/?p=412
>
> Check the MAMEDev.org website for the latest tools. It'll get you a suitable build
> environment in a short time.

Just to be clear, if compiling Mame, you want to use target=mame, but if you want mameui, it's target=arcade , right?



"Note to Noobs:

We are glad to help you but simply posting that something does not work is not going to lead to you getting help. The more information you can supply defining your problem, the less likely it will be that you will get smart-alec replies.

C.D.~"



Haze
Reged: 09/23/03
Posts: 5245
Send PM


Re: HOW TO COMPILE MAME and MAMEUI? new [Re: Master O]
#347032 - 11/15/15 11:20 PM


> > I know I'm kinda late to the party, but I want this here for the next time someone
> > asks:
> >
> > http://www.mamedev.org/?p=412
> >
> > Check the MAMEDev.org website for the latest tools. It'll get you a suitable build
> > environment in a short time.
>
> Just to be clear, if compiling Mame, you want to use target=mame, but if you want
> mameui, it's target=arcade , right?

no.

MAMEUI is a different, unofficial codebase and is not distributed with the official source at all.

'arcade' is currently a subtarget (NOT target) which only includes the old drivers from when MAME was just an arcade emulator, it will probably be going away soon in favor of manufacturer groups, or simply a 50/50 alphabetized driver split, it's designed for development only, not distribution.


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 270 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2233