lundi 4 juin 2018

MSBUILD: error MSB4166: Child node "2" prematurely exited

I build source code qt5 with vs2017 professnal 15.4.1 win10 64 and get error in MSBuild_failure.txt in temp folder.

1> cd generic\ && ( if not exist Makefile D:\Project\FAST-master\Build\external\qt5\qtbase\bin\qmake.exe -o Makefile D:\Project\FAST-master\Build\external\qt5\src\qt5\qtbase\src\plugins\bearer\generic\generic.pro ) && "D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\nmake.exe" -f Makefile 1> "D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\nmake.exe" -f Makefile.Release 1> cl -BxD:\Project\FAST-master\Build\external\qt5\qtbase\bin\qmake.exe -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -O2 -MD -utf-8 /wd4530 /wd4577 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -E D:\Project\FAST-master\Build\external\qt5\src\qt5\qtbase\mkspecs\features\data\dummy.cpp 2>NUL >.moc\release\moc_predefs.h 1> D:\Project\FAST-master\Build\external\qt5\qtbase\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -DNDEBUG -D_WINDLL --compiler-flavor=msvc --include .moc/release/moc_predefs.h -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/mkspecs/win32-msvc -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/src/plugins/bearer/generic -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/include/QtNetwork/5.10.1 -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/include/QtNetwork/5.10.1/QtNetwork -ID:/Project/FAST-master/Build/external/qt5/qtbase/include/QtNetwork/5.10.1 -ID:/Project/FAST-master/Build/external/qt5/qtbase/include/QtNetwork/5.10.1/QtNetwork -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/include/QtCore/5.10.1 -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/include/QtCore/5.10.1/QtCore -ID:/Project/FAST-master/Build/external/qt5/qtbase/include/QtCore/5.10.1 -ID:/Project/FAST-master/Build/external/qt5/qtbase/include/QtCore/5.10.1/QtCore -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/include -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/include/QtNetwork -ID:/Project/FAST-master/Build/external/qt5/qtbase/include -ID:/Project/FAST-master/Build/external/qt5/qtbase/include/QtNetwork -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/include/QtCore -ID:/Project/FAST-master/Build/external/qt5/qtbase/include/QtCore -I. -I"D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.10.25017\include" -I"D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.10.25017\atlmfc\include" -I"D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\VS\include" -I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\ucrt" -I"D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\VS\UnitTest\include" -I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um" -I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\shared" -I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\winrt" -IInclude\um D:\Project\FAST-master\Build\external\qt5\src\qt5\qtbase\src\plugins\bearer\qnetworksession_impl.cpp -o .moc\release\qnetworksession_impl.moc 1> D:\Project\FAST-master\Build\external\qt5\qtbase\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -DNDEBUG -D_WINDLL --compiler-flavor=msvc --include .moc/release/moc_predefs.h -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/mkspecs/win32-msvc -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/src/plugins/bearer/generic -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/include/QtNetwork/5.10.1 -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/include/QtNetwork/5.10.1/QtNetwork -ID:/Project/FAST-master/Build/external/qt5/qtbase/include/QtNetwork/5.10.1 -ID:/Project/FAST-master/Build/external/qt5/qtbase/include/QtNetwork/5.10.1/QtNetwork -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/include/QtCore/5.10.1 -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/include/QtCore/5.10.1/QtCore -ID:/Project/FAST-master/Build/external/qt5/qtbase/include/QtCore/5.10.1 -ID:/Project/FAST-master/Build/external/qt5/qtbase/include/QtCore/5.10.1/QtCore -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/include -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/include/QtNetwork -ID:/Project/FAST-master/Build/external/qt5/qtbase/include -ID:/Project/FAST-master/Build/external/qt5/qtbase/include/QtNetwork -ID:/Project/FAST-master/Build/external/qt5/src/qt5/qtbase/include/QtCore -ID:/Project/FAST-master/Build/external/qt5/qtbase/include/QtCore -I. -I"D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.10.25017\include" -I"D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.10.25017\atlmfc\include" -I"D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\VS\include" -I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\ucrt" -I"D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\VS\UnitTest\include" -I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um" -I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\shared" -I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\winrt" -IInclude\um D:\Project\FAST-master\Build\external\qt5\src\qt5\qtbase\src\plugins\bearer\generic\main.cpp -o .moc\release\main.moc 1>MSBUILD : error MSB4166: MSBUILD: error MSB4166: Child node "2" prematurely exited. Closing. You can find the diagnostic information in the file named MSBuild _ *. Failure.txt in the temporary file directory.

And I found the error in MSBuild_39ebf552-cb19-4a8b-a728-d7d5dd58cf82.failure.txt: UNHANDLED EXCEPTIONS FROM PROCESS 16956: 2018/5/23 14:13:02 System.IndexOutOfRangeException: Index was outside the bounds of the array.。

And I have set the multi process to no and still get the same problem.

Aucun commentaire:

Enregistrer un commentaire