Raspberry Pi 3 / Error message when compiling #346
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello everyone,
after typing in terminal
$ qmake && make
all I get is this error message :
cd qmltermwidget/ && ( test -e Makefile || /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake /home/pi/cool-retro-term/qmltermwidget/qmltermwidget.pro -o Makefile ) && make -f Makefile make[1]: Entering directory '/home/pi/cool-retro-term/qmltermwidget' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/home/pi/cool-retro-term/qmltermwidget' cd app/ && ( test -e Makefile || /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake /home/pi/cool-retro-term/app/app.pro -o Makefile ) && make -f Makefile make[1]: Entering directory '/home/pi/cool-retro-term/app' g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_QML_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/linux-g++ -I. -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtWidgets -isystem /usr/include/arm-linux-gnueabihf/qt5/QtSql -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -o qrc_resources.o qrc_resources.cpp virtual memory exhausted: Cannot allocate memory Makefile:395: recipe for target 'qrc_resources.o' failed make[1]: *** [qrc_resources.o] Error 1 make[1]: Leaving directory '/home/pi/cool-retro-term/app' Makefile:82: recipe for target 'sub-app-make_first-ordered' failed make: *** [sub-app-make_first-ordered] Error 2
Not knowing exactly what to do I typed
$ sudo raspi-config
to change the ram ( 124 ) to the original settings ( 64 ), and rebooted. But without any success.
Then tried back to the max of RAM ( 256 ), I still get the error.
Thanks for any help. ®
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
I was able to successfully compile it by increasing the size of the swap file on my Pi. The way to do that on the Pi is different but I found good instructions here: https://raspberrypi.stackexchange.com/a/1605/74172
However I'm unable to launch it and I get the following output: