Compilation failure with VS2015



  • I am trying to compile Qt with VS2015 Windows 10.
    I've managed to compile it recently but now it fails with:

    jom: C:\SDKs\Qt\5.5\vs2015\qt5\qtdeclarative\src\qml\Makefile.Debug [.generated\debug\RegExpJitTables.h] Error 1
    jom: C:\SDKs\Qt\5.5\vs2015\qt5\qtdeclarative\src\qml\Makefile [debug] Error 2
    jom: C:\SDKs\Qt\5.5\vs2015\qt5\qtdeclarative\src\Makefile [sub-qml-make_first-ordered] Error 2
    jom: C:\SDKs\Qt\5.5\vs2015\qt5\qtdeclarative\Makefile [sub-src-make_first] Error 2
    jom: C:\SDKs\Qt\5.5\vs2015\qt5\Makefile [module-qtdeclarative-make_first] Error 2

    Do you have any idea what's the reason? I tried the git repo and the .zipped sources.


  • Moderators

    Looking at the paths (5.6.0) I'm guessing you're trying to compile an unreleased dev version? Depending on the branch it might not be stable.

    Have you tried 5.5.0? I've compiled 5.5.0 with VS2015 from sources that I got from the online installer and it went smoothly.



  • Sorry about that. Please ignore that I posted the wrong snippet but the error is the same (I'll leave it as is). So to answer your question: Yes I did tried to compile 5.5.0 twice.

    I tried to compile without webkit.

    I checked out twice then I got the source from here: http://www.qt.io/download-open-source/#section-2
    I got the same error every time.

    As I said a couple of weeks ago I compiled successfully but then I wanted to clean install Windows 10, so it is a different installation of Windows 10 and VS2015.

    Here are the last few lines when I compiled from the zipped sources:

    C:\SDKs\Qt\5.5\qt5-source\qtbase\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_INTEGER_EVENT_COORDINATES -D_CRT_SECURE_NO_WARNINGS -DQT_BUILD_QML_LIB -DQT_BUILDING_QT -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DWTF_EXPORT_PRIVATE= -DJS_EXPORT_PRIVATE= -DWTFReportAssertionFailure=qmlWTFReportAssertionFailure -DWTFReportBacktrace=qmlWTFReportBacktrace -DWTFInvokeCrashHook=qmlWTFInvokeCrashHook -DNOMINMAX -DENABLE_LLINT=0 -DENABLE_DFG_JIT=0 -DENABLE_DFG_JIT_UTILITY_METHODS=1 -DENABLE_JIT_CONSTANT_BLINDING=0 -DBUILDING_QT__ -DWTF_USE_UDIS86=0 -DNDEBUG -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -D_MSC_VER=1900 -D_WIN32 -D_WIN64 -IC:/SDKs/Qt/5.5/qt5-source/qtbase/mkspecs/win32-msvc2015 -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/include -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/include/QtQml -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/include/QtQml/5.5.0 -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/include/QtQml/5.5.0/QtQml -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml/tmp -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml/compiler -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm/jit -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm/assembler -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm/runtime -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm/wtf -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm/stubs -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm/stubs/wtf -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm/disassembler -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm/disassembler/udis86 -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml/jit -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml/.generated/release -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml/jsruntime -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/double-conversion -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml/debugger -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml/animations -IC:/SDKs/Qt/5.5/qt5-source/qtbase/include/QtCore/5.5.0 -IC:/SDKs/Qt/5.5/qt5-source/qtbase/include/QtCore/5.5.0/QtCore -IC:/SDKs/Qt/5.5/qt5-source/qtbase/include -IC:/SDKs/Qt/5.5/qt5-source/qtbase/include/QtNetwork -IC:/SDKs/Qt/5.5/qt5-source/qtbase/include/QtCore jsapi\qjsengine.h -o .moc\release\moc_qjsengine.cpp
    C:\SDKs\Qt\5.5\qt5-source\qtbase\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_INTEGER_EVENT_COORDINATES -D_CRT_SECURE_NO_WARNINGS -DQT_BUILD_QML_LIB -DQT_BUILDING_QT -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DWTF_EXPORT_PRIVATE= -DJS_EXPORT_PRIVATE= -DWTFReportAssertionFailure=qmlWTFReportAssertionFailure -DWTFReportBacktrace=qmlWTFReportBacktrace -DWTFInvokeCrashHook=qmlWTFInvokeCrashHook -DNOMINMAX -DENABLE_LLINT=0 -DENABLE_DFG_JIT=0 -DENABLE_DFG_JIT_UTILITY_METHODS=1 -DENABLE_JIT_CONSTANT_BLINDING=0 -DBUILDING_QT__ -DWTF_USE_UDIS86=0 -DNDEBUG -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -D_MSC_VER=1900 -D_WIN32 -D_WIN64 -IC:/SDKs/Qt/5.5/qt5-source/qtbase/mkspecs/win32-msvc2015 -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/include -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/include/QtQml -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/include/QtQml/5.5.0 -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/include/QtQml/5.5.0/QtQml -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml/tmp -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml/compiler -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm/jit -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm/assembler -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm/runtime -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm/wtf -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm/stubs -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm/stubs/wtf -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm/disassembler -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/masm/disassembler/udis86 -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml/jit -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml/.generated/release -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml/jsruntime -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/3rdparty/double-conversion -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml/debugger -IC:/SDKs/Qt/5.5/qt5-source/qtdeclarative/src/qml/animations -IC:/SDKs/Qt/5.5/qt5-source/qtbase/include/QtCore/5.5.0 -IC:/SDKs/Qt/5.5/qt5-source/qtbase/include/QtCore/5.5.0/QtCore -IC:/SDKs/Qt/5.5/qt5-source/qtbase/include -IC:/SDKs/Qt/5.5/qt5-source/qtbase/include/QtNetwork -IC:/SDKs/Qt/5.5/qt5-source/qtbase/include/QtCore qml\qqmlexpression.h -o .moc\release\moc_qqmlexpression.cpp
    c:\sdks\qt\5.5\qt5-source\qtbase\include\qtcore../../src/corelib/global/qflags.h(52): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
    jom: C:\SDKs\Qt\5.5\qt5-source\qtdeclarative\src\qml\Makefile.Release [.generated\release\RegExpJitTables.h] Error 1
    jom: C:\SDKs\Qt\5.5\qt5-source\qtdeclarative\src\qml\Makefile [release] Error 2
    jom: C:\SDKs\Qt\5.5\qt5-source\qtdeclarative\src\Makefile [sub-qml-make_first-ordered] Error 2
    jom: C:\SDKs\Qt\5.5\qt5-source\qtdeclarative\Makefile [sub-src-make_first] Error 2
    jom: C:\SDKs\Qt\5.5\qt5-source\Makefile [module-qtdeclarative-make_first] Error 2



  • I got a boat load of "Untested Windows 10" error messages during compilation with VS 2013 so went back to a Windows 7 machine - could your issues be to do with Windows 10?



  • @MikePelton
    I have no idea but I have compiled it once already.



  • Same problem here. Have you found any solution??


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.