Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt6.1.2 MSVC 2019 Build error
QtWS25 Last Chance

Qt6.1.2 MSVC 2019 Build error

Scheduled Pinned Locked Moved Solved Installation and Deployment
7 Posts 4 Posters 919 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    loginmen
    wrote on last edited by loginmen
    #1

    I have Visual Studio 2019 16.10.3 and other tools:

    C:\Users\Alex>ninja --version
    1.10.2
    
    C:\Users\Alex>python --version
    Python 3.7.8
    
    C:\Users\Alex>perl --version
    
    This is perl 5, version 32, subversion 1 (v5.32.1) built for MSWin32-x64-multi-thread
    
    Copyright 1987-2021, Larry Wall
    
    Perl may be copied only under the terms of either the Artistic License or the
    GNU General Public License, which may be found in the Perl 5 source kit.
    
    Complete documentation for Perl, including FAQ lists, should be found on
    this system using "man perl" or "perldoc perl".  If you have access to the
    Internet, point your browser at http://www.perl.org/, the Perl Home Page.
    
    C:\Users\Alex>cmake --version
    cmake version 3.21.0
    
    CMake suite maintained and supported by Kitware (kitware.com/cmake).
    

    First i do that https://forum.qt.io/topic/123278/qt6-build-error-with-visual-studio-2019-and-qtquick3d/5 and give another error

    [4035/7543] Building CXX object qt3d\src\plugins\scenepars...__\3rdparty\assimp\src\contrib\pugixml\src\pugixml.cpp.obj
    FAILED: qt3d/src/plugins/sceneparsers/assimp/CMakeFiles/AssimpSceneImportPlugin.dir/__/__/__/3rdparty/assimp/src/contrib/pugixml/src/pugixml.cpp.obj
    C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1429~1.300\bin\Hostx64\x64\cl.exe  /nologo /TP -DASSIMP_BUILD_BOOST_WORKAROUND -DASSIMP_BUILD_NO_3DS_IMPORTER -DASSIMP_BUILD_NO_3D_IMPORTER -DASSIMP_BUILD_NO_3MF_IMPORTER -DASSIMP_BUILD_NO_AC_IMPORTER -DASSIMP_BUILD_NO_AMF_IMPORTER -DASSIMP_BUILD_NO_ASE_IMPORTER -DASSIMP_BUILD_NO_ASSBIN_IMPORTER -DASSIMP_BUILD_NO_B3D_IMPORTER -DASSIMP_BUILD_NO_BLEND_IMPORTER -DASSIMP_BUILD_NO_BVH_IMPORTER -DASSIMP_BUILD_NO_C4D_IMPORTER -DASSIMP_BUILD_NO_COB_IMPORTER -DASSIMP_BUILD_NO_COMPRESSED_IFC -DASSIMP_BUILD_NO_CSM_IMPORTER -DASSIMP_BUILD_NO_DXF_IMPORTER -DASSIMP_BUILD_NO_EXPORT -DASSIMP_BUILD_NO_HMP_IMPORTER -DASSIMP_BUILD_NO_IFC_IMPORTER -DASSIMP_BUILD_NO_IRRMESH_IMPORTER -DASSIMP_BUILD_NO_IRR_IMPORTER -DASSIMP_BUILD_NO_LIMITBONEWEIGHTS_PROCESS -DASSIMP_BUILD_NO_LWO_IMPORTER -DASSIMP_BUILD_NO_LWS_IMPORTER -DASSIMP_BUILD_NO_M3D_IMPORTER -DASSIMP_BUILD_NO_MD2_IMPORTER -DASSIMP_BUILD_NO_MD3_IMPORTER -DASSIMP_BUILD_NO_MD5_IMPORTER -DASSIMP_BUILD_NO_MDC_IMPORTER -DASSIMP_BUILD_NO_MDL_IMPORTER -DASSIMP_BUILD_NO_MMD_IMPORTER -DASSIMP_BUILD_NO_MS3D_IMPORTER -DASSIMP_BUILD_NO_NDO_IMPORTER -DASSIMP_BUILD_NO_NFF_IMPORTER -DASSIMP_BUILD_NO_OFF_IMPORTER -DASSIMP_BUILD_NO_OGRE_IMPORTER -DASSIMP_BUILD_NO_OPENGEX_IMPORTER -DASSIMP_BUILD_NO_OWN_ZLIB -DASSIMP_BUILD_NO_PLY_IMPORTER -DASSIMP_BUILD_NO_Q3BSP_IMPORTER -DASSIMP_BUILD_NO_Q3D_IMPORTER -DASSIMP_BUILD_NO_RAW_IMPORTER -DASSIMP_BUILD_NO_SIB_IMPORTER -DASSIMP_BUILD_NO_SMD_IMPORTER -DASSIMP_BUILD_NO_STEP_IMPORTER -DASSIMP_BUILD_NO_TERRAGEN_IMPORTER -DASSIMP_BUILD_NO_X3D_IMPORTER -DASSIMP_BUILD_NO_XGL_IMPORTER -DASSIMP_BUILD_NO_X_IMPORTER -DNOUNCRYPT -DQT_3DANIMATION_LIB -DQT_3DCORE_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_CFLAGS_SSE2 -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_STATICPLUGIN -DRAPIDJSON_HAS_STDSTRING=1 -DRAPIDJSON_NOMEMBERITERATORCLASS -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D_WIN64 -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\plugins\sceneparsers\assimp\AssimpSceneImportPlugin_autogen\include -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\plugins\sceneparsers\assimp -IC:\games\qt-everywhere-src-6.1.2\qtbase\include -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\.. -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\contrib\unzip -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\Blender -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\CApi -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\Collada -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\Common -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\FBX -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\Material -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\Obj -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\PostProcessing -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\glTF -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\glTF2 -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\irrXML -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\openddlparser\include -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\poly2tri -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\pugixml\src -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\pugixml\contrib -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\rapidjson\include -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\utf8cpp\source -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\include -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\include\assimp\Compiler -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\unzip -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DAnimation -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DCore -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtCore -IC:\games\qt-everywhere-src-6.1.2\qtbase\mkspecs\win32-msvc -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtGui -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtNetwork -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DRender -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtOpenGL -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\core -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DCore\6.1.2 -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DCore\6.1.2\Qt3DCore -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtConcurrent -IC:\games\qt-everywhere-src-6.1.2\qtbase\src\corelib -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtCore\6.1.2 -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtCore\6.1.2\QtCore -IC:\games\qt-everywhere-src-6.1.2\qtbase\src\gui -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtGui\6.1.2 -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtGui\6.1.2\QtGui -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DExtras -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DInput -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DLogic -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\render -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DRender\6.1.2 -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DRender\6.1.2\Qt3DRender -I"C:\Program Files\PostgreSQL\13\include" /DWIN32 /D_WINDOWS /GR /DNDEBUG -O2 -MD /W3 /EHsc -wd4100 -wd4189 -wd4267 -wd4996 -wd4828 /bigobj -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:externConstexpr -Zc:wchar_t -guard:cf -std:c++17 /YuC:/games/qt-everywhere-src-6.1.2/qt3d/src/plugins/sceneparsers/assimp/CMakeFiles/AssimpSceneImportPlugin.dir/cmake_pch.hxx /FpC:/games/qt-everywhere-src-6.1.2/qt3d/src/plugins/sceneparsers/assimp/CMakeFiles/AssimpSceneImportPlugin.dir/./cmake_pch.cxx.pch /FIC:/games/qt-everywhere-src-6.1.2/qt3d/src/plugins/sceneparsers/assimp/CMakeFiles/AssimpSceneImportPlugin.dir/cmake_pch.hxx /showIncludes /Foqt3d\src\plugins\sceneparsers\assimp\CMakeFiles\AssimpSceneImportPlugin.dir\__\__\__\3rdparty\assimp\src\contrib\pugixml\src\pugixml.cpp.obj /Fdqtbase\plugins\sceneparsers\Qt6AssimpSceneImportPlugin.pdb /FS -c C:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\pugixml\src\pugixml.cpp
    C:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\pugixml\src\pugixml.hpp(1442): fatal error C1001: Internal compiler error.
    (compiler file 'msc1.cpp', line 1603)
     To work around this problem, try simplifying or changing the program near the locations listed above.
    If possible please provide a repro here: https://developercommunity.visualstudio.com
    Please choose the Technical Support command on the Visual C++
     Help menu, or open the Technical Support help file for more information
    INTERNAL COMPILER ERROR in 'C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1429~1.300\bin\Hostx64\x64\cl.exe'
        Please choose the Technical Support command on the Visual C++
        Help menu, or open the Technical Support help file for more information
    [4048/7543] Building CXX object qt3d\src\plugins\scenepars...\CMakeFiles\GLTFSceneExportPlugin.dir\gltfexporter.cpp.obj
    ninja: build stopped: subcommand failed.
    

    How fix this error?

    jsulmJ 1 Reply Last reply
    0
    • L Offline
      L Offline
      loginmen
      wrote on last edited by
      #5

      build fine with -optimize-size -no-pch

      S 1 Reply Last reply
      1
      • L loginmen

        I have Visual Studio 2019 16.10.3 and other tools:

        C:\Users\Alex>ninja --version
        1.10.2
        
        C:\Users\Alex>python --version
        Python 3.7.8
        
        C:\Users\Alex>perl --version
        
        This is perl 5, version 32, subversion 1 (v5.32.1) built for MSWin32-x64-multi-thread
        
        Copyright 1987-2021, Larry Wall
        
        Perl may be copied only under the terms of either the Artistic License or the
        GNU General Public License, which may be found in the Perl 5 source kit.
        
        Complete documentation for Perl, including FAQ lists, should be found on
        this system using "man perl" or "perldoc perl".  If you have access to the
        Internet, point your browser at http://www.perl.org/, the Perl Home Page.
        
        C:\Users\Alex>cmake --version
        cmake version 3.21.0
        
        CMake suite maintained and supported by Kitware (kitware.com/cmake).
        

        First i do that https://forum.qt.io/topic/123278/qt6-build-error-with-visual-studio-2019-and-qtquick3d/5 and give another error

        [4035/7543] Building CXX object qt3d\src\plugins\scenepars...__\3rdparty\assimp\src\contrib\pugixml\src\pugixml.cpp.obj
        FAILED: qt3d/src/plugins/sceneparsers/assimp/CMakeFiles/AssimpSceneImportPlugin.dir/__/__/__/3rdparty/assimp/src/contrib/pugixml/src/pugixml.cpp.obj
        C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1429~1.300\bin\Hostx64\x64\cl.exe  /nologo /TP -DASSIMP_BUILD_BOOST_WORKAROUND -DASSIMP_BUILD_NO_3DS_IMPORTER -DASSIMP_BUILD_NO_3D_IMPORTER -DASSIMP_BUILD_NO_3MF_IMPORTER -DASSIMP_BUILD_NO_AC_IMPORTER -DASSIMP_BUILD_NO_AMF_IMPORTER -DASSIMP_BUILD_NO_ASE_IMPORTER -DASSIMP_BUILD_NO_ASSBIN_IMPORTER -DASSIMP_BUILD_NO_B3D_IMPORTER -DASSIMP_BUILD_NO_BLEND_IMPORTER -DASSIMP_BUILD_NO_BVH_IMPORTER -DASSIMP_BUILD_NO_C4D_IMPORTER -DASSIMP_BUILD_NO_COB_IMPORTER -DASSIMP_BUILD_NO_COMPRESSED_IFC -DASSIMP_BUILD_NO_CSM_IMPORTER -DASSIMP_BUILD_NO_DXF_IMPORTER -DASSIMP_BUILD_NO_EXPORT -DASSIMP_BUILD_NO_HMP_IMPORTER -DASSIMP_BUILD_NO_IFC_IMPORTER -DASSIMP_BUILD_NO_IRRMESH_IMPORTER -DASSIMP_BUILD_NO_IRR_IMPORTER -DASSIMP_BUILD_NO_LIMITBONEWEIGHTS_PROCESS -DASSIMP_BUILD_NO_LWO_IMPORTER -DASSIMP_BUILD_NO_LWS_IMPORTER -DASSIMP_BUILD_NO_M3D_IMPORTER -DASSIMP_BUILD_NO_MD2_IMPORTER -DASSIMP_BUILD_NO_MD3_IMPORTER -DASSIMP_BUILD_NO_MD5_IMPORTER -DASSIMP_BUILD_NO_MDC_IMPORTER -DASSIMP_BUILD_NO_MDL_IMPORTER -DASSIMP_BUILD_NO_MMD_IMPORTER -DASSIMP_BUILD_NO_MS3D_IMPORTER -DASSIMP_BUILD_NO_NDO_IMPORTER -DASSIMP_BUILD_NO_NFF_IMPORTER -DASSIMP_BUILD_NO_OFF_IMPORTER -DASSIMP_BUILD_NO_OGRE_IMPORTER -DASSIMP_BUILD_NO_OPENGEX_IMPORTER -DASSIMP_BUILD_NO_OWN_ZLIB -DASSIMP_BUILD_NO_PLY_IMPORTER -DASSIMP_BUILD_NO_Q3BSP_IMPORTER -DASSIMP_BUILD_NO_Q3D_IMPORTER -DASSIMP_BUILD_NO_RAW_IMPORTER -DASSIMP_BUILD_NO_SIB_IMPORTER -DASSIMP_BUILD_NO_SMD_IMPORTER -DASSIMP_BUILD_NO_STEP_IMPORTER -DASSIMP_BUILD_NO_TERRAGEN_IMPORTER -DASSIMP_BUILD_NO_X3D_IMPORTER -DASSIMP_BUILD_NO_XGL_IMPORTER -DASSIMP_BUILD_NO_X_IMPORTER -DNOUNCRYPT -DQT_3DANIMATION_LIB -DQT_3DCORE_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_CFLAGS_SSE2 -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_STATICPLUGIN -DRAPIDJSON_HAS_STDSTRING=1 -DRAPIDJSON_NOMEMBERITERATORCLASS -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D_WIN64 -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\plugins\sceneparsers\assimp\AssimpSceneImportPlugin_autogen\include -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\plugins\sceneparsers\assimp -IC:\games\qt-everywhere-src-6.1.2\qtbase\include -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\.. -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\contrib\unzip -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\Blender -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\CApi -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\Collada -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\Common -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\FBX -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\Material -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\Obj -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\PostProcessing -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\glTF -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\code\glTF2 -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\irrXML -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\openddlparser\include -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\poly2tri -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\pugixml\src -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\pugixml\contrib -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\rapidjson\include -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\utf8cpp\source -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\include -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\include\assimp\Compiler -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\unzip -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DAnimation -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DCore -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtCore -IC:\games\qt-everywhere-src-6.1.2\qtbase\mkspecs\win32-msvc -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtGui -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtNetwork -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DRender -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtOpenGL -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\core -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DCore\6.1.2 -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DCore\6.1.2\Qt3DCore -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtConcurrent -IC:\games\qt-everywhere-src-6.1.2\qtbase\src\corelib -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtCore\6.1.2 -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtCore\6.1.2\QtCore -IC:\games\qt-everywhere-src-6.1.2\qtbase\src\gui -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtGui\6.1.2 -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\QtGui\6.1.2\QtGui -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DExtras -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DInput -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DLogic -IC:\games\qt-everywhere-src-6.1.2\qt3d\src\render -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DRender\6.1.2 -IC:\games\qt-everywhere-src-6.1.2\qtbase\include\Qt3DRender\6.1.2\Qt3DRender -I"C:\Program Files\PostgreSQL\13\include" /DWIN32 /D_WINDOWS /GR /DNDEBUG -O2 -MD /W3 /EHsc -wd4100 -wd4189 -wd4267 -wd4996 -wd4828 /bigobj -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:externConstexpr -Zc:wchar_t -guard:cf -std:c++17 /YuC:/games/qt-everywhere-src-6.1.2/qt3d/src/plugins/sceneparsers/assimp/CMakeFiles/AssimpSceneImportPlugin.dir/cmake_pch.hxx /FpC:/games/qt-everywhere-src-6.1.2/qt3d/src/plugins/sceneparsers/assimp/CMakeFiles/AssimpSceneImportPlugin.dir/./cmake_pch.cxx.pch /FIC:/games/qt-everywhere-src-6.1.2/qt3d/src/plugins/sceneparsers/assimp/CMakeFiles/AssimpSceneImportPlugin.dir/cmake_pch.hxx /showIncludes /Foqt3d\src\plugins\sceneparsers\assimp\CMakeFiles\AssimpSceneImportPlugin.dir\__\__\__\3rdparty\assimp\src\contrib\pugixml\src\pugixml.cpp.obj /Fdqtbase\plugins\sceneparsers\Qt6AssimpSceneImportPlugin.pdb /FS -c C:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\pugixml\src\pugixml.cpp
        C:\games\qt-everywhere-src-6.1.2\qt3d\src\3rdparty\assimp\src\contrib\pugixml\src\pugixml.hpp(1442): fatal error C1001: Internal compiler error.
        (compiler file 'msc1.cpp', line 1603)
         To work around this problem, try simplifying or changing the program near the locations listed above.
        If possible please provide a repro here: https://developercommunity.visualstudio.com
        Please choose the Technical Support command on the Visual C++
         Help menu, or open the Technical Support help file for more information
        INTERNAL COMPILER ERROR in 'C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1429~1.300\bin\Hostx64\x64\cl.exe'
            Please choose the Technical Support command on the Visual C++
            Help menu, or open the Technical Support help file for more information
        [4048/7543] Building CXX object qt3d\src\plugins\scenepars...\CMakeFiles\GLTFSceneExportPlugin.dir\gltfexporter.cpp.obj
        ninja: build stopped: subcommand failed.
        

        How fix this error?

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #2

        @loginmen said in Qt6.1.2 MSVC 2019 Build error:

        fatal error C1001: Internal compiler error

        This is internal compiler error, nothing in Qt.
        Do you really need to build Qt by yourself?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • L Offline
          L Offline
          loginmen
          wrote on last edited by
          #3

          In pugixml.hpp(1442) include cpp file (wtf?). If comment this include build fine, but i think this something broken. All errors caused by qt source code. I want try static build

          jsulmJ 1 Reply Last reply
          0
          • L loginmen

            In pugixml.hpp(1442) include cpp file (wtf?). If comment this include build fine, but i think this something broken. All errors caused by qt source code. I want try static build

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #4

            @loginmen said in Qt6.1.2 MSVC 2019 Build error:

            All errors caused by qt source code

            Not really. You can clearly see that it is an internal compiler error (means: a bug in compiler itself).
            You can also ask on Qt developers mailing list.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • L Offline
              L Offline
              loginmen
              wrote on last edited by
              #5

              build fine with -optimize-size -no-pch

              S 1 Reply Last reply
              1
              • L loginmen

                build fine with -optimize-size -no-pch

                S Offline
                S Offline
                snik
                wrote on last edited by
                #6

                @loginmen said in Qt6.1.2 MSVC 2019 Build error:

                -optimize-size -no-pch

                could you explain where i must add that options.
                please show command line to build

                6 1 Reply Last reply
                0
                • S snik

                  @loginmen said in Qt6.1.2 MSVC 2019 Build error:

                  -optimize-size -no-pch

                  could you explain where i must add that options.
                  please show command line to build

                  6 Offline
                  6 Offline
                  6ziv
                  wrote on last edited by
                  #7

                  @snik just clean things up and add -no-pch when re-running configure.
                  the line that triggers this error is to include source file pugixml.cpp into the header.
                  And it seems such behavior prevents msvc from dealing with precompiled headers correctly.

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved