compilation error

User avatar
sioc
Posts: 11
Joined: Mon Jul 18, 2016 1:06 am

Re: compilation error

Postby sioc » Sat Aug 20, 2016 2:07 am

ok, found that in the tool menu of QT generator.

new one :

Code: Select all

RCC: Error in '..\rolisteam\rolisteam.qrc': Cannot find file 'src/charactersheet/qml/ImageField.qml'

Makefile.Debug:977: recipe for target 'debug/qrc_rolisteam.cpp' failed
mingw32-make[1]: Leaving directory 'C:/Users/sioc/Documents/GitHub/build-rolisteam-Desktop_Qt_5_7_0_MinGW_32bit-Debug'
mingw32-make[1]: *** [debug/qrc_rolisteam.cpp] Error 1
Makefile:34: recipe for target 'debug' failed
mingw32-make: *** [debug] Error 2
02:04:58: The process "F:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project rolisteam (kit: Desktop Qt 5.7.0 MinGW 32bit)
When executing step "Make"
User avatar
renaud
Site Admin
Posts: 177
Joined: Sun Mar 29, 2015 12:56 pm

Re: compilation error

Postby renaud » Sat Aug 20, 2016 2:38 pm

You should update your code. The submodule has the ImageField.qml for only 3 days. I guest, you code is older than that.

To update, you have to use the command line and type in the submodule directory: git pull
rwan
Posts: 1
Joined: Fri Feb 24, 2017 11:43 am

Re: compilation error

Postby rwan » Wed Mar 08, 2017 10:53 am

hello ...
could you inspect this error ?



10:46:10: Exécution des étapes pour le projet rolisteam...
10:46:10: Configuration inchangée, étape qmake sautée.
10:46:10: Débute : "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe"
C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory 'C:/build-rolisteam-Desktop_Qt_5_8_0_MinGW_32bit-Debug'
g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -w -frtti -fexceptions -mthreads -DUNICODE -DMINGWCC_ -DHAVE_SOUND -DVERSION_MAJOR=1 -DVERSION_MIDDLE=8 -DVERSION_MINOR=0 -DZLIB_WINAPI -DQT_PRINTSUPPORT_LIB -DQT_QUICKWIDGETS_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQT_QML_DEBUG -DQT_NEEDS_QMAIN -I..\rolisteam-master -I. -I..\rolisteam-master -I..\rolisteam-master\src -I..\rolisteam-master\src\odt\format_OO_oasis_ -I..\rolisteam-master\src\odt\src -I..\rolisteam-master\src\widgets\MRichTextEditor -I..\rolisteam-master\src\audio -I..\..\lib\zlibapi\include -I..\Qt\5.8\mingw53_32\include -I..\Qt\5.8\mingw53_32\include\QtPrintSupport -I..\Qt\5.8\mingw53_32\include\QtQuickWidgets -I..\Qt\5.8\mingw53_32\include\QtOpenGL -I..\Qt\5.8\mingw53_32\include\QtWidgets -I..\Qt\5.8\mingw53_32\include\QtMultimedia -I..\Qt\5.8\mingw53_32\include\QtQuick -I..\Qt\5.8\mingw53_32\include\QtGui -I..\Qt\5.8\mingw53_32\include\QtANGLE -I..\Qt\5.8\mingw53_32\include\QtQml -I..\Qt\5.8\mingw53_32\include\QtNetwork -I..\Qt\5.8\mingw53_32\include\QtXml -I..\Qt\5.8\mingw53_32\include\QtCore -Ibin -Isrc -I..\Qt\5.8\mingw53_32\mkspecs\win32-g++ -o bin\vmap.o ..\rolisteam-master\src\vmap\vmap.cpp
In file included from ..\rolisteam-master\src\vmap\vmap.cpp:10:0:
..\rolisteam-master\src/data/character.h:26:43: fatal error: charactersheet/charactersheet.h: No such file or directory
compilation terminated.

Makefile.Debug:21565: recipe for target 'bin/vmap.o' failed
mingw32-make[1]: *** [bin/vmap.o] Error 1
mingw32-make[1]: Leaving directory 'C:/build-rolisteam-Desktop_Qt_5_8_0_MinGW_32bit-Debug'
Makefile:34: recipe for target 'debug' failed
mingw32-make: *** [debug] Error 2
10:46:11: Le processus "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" s'est terminé avec le code 2.
Erreur lors de la compilation/déploiement du projet rolisteam (kit : Desktop Qt 5.8.0 MinGW 32bit)
When executing step "Make"



i am not a dev at all but i tried ...
10:46:11: Temps écoulé : 00:02.
User avatar
renaud
Site Admin
Posts: 177
Joined: Sun Mar 29, 2015 12:56 pm

Re: compilation error

Postby renaud » Wed Mar 08, 2017 5:56 pm

when you clone the project, did you do a "git clone --recursive" ? This error occurs because the charactersheet submodule is not into your project.

You have to get it. It could be done with git commands (such as git submodule init, git submodule update and so on).

Who is online

Users browsing this forum: No registered users and 1 guest

cron