Qt6.1.2 MSVC 2019 Build error
-
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?
-
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?
@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? -
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
@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. -
@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