MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

Envisaged0ne
MAME Fan
Reged: 08/29/06
Posts: 543
Send PM


Compiling MAME on Windows 10
#354654 - 05/25/16 04:26 PM


Hello,

I was wondering if MAME can be compiled under Win10? When I tried, it kept giving me A LOT of error messages, stating files couldn't be found in the windows directory. It's not a big deal cause I just rebooted into Windows 7 & was able to compile it just fine. But I wanted to ask 1st before I spent a long time trying to get it to work in Win10, just to find out it isn't possible. Any extra steps needed for Win10?

Thank you



Windows 11 64 bit OS
Intel Core i7-10700
Nvidia GeForce RTX 2060 6GB
32GB DDR4 RAM



TafoidAdministrator
I keep on testing.. testing.. testing... into the future!
Reged: 04/19/06
Posts: 3135
Loc: USA
Send PM


Re: Compiling MAME on Windows 10 new [Re: Envisaged0ne]
#354655 - 05/25/16 04:37 PM


> Hello,
>
> I was wondering if MAME can be compiled under Win10? When I tried, it kept giving me
> A LOT of error messages, stating files couldn't be found in the windows directory.
> It's not a big deal cause I just rebooted into Windows 7 & was able to compile it
> just fine. But I wanted to ask 1st before I spent a long time trying to get it to
> work in Win10, just to find out it isn't possible. Any extra steps needed for Win10?
>
> Thank you

I only use Windows 7 but to my knowledge there is no difference between the two Windows OSs. I can only assume you are using the same tools install for both? Each OS needs proper environmental variables and paths set in order to properly find everything needed for compiling. Beyond making sure of those things, I cannot suggest anything else and someone else may have ideas.



abelenki
Super Drunk
Reged: 10/20/03
Posts: 962
Loc: Perm, Russia
Send PM


Re: Compiling MAME on Windows 10 new [Re: Envisaged0ne]
#354659 - 05/25/16 04:59 PM


> I was wondering if MAME can be compiled under Win10? When I tried, it kept giving me
> A LOT of error messages, stating files couldn't be found in the windows directory.
> It's not a big deal cause I just rebooted into Windows 7 & was able to compile it
> just fine. But I wanted to ask 1st before I spent a long time trying to get it to
> work in Win10, just to find out it isn't possible. Any extra steps needed for Win10?

MAME compiles fine on Windows 10.

you can try my simple compiling scripts:

http://www.mameworld.info/ubbthreads/sho...part=1&vc=1



MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration



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


I used these. new [Re: Envisaged0ne]
#354666 - 05/25/16 08:08 PM


Right click on the Windows icon and then click on the Command Prompt.

In the cmd paste this. call C:\msys64\win32\env.bat "Or whatever the msys64 files is at."

In the cmd paste this. SET CONFIG_ARCHITECTURE=x64

In the cmd paste this. cd C:\source "Or whatever the source is at."

In the cmd paste this. make -j5 OPTIMIZE=3 SYMBOLS=1 SYMLEVEL=1 STRIP_SYMBOLS=1

Done.

Or I used my make.Bat Which I used most of time.

SET CONFIG_ARCHITECTURE=x64
call C:\msys64\win32\env.bat
cd C:\source
DEL /S /Q C:\source\mame64.exe
DEL /S /Q C:\source\mame64.sym
make -j5 OPTIMIZE=3 SYMBOLS=1 SYMLEVEL=1 STRIP_SYMBOLS=1
pause
RD /S /Q C:\source\build
RD /S /Q C:\source\saving
mame64 -cc
pause

Done.

Just in case you ask what is the saving.

#
# CORE OUTPUT DIRECTORY OPTIONS
#
cfg_directory saving
nvram_directory saving
input_directory saving
state_directory saving
snapshot_directory saving
diff_directory saving
comment_directory saving

I get the tools from here. http://mamedev.org/tools/



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



Traso
MAME Fan
Reged: 01/15/13
Posts: 2687
Send PM


Why not just use Headkaze's MAME Compiler?..... new [Re: Envisaged0ne]
#354681 - 05/25/16 10:27 PM


http://headsoft.com.au/index.php?category=mame&page=mc64





Scifi frauds. SF illuminates.
_________________

Culture General Contact Unit (Eccentric)



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Compiling MAME on Windows 10 new [Re: Envisaged0ne]
#354686 - 05/25/16 11:02 PM


Same setup as on 7. Follow the directions :-)



Envisaged0ne
MAME Fan
Reged: 08/29/06
Posts: 543
Send PM


Re: Compiling MAME on Windows 10 new [Re: abelenki]
#354691 - 05/25/16 11:59 PM


Thank you all I will give these a try a little later when I have time to try recompiling it. I got it compiled on Win 7, but will do it again on Win 10 just so I can get it all working



Windows 11 64 bit OS
Intel Core i7-10700
Nvidia GeForce RTX 2060 6GB
32GB DDR4 RAM



Envisaged0ne
MAME Fan
Reged: 08/29/06
Posts: 543
Send PM


Re: Why not just use Headkaze's MAME Compiler?..... new [Re: Traso]
#354693 - 05/26/16 01:34 AM


Thank you for the link. I downloaded it & got everything working really easily with that



Windows 11 64 bit OS
Intel Core i7-10700
Nvidia GeForce RTX 2060 6GB
32GB DDR4 RAM



Traso
MAME Fan
Reged: 01/15/13
Posts: 2687
Send PM


Righteous new [Re: Envisaged0ne]
#354816 - 05/27/16 10:42 PM


> Thank you for the link. I downloaded it & got everything working really easily with that


I don't compile, and there was nothing on his site that said it wasn't current, but never know, so good to know.



Scifi frauds. SF illuminates.
_________________

Culture General Contact Unit (Eccentric)


Pages: 1

MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

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