what is this error mean: :-1: error: [qrc_images.o] Error 1 !
Solved
General and Desktop
-
Hi. I dont know what happen, but I suddenly see this error.
this is my .pro file:#------------------------------------------------- # # Project created by QtCreator 2016-05-13T23:28:50 # #------------------------------------------------- QT += core gui QT += sql QT += multimedia include(3rdparty/qextserialport-master/src/qextserialport.pri) target.path = ~ INSTALLS += target greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = VS200 TEMPLATE = app SOURCES += main.cpp\ mainwindow.cpp \ menu.cpp \ comm.cpp \ system.cpp \ pendrive.cpp \ autotest.cpp \ sysinfo.cpp \ report.cpp \ myinputpanel.cpp \ myinputpanelcontext.cpp \ datetimes.cpp \ db.cpp \ portserial.cpp \ usermanage.cpp \ idpassdialog.cpp \ mydialog.cpp \ carddialog.cpp \ xml.cpp \ tcpserver.cpp \ functions.cpp \ clockdate.cpp \ messagedialog.cpp \ systemgeneral.cpp \ usernew.cpp \ systemfunction.cpp \ deleteautheticate.cpp \ usercard.cpp \ fp.cpp \ serialport.cpp \ userfinger.cpp \ qdateconvertor.cpp \ sounds.cpp HEADERS += mainwindow.h \ menu.h \ comm.h \ system.h \ pendrive.h \ autotest.h \ sysinfo.h \ report.h \ myinputpanel.h \ myinputpanelcontext.h \ datetimes.h \ db.h \ portserial.h \ usermanage.h \ idpassdialog.h \ mydialog.h \ carddialog.h \ xml.h \ tcpserver.h \ functions.h \ clockdate.h \ messagedialog.h \ systemgeneral.h \ usernew.h \ systemfunction.h \ deleteautheticate.h \ usercard.h \ fp.h \ serialport.h \ userfinger.h \ qdateconvertor.h \ sounds.h FORMS += mainwindow.ui \ menu.ui \ comm.ui \ system.ui \ pendrive.ui \ autotest.ui \ sysinfo.ui \ report.ui \ myinputpanelform.ui \ datetimes.ui \ usermanage.ui \ idpassdialog.ui \ mydialog.ui \ carddialog.ui \ functions.ui \ clockdate.ui \ messagedialog.ui \ systemgeneral.ui \ usernew.ui \ systemfunction.ui \ deleteautheticate.ui \ usercard.ui \ userfinger.ui LIBS += -lasound RESOURCES += \ images.qrc
and this is my qrc:
<RCC> <qresource prefix="/myImg"> <file>pic/Search.png</file> <file>pic/back.png</file> <file>pic/12.png</file> <file>pic/down-arrow.png</file> <file>pic/glass.png</file> <file>pic/close.png</file> <file>pic/up-arrow.png</file> <file>pic/VinaLogo.png</file> <file>pic/question.png</file> <file>pic/success.png</file> <file>pic/error.png</file> <file>pic/warning.png</file> <file>pic/chkBox.png</file> <file>pic/tick.png</file> <file>pic/function.png</file> <file>pic/password2.png</file> <file>pic/menu3.png</file> <file>pic/bg.png</file> <file>pic/Finger.png</file> <file>pic/cardrfid.png</file> <file>pic/chk.png</file> <file>pic/err.png</file> <file>pic/fpright.png</file> <file>pic/fp.png</file> <file>pic/fp2.jpg</file> <file>pic/fp3.jpg</file> <file>pic/fp1.jpg</file> <file>pic/usermanage.jpg</file> <file>pic/usb.jpg</file> <file>pic/systemcheck.jpg</file> <file>pic/setting.jpg</file> <file>pic/report.jpg</file> <file>pic/info.jpg</file> <file>pic/generalsetting.jpg</file> <file>pic/function.jpg</file> <file>pic/datetime.jpg</file> <file>pic/communication.jpg</file> <file>pic/newusr.jpg</file> <file>pic/fpfalse.jpg</file> <file>pic/fptrue.jpg</file> <file>pic/fingerdef.png</file> <file>pic/user.jpg</file> <file>pic/pw.png</file> <file>pic/cardimg.png</file> <file>pic/fpimg.png</file> <file>pic/no-img.png</file> <file>pic/recy2.png</file> <file>pic/edit1.png</file> <file>pic/edit2.png</file> <file>pic/reps.png</file> <file>pic/recy.png</file> <file>pic/admin.png</file> <file>pic/dt.png</file> <file>pic/iconfp.png</file> <file>pic/hands.png</file> </qresource> <qresource prefix="/"> <file>style.qss</file> </qresource> </RCC>
-
this is compile output:
23:39:11: Configuration unchanged, skipping qmake step. 23:39:11: Starting: "/usr/bin/make" arm-linux-g++ -c -pipe -march=armv7-a -mtune=cortex-a9 -mfloat-abi=hard -mfpu=vfpv3 -O2 -Wall -W -D_REENTRANT -DQESP_NO_UDEV -D__linux__ -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/QtEmbedded-4.8.6-arm/mkspecs/qws/linux-armv7-g++ -I../VS200\ with\ Diffrent\ Keyboard -I/usr/local/Trolltech/QtEmbedded-4.8.6-arm/include/QtCore -I/usr/local/Trolltech/QtEmbedded-4.8.6-arm/include/QtNetwork -I/usr/local/Trolltech/QtEmbedded-4.8.6-arm/include/QtGui -I/usr/local/Trolltech/QtEmbedded-4.8.6-arm/include/QtSql -I/usr/local/Trolltech/QtEmbedded-4.8.6-arm/include/QtMultimedia -I/usr/local/Trolltech/QtEmbedded-4.8.6-arm/include -I../VS200\ with\ Diffrent\ Keyboard/3rdparty/qextserialport-master/src -I. -I. -I../VS200\ with\ Diffrent\ Keyboard -I/tmp/FriendlyARM/nanopi2/libs/usr/include -I. -o qrc_images.o qrc_images.cpp virtual memory exhausted: Cannot allocate memory Makefile:1038: recipe for target 'qrc_images.o' failed make: *** [qrc_images.o] Error 1 23:39:18: The process "/usr/bin/make" exited with code 2. Error while building/deploying project VS200 (kit: ARMKIT) When executing step "Make" 23:39:18: Elapsed time: 00:08.
-
@MhM93 said in what is this error mean: :-1: error: [qrc_images.o] Error 1 !:
virtual memory exhausted: Cannot allocate memory
How big is your resource file? You are getting out of memory.