PS C:UsersalikhOneDriveDesktopVectras> flet build windows
Creating Flutter bootstrap project from gh:flet-dev/flet-build-template with ref 0.22.1…OK
Customizing app icons and splash images…OK
Generating app icons…OK
Packaging Python app…OK
Building Windows app…Resolving dependencies…
fl_chart 0.65.0 (0.68.0 available)
flutter_lints 2.0.3 (4.0.0 available)
flutter_markdown 0.6.23 (0.7.1 available)
flutter_native_splash 2.3.7 (2.4.0 available)
intl 0.18.1 (0.19.0 available)
js 0.6.7 (0.7.1 available)
leak_tracker 10.0.0 (10.0.5 available)
leak_tracker_flutter_testing 2.0.1 (3.0.5 available)
leak_tracker_testing 2.0.1 (3.0.1 available)
lints 2.1.1 (4.0.0 available)
material_color_utilities 0.8.0 (0.11.1 available)
meta 1.11.0 (1.15.0 available)
package_info_plus 4.2.0 (8.0.0 available)
package_info_plus_platform_interface 2.0.1 (3.0.0 available)
petitparser 5.4.0 (6.0.2 available)
sensors_plus 4.0.2 (5.0.1 available)
test_api 0.6.1 (0.7.1 available)
toml 0.14.0 (0.15.0 available)
vm_service 13.0.0 (14.2.2 available)
web_socket_channel 2.4.5 (3.0.0 available)
win32 5.5.0 (5.5.1 available)
xml 6.3.0 (6.5.0 available)
Got dependencies!
22 packages have newer versions incompatible with dependency constraints.
Try flutter pub outdated
for more information.
windows/flutter/CMakeLists.txt does not use FLUTTER_TARGET_PLATFORM, updating.
Building Windows application…
Building Windows application… 93.6s
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate
directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental
build. [C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64ZERO_CHECK.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate
directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental
build.
[C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64pluginsserious_python_windowsCopy
PythonDLLs.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate
directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental
build.
[C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64flutterflutter_assemble.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate
directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental
build.
[C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64flutterflutter_wrapper_app.vcxproj
]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate
directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental
build.
[C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64flutterflutter_wrapper_plugin.vcxp
roj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate
directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental
build.
[C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64pluginsscreen_retrieverscreen_ret
riever_plugin.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate
directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental
build.
[C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64pluginsserious_python_windowsseri
ous_python_windows_plugin.vcxproj]
C:Program Files (x86)Microsoft Visual Studio2022BuildToolsVCToolsMSVC14.39.33519includeformat(42): warning
STL4038: The contents of are available only with C++20 or later.
[C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64pluginsserious_python_windowsseri
ous_python_windows_plugin.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate
directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental
build.
[C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64pluginsurl_launcher_windowsurl_la
uncher_windows_plugin.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate
directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental
build.
[C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64pluginswindow_managerwindow_manag
er_plugin.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate
directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental
build.
[C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64pluginswindow_to_frontwindow_to_f
ront_plugin.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate
directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental
build. [C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64runnervectras.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate
directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental
build. [C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64ALL_BUILD.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate
directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental
build. [C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64INSTALL.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppCommon.targets(166,5): error MSB3073: The command
“setlocal [C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64INSTALL.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppCommon.targets(166,5): error MSB3073: “C:Program Files
(x86)Microsoft Visual Studio2022BuildToolsCommon7IDECommonExtensionsMicrosoftCMakeCMakebincmake.exe”
-DBUILD_TYPE=Release -P cmake_install.cmake
[C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64INSTALL.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppCommon.targets(166,5): error MSB3073: if %errorlevel%
neq 0 goto :cmEnd [C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64INSTALL.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppCommon.targets(166,5): error MSB3073: :cmEnd
[C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64INSTALL.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppCommon.targets(166,5): error MSB3073: endlocal & call
:cmErrorLevel %errorlevel% & goto :cmDone
[C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64INSTALL.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppCommon.targets(166,5): error MSB3073: :cmErrorLevel
[C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64INSTALL.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppCommon.targets(166,5): error MSB3073: exit /b %1
[C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64INSTALL.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppCommon.targets(166,5): error MSB3073: :cmDone
[C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64INSTALL.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppCommon.targets(166,5): error MSB3073: if %errorlevel%
neq 0 goto :VCEnd [C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64INSTALL.vcxproj]
C:Program Files (x86)Microsoft Visual
Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppCommon.targets(166,5): error MSB3073: :VCEnd” exited
with code 1. [C:UsersalikhAppDataLocalTempflet_flutter_build_y22rcwaC92buildwindowsx64INSTALL.vcxproj]
Build process failed.
Error building Flet app – see the log of failed command above.
Please help me i am unable to understand the cause and also please tell me how i cn fix it
Ali Bhai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.