Open julynervs opened 3 years ago
I suspect this may be because of in sufficient virtual RAM during the build process. I have experienced this on some hardware setups. The solution is to create (or increase the size of) your swap file. There are several articles on doing this that you can Google eg https://kalitut.com/raspberry-pi-swapping/ Depending on your SD card free capacity you can set it to 1024 or 2048 and this should enable the build process to complete. Afterwards, you can switch it back to the initial size.
I did set to 2048 and now the process freezes on building of qrc_help_files.cpp.o
Which Pi model are you using? How much RAM does it have? You may have to go even higher. The fact the error has shifted on to building the help files suggest this is the problem. The help files build consumes the largest amount of memory. As long as you have sufficient free space on your SD card this is the way to go I think. You can revert once the build is complete.
Raspberry Pi 3 Model B Rev 1.2 with 1024Mb of RAM and my SD card has 128GB...
I'm sure the lack of RAM is the build problem.
Hi @julynervs - have you tried increasing the swap size any further?
I tried to build sonic-pi on Raspberry Pi OS following https://github.com/sonic-pi-net/sonic-pi/blob/main/BUILD-LINUX.md When I put command
cmake --build . --config Release
everything runs ok until that at 91% of the build process the machine stops when working on qrc_SonicPi.cpp.o and print this errorCould someone help me with this?