How do you get lr-mess to compile without breaking?
-
Trying to compile lr-mess from source on RetroPie 4.6 on a 2GB RPi 4 and after a few hours it just stops with errors.
If it helps I’m using the official power supply, and quitting emulation station before trying.
Last time it said:
/mess-libretro.so not foundI’ve tried about 9 times with no luck. Am I doing something wrong?
Thank you!!
-
You should post the error log entirely to see where it stops (use pastebin.com), the installation should be logged in
$HOME/logs
. My guess is that there's not enough memory for the compilation to complete, but we can check the log to make sure. -
Thank you. I will do that if/when it fails again. 👍
-
-
Yes, seems like out-of-memory errors are the ones stopping the compilation:
[...] g++: fatal error: Killed signal terminated program cc1plus compilation terminated. make[2]: *** [frontend.make:1272: ../../../../libretro/obj/libretro/src/frontend/mame/luaengine.o] Error 1 make[1]: *** [Makefile:88: frontend] Error 2 make[1]: *** Waiting for unfinished jobs....
-
Thank you. 👍
In case anyone finds this in the future, google “increase swap size raspberry pi” - that should do it 🙂
-
@ramokromok Adding to this, with only 2 GB of memory, I had to increase the swap size to 4096 before the build would successfully compile.
-
The RetroPie setup script already allocates 4G (see here), but I think the recent changed in upstream MAME have increased the memory needed for a successful compilation.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.