Unsolved Error in compile qt 5.9.1 for qgroundcontrol source code (GitHub)
-
Hello all,
I have a problem with building qgroundcontrol source code from github (https://github.com/mavlink/qgroundcontrol),
my operating system is windows7-64 bit and I downloaded qt qreator (qt-opensource-windows-x86-5.9.1.exe) and checkmarked mscv2015, mscv2017-64bit, mscv2017-32bit,... during install,
and installed visual studio 2017 (64bit).
I set kit MSVC2015 32bit, compiler: Microsoft Visual C++ Compiler 15.0 (x86), Debugger: C:\Qt\Qt5.9.1\Tools\mingw530_32\bin\gdb.exe and Cmake: C:\Qt\Qt5.9.1\5.9.1\msvc2015\bin\qmake.exe (this path also is defined as environment variable)
I get error, when I compile the project: compile outputIt's very necessary to solve this, please help me
Thanks in advance for your assistance....---------------------------------------- compile output -------------------------------
10:16:40: Running steps for project qgroundcontrol...
10:16:40: Configuration unchanged, skipping qmake step.
10:16:40: Starting: "C:\Qt\Qt5.9.1\Tools\QtCreator\bin\jom.exe"
C:\Qt\Qt5.9.1\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zi -MDd -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc /Fddebug\qgroundcontrol.vc.pdb -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I..\qgroundcontrol -I. -I..\qgroundcontrol -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\include -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\include\QtGui -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\include\QtANGLE -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\include\QtCore -Idebug -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\mkspecs\win32-msvc -Fodebug\ @C:\Users\win8.1\AppData\Local\Temp\CodingStyle.obj.4672.969.jom
CodingStyle.cc
d:\8-ground station\qgroundcontrol\CodingStyle.h(23): fatal error C1083: Cannot open include file: 'Fact.h': No such file or directory
jom: D:\8-GROUND STATION\build-qgroundcontrol-Desktop_Qt_5_9_1_MSVC2015_32bit-Debug\Makefile.Debug [debug\CodingStyle.obj] Error 2
cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zi -MDd -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc /Fddebug\qgroundcontrol.vc.pdb -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I..\qgroundcontrol -I. -I..\qgroundcontrol -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\include -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\include\QtGui -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\include\QtANGLE -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\include\QtCore -Idebug -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\mkspecs\win32-msvc -Fodebug\ @C:\Users\win8.1\AppData\Local\Temp\JsonHelper.obj.4672.984.jom
JsonHelper.cc
d:\8-ground station\qgroundcontrol\src\JsonHelper.h(15): fatal error C1083: Cannot open include file: 'QGeoCoordinate': No such file or directory
LogCompressor.cc
cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zi -MDd -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc /Fddebug\qgroundcontrol.vc.pdb -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I..\qgroundcontrol -I. -I..\qgroundcontrol -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\include -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\include\QtGui -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\include\QtANGLE -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\include\QtCore -Idebug -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\mkspecs\win32-msvc -Fodebug\ @C:\Users\win8.1\AppData\Local\Temp\QGCComboBox.obj.4672.1000.jom
QGCComboBox.cc
d:\8-ground station\qgroundcontrol\src\QGCComboBox.h(14): fatal error C1083: Cannot open include file: 'QComboBox': No such file or directory
QGCDockWidget.cc
d:\8-ground station\qgroundcontrol\src\QGCDockWidget.h(14): fatal error C1083: Cannot open include file: 'QDockWidget': No such file or directory
QGCFileDownload.cc
d:\8-ground station\qgroundcontrol\src\QGCFileDownload.h(14): fatal error C1083: Cannot open include file: 'QNetworkReply': No such file or directory
QGCGeo.cc
d:\8-ground station\qgroundcontrol\src\QGCGeo.h(21): fatal error C1083: Cannot open include file: 'QGeoCoordinate': No such file or directory
QGCMapPalette.cc
cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zi -MDd -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc /Fddebug\qgroundcontrol.vc.pdb -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I..\qgroundcontrol -I. -I..\qgroundcontrol -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\include -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\include\QtGui -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\include\QtANGLE -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\include\QtCore -Idebug -IC:\Qt\Qt5.9.1\5.9.1\msvc2015\mkspecs\win32-msvc -Fodebug\ @C:\Users\win8.1\AppData\Local\Temp\QGCPalette.obj.4672.1000.jom
QGCPalette.cc
d:\8-ground station\qgroundcontrol\src\QGCApplication.h(22): fatal error C1083: Cannot open include file: 'QApplication': No such file or directory
QGCQFileDialog.cc
..\qgroundcontrol\src\QGCMapPalette.cc(13): fatal error C1083: Cannot open include file: 'QApplication': No such file or directory
Generating Code...
jom: D:\8-GROUND STATION\build-qgroundcontrol-Desktop_Qt_5_9_1_MSVC2015_32bit-Debug\Makefile.Debug [debug\QGCComboBox.obj] Error 2
d:\8-ground station\qgroundcontrol\src\QGCApplication.h(22): fatal error C1083: Cannot open include file: 'QApplication': No such file or directory
main.cc
d:\8-ground station\qgroundcontrol\src\QGCQFileDialog.h(19): fatal error C1083: Cannot open include file: 'QFileDialog': No such file or directory
QGCQGeoCoordinate.cc
..\qgroundcontrol\src\main.cc(19): fatal error C1083: Cannot open include file: 'QApplication': No such file or directory
MobileScreenMgr.cc
..\qgroundcontrol\src\MobileScreenMgr.cc(13): fatal error C1083: Cannot open include file: 'QtAndroidExtras/QtAndroidExtras': No such file or directory
QGCApplication.cc
d:\8-ground station\qgroundcontrol\src\QGCQGeoCoordinate.h(13): fatal error C1083: Cannot open include file: 'QGeoCoordinate': No such file or directory
QGCQuickWidget.cc
d:\8-ground station\qgroundcontrol\src\QGCQuickWidget.h(14): fatal error C1083: Cannot open include file: 'QQuickWidget': No such file or directory
QGCTemporaryFile.cc
..\qgroundcontrol\src\QGCApplication.cc(22): fatal error C1083: Cannot open include file: 'QDesktopWidget': No such file or directory
Generating Code...
jom: D:\8-GROUND STATION\build-qgroundcontrol-Desktop_Qt_5_9_1_MSVC2015_32bit-Debug\Makefile.Debug [debug\JsonHelper.obj] Error 2
Generating Code...
jom: D:\8-GROUND STATION\build-qgroundcontrol-Desktop_Qt_5_9_1_MSVC2015_32bit-Debug\Makefile.Debug [debug\QGCPalette.obj] Error 2
jom: D:\8-GROUND STATION\build-qgroundcontrol-Desktop_Qt_5_9_1_MSVC2015_32bit-Debug\Makefile [debug] Error 2
10:16:45: The process "C:\Qt\Qt5.9.1\Tools\QtCreator\bin\jom.exe" exited with code 2.
Error while building/deploying project qgroundcontrol (kit: Desktop Qt 5.9.1 MSVC2015 32bit)
The kit Desktop Qt 5.9.1 MSVC2015 32bit has configuration issues which might be the root cause for this problem.
When executing step "Make"
10:16:45: Elapsed time: 00:05. -
why you deleted my post instead of answering that???
could you explain me at least....
thanks -
Hi and welcome to devnet,
That's a question you should bring to the authors of QGroundControl. This is not an official Qt module nor application.