Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
Qt Creator 10.0.0-beta1
-
None
Description
Hi all,
QTCreator failed to build due to 'error MSB3073: The command "setlocal' on windows with MSVC Target ARM64EC, it can be reproduced on master branch ef11da3 commit, Could you please help look at this issue? Thanks in advance.
Repro steps:
1.git clone --recurse-submodules https://github.com/qt-creator/qt-creator F:\gitP\qt-creator\qt-creator
2.Open a VS 2019 x64 Command Prompt && cd F:\gitP\qt-creator\qt-creator && mkdir build_amd64ec && cd build_amd64ec
3."C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=arm64
4. cmake -G "Visual Studio 16 2019" -A ARM64EC -DCMAKE_SYSTEM_VERSION=10.0.22618.0 -DCMAKE_BUILD_TYPE=Release "-DCMAKE_PREFIX_PATH=F:\tools\qt6\qt\6.3.2\msvc2019_64;F:\tools\libclang-release_130-based-windows-vs2019_64\libclang" ..
5. msbuild /m /p:Platform=ARM64EC /p:Configuration=Release QtCreator.sln /t:Rebuild
ErrorMessage:
269>EXEC : error : Target (for copy_if_different command) "F:/gitP/qt-creator/qt-creator/build_amd64ec/lib/qtcreatorcdbextarm64/" is not a directory. [F:\gitP\qt-creator\qt-creator\build_amd64ec\src\libs\qtcreatorcdbext\copy_python_dll.vcxproj]
...
269>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: The command "setlocal [F:\gitP\qt-creator\qt-creator\build_amd64ec\src\libs\qtcreatorcdbext\copy_python_dll.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: "C:\Program Files\CMake\bin\cmake.exe" -E copy_if_different C:/Python39/python39.dll F:/gitP/qt-creator/qt-creator/build_amd64ec/src/libs/qtcreatorcdbext/python39.zip F:/gitP/qt-creator/qt-creator/build_amd64ec/lib/qtcreatorcdbextarm64/ [F:\gitP\qt-creator\qt-creator\build_amd64ec\src\libs\qtcreatorcdbext\copy_python_dll.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [F:\gitP\qt-creator\qt-creator\build_amd64ec\src\libs\qtcreatorcdbext\copy_python_dll.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmEnd [F:\gitP\qt-creator\qt-creator\build_amd64ec\src\libs\qtcreatorcdbext\copy_python_dll.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [F:\gitP\qt-creator\qt-creator\build_amd64ec\src\libs\qtcreatorcdbext\copy_python_dll.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmErrorLevel [F:\gitP\qt-creator\qt-creator\build_amd64ec\src\libs\qtcreatorcdbext\copy_python_dll.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: exit /b %1 [F:\gitP\qt-creator\qt-creator\build_amd64ec\src\libs\qtcreatorcdbext\copy_python_dll.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmDone [F:\gitP\qt-creator\qt-creator\build_amd64ec\src\libs\qtcreatorcdbext\copy_python_dll.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [F:\gitP\qt-creator\qt-creator\build_amd64ec\src\libs\qtcreatorcdbext\copy_python_dll.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :VCEnd" exited with code 1. [F:\gitP\qt-creator\qt-creator\build_amd64ec\src\libs\qtcreatorcdbext\copy_python_dll.vcxproj]
269>Done Building Project "F:\gitP\qt-creator\qt-creator\build_amd64ec\src\libs\qtcreatorcdbext\copy_python_dll.vcxproj" (Rebuild target(s)) – FAILED.
155>Done Building Project "F:\gitP\qt-creator\qt-creator\build_amd64ec\src\libs\qtcreatorcdbext\copy_python_dll.vcxproj.metaproj" (Rebuild target(s)) – FAILED.