MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4462
Loc: Melbourne, Australia
Send PM
Re: Trouble compiling Mame after the C++17 change
12/28/20 03:55 AM


> 12/27/2020
>
> Decided to do a fresh install for msys64. I am currently unable to compile with
> mingw64.exe due to an "MINGW32 is not set" error and using config64.bat under
> "C:\msys64\win32" doesn't work either. Compiling under win32env.bat still gives me
> the "out of memory" error.
>
> There is very little information on this stuff on how to get a compile environment
> for Mame properly working. Is 16GB of ram not enough anymore?

The steps described here are exactly how I set up a MAME build environment: https://docs.mamedev.org/initialsetup/compilingmame.html#using-a-standard-msys2-installation

You can build MAME with 16GB of RAM. You can build with as little as 4GB of RAM with swap enabled, it just takes a long time. As I told you before, the 32-bit compiler is running out of address space. If you’re using GCC9, try upgrading to GCC10 – it’s a bit more efficient in C++17 mode. But really, you should just do 64-bit builds.







Entire thread
Subject Posted by Posted on
* Trouble compiling Mame after the C++17 change Hydreigon 12/25/20 09:19 PM
. * Re: Trouble compiling Mame after the C++17 change Hydreigon  12/27/20 09:39 PM
. * Re: Trouble compiling Mame after the C++17 change Vas Crabb  12/28/20 03:55 AM
. * Re: Trouble compiling Mame after the C++17 change Haze  12/27/20 09:46 PM
. * Memory leak when compiling the emumem files. Hydreigon  12/28/20 01:33 AM
. * Re: Memory leak when compiling the emumem files. Haze  12/28/20 04:34 AM
. * Re: Memory leak when compiling the emumem files. Hydreigon  12/28/20 06:09 AM
. * Re: Memory leak when compiling the emumem files. Vas Crabb  12/28/20 07:20 AM
. * Re: Memory leak when compiling the emumem files. Hydreigon  12/31/20 03:18 AM
. * Re: Memory leak when compiling the emumem files. Vas Crabb  12/31/20 05:18 AM
. * Re: Memory leak when compiling the emumem files. Haze  12/31/20 03:34 AM
. * Re: Memory leak when compiling the emumem files. Vas Crabb  12/28/20 04:01 AM

Extra information Permissions
Moderator:  Pi 
0 registered and 40 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1330