|
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.
|
|