-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Open
Copy link
Labels
a: buildBuilding flutter applications with the toolBuilding flutter applications with the toolc: regressionIt was better in the past than it is nowIt was better in the past than it is nowplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform teamOwned by the Windows platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Steps to reproduce:
Go to windows\flutter\CMakeLists.txt and replace
if (NOT DEFINED FLUTTER_TARGET_PLATFORM)
set(FLUTTER_TARGET_PLATFORM "windows-x64")
endif()With
set(FLUTTER_TARGET_PLATFORM "windows-x64")Execute
flutter build windowsThe following error will occur
PS C:\Users\swiftsoft\IdeaProjects\untitled> flutter build windows
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'C:\Users\swiftsoft\IdeaProjects\untitled\build\windows\arm64\CMakeFiles\ef4d867e2133f84f4c9f11a29a896316\flutter_windows.dll.rule;C:\Users\swiftsoft\IdeaProjects\untitled\build\windows\arm64\CMakeFiles\370df9b0f34fb846523f55aa1b4e6de0\flutter_assemble.rule' exited with code 1. [C:\Users\swiftsoft\IdeaProjects\untitled\build\windows\arm64\flutter\flutter_assemble.vcxproj]
Building Windows application... 10.4s
Build process failed.
Are there any new places where something has to be disabled to stop building arm version of the app?
Metadata
Metadata
Assignees
Labels
a: buildBuilding flutter applications with the toolBuilding flutter applications with the toolc: regressionIt was better in the past than it is nowIt was better in the past than it is nowplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform teamOwned by the Windows platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.