Загрузка данных
строка:1 знак:200
+ ... class="token operator">-</span>ErrorAction SilentlyContinue <span cla ...
+ ~
Оператор "<" зарезервирован для использования в будущем.
строка:1 знак:241
+ ... n SilentlyContinue <span class="token punctuation">|</span> <span cla ...
+ ~
Оператор "<" зарезервирован для использования в будущем.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : RedirectionNotSupported
PS C:\Projects\shots\scripts> <span><span class="token function">Get-ChildItem</span> <span class="token string">"C:\Program Files\Microsoft Visual Studio"</span> <span class="token operator">-</span>ErrorAction SilentlyContinue <span class="token punctuation">|</span> <span class="token function">Select-Object</span> Name</span>
строка:1 знак:57
+ <span><span class="token function">Get-ChildItem</span> <span class=" ...
+ ~
Оператор "<" зарезервирован для использования в будущем.
строка:1 знак:134
+ ... n string">"C:\Program Files\Microsoft Visual Studio"</span> <span cla ...
+ ~
Оператор "<" зарезервирован для использования в будущем.
строка:1 знак:200
+ ... class="token operator">-</span>ErrorAction SilentlyContinue <span cla ...
+ ~
Оператор "<" зарезервирован для использования в будущем.
строка:1 знак:241
+ ... n SilentlyContinue <span class="token punctuation">|</span> <span cla ...
+ ~
Оператор "<" зарезервирован для использования в будущем.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : RedirectionNotSupported
PS C:\Projects\shots\scripts> Get-ChildItem "C:\Program Files\Microsoft Visual Studio" -ErrorAction SilentlyContinue | Select-Object Name
Name
----
18
PS C:\Projects\shots\scripts>
PS C:\Projects\shots\scripts> & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\setup.exe"
PS C:\Projects\shots\scripts>
* History restored
PS C:\Projects\shots> Get-ChildItem "C:\Program Files\Microsoft Visual Studio" -ErrorAction SilentlyContinue | Select-Object Name
Name
----
18
PS C:\Projects\shots> & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -all -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property displayName,installationPath
PS C:\Projects\shots> & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\setup.exe"
PS C:\Projects\shots> & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -all -products * -property displayName,installationPath,installationVersion
PS C:\Projects\shots> flutter doctor -v
[√] Flutter (Channel stable, 3.47.5, on Microsoft Windows [Version 10.0.26200.9445], locale ru-RU) [458ms]
• Flutter version 3.47.5 on channel stable at C:\Projects\flutter-shots\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Engine revision af7e796e16
• Dart version 3.13.4
• DevTools version 2.60.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android,
enable-ios, cli-animations, enable-native-assets, enable-record-use, enable-swift-package-manager,
omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration
[√] Windows Version (Windows 11 or higher, 25H2, 2009) [1 396ms]
[X] Android toolchain - develop for Android devices [193ms]
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/to/windows-android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[√] Chrome - develop for the web [131ms]
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2019 16.11.40) [129ms]
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.11.35229.62
• Windows 10 SDK version 10.0.26100.0
[√] Connected device (3 available) [328ms]
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26200.9445]
• Chrome (web) • chrome • web-javascript • Google Chrome 149.0.7827.156
• Edge (web) • edge • web-javascript • Microsoft Edge 149.0.4022.80
[√] Network resources [504ms]
• All expected network resources are available.
! Doctor found issues in 1 category.
PS C:\Projects\shots>
* History restored
PS C:\Projects\shots> flutter doctor -v
[√] Flutter (Channel stable, 3.47.5, on Microsoft Windows [Version 10.0.26200.9445], locale ru-RU) [623ms]
• Flutter version 3.47.5 on channel stable at C:\Projects\flutter-shots\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 6a19cca564 (13 days ago), 2026-09-17 14:13:22 -0400
• Engine revision af7e796e16
• Dart version 3.13.4
• DevTools version 2.60.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android,
enable-ios, cli-animations, enable-native-assets, enable-record-use, enable-swift-package-manager,
omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration
[√] Windows Version (Windows 11 or higher, 25H2, 2009) [2,1s]
[X] Android toolchain - develop for Android devices [352ms]
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/to/windows-android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[√] Chrome - develop for the web [288ms]
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2026 Insiders [12224.323]) [286ms]
• Visual Studio at C:\Program Files\Microsoft Visual Studio\18\Insiders
• Visual Studio Community 2026 version 18.11.12224.323
• The current Visual Studio installation is a pre-release version. It may not be supported by Flutter yet.
• Windows 10 SDK version 10.0.26100.0
[√] Connected device (3 available) [220ms]
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26200.9445]
• Chrome (web) • chrome • web-javascript • Google Chrome 149.0.7827.156
• Edge (web) • edge • web-javascript • Microsoft Edge 149.0.4022.80
[√] Network resources [354ms]
• All expected network resources are available.
! Doctor found issues in 1 category.
PS C:\Projects\shots> cd .\scripts\
PS C:\Projects\shots\scripts> pwsh -File .\windows_release.ps1
Resolving dependencies... (1.9s)
Downloading packages... (1.1s)
cnativeapi 0.3.0 (0.4.0 available)
material_color_utilities 0.13.0 (0.13.1 available)
nativeapi 0.3.0 (0.4.0 available)
shell_executor 0.1.6 (0.3.0 available)
test_api 0.7.12 (0.7.14 available)
win32 5.15.0 (6.4.0 available)
xml 7.0.1 (7.1.0 available)
Got dependencies!
7 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
CMake Error: Error: generator : Visual Studio 18 2026
Does not match the generator used previously: Visual Studio 16 2019
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
Building Windows application... 203ms
Unable to generate build files
Exception: C:\Projects\shots\scripts\windows_release.ps1:7:28
Line |
7 | if ($LASTEXITCODE -ne 0) { throw "flutter build windows failed" }
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| flutter build windows failed
PS C:\Projects\shots\scripts> cd C:\Projects\shots
PS C:\Projects\shots> Remove-Item -Recurse -Force build -ErrorAction SilentlyContinue
PS C:\Projects\shots> Remove-Item -Recurse -Force windows\build -ErrorAction SilentlyContinue
PS C:\Projects\shots> flutter clean
Deleting .dart_tool... 13ms
Deleting ephemeral... 2ms
Deleting Generated.xcconfig... 1ms
Deleting flutter_export_environment.sh... 0ms
Deleting ephemeral... 3ms
Deleting ephemeral... 4ms
Deleting ephemeral... 21ms
Deleting .flutter-plugins-dependencies... 1ms
PS C:\Projects\shots> flutter pub get
Resolving dependencies...
Downloading packages...
cnativeapi 0.3.0 (0.4.0 available)
material_color_utilities 0.13.0 (0.13.1 available)
nativeapi 0.3.0 (0.4.0 available)
shell_executor 0.1.6 (0.3.0 available)
test_api 0.7.12 (0.7.14 available)
win32 5.15.0 (6.4.0 available)
xml 7.0.1 (7.1.0 available)
Got dependencies!
7 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
PS C:\Projects\shots> cd scripts
PS C:\Projects\shots\scripts> pwsh -File .\windows_release.ps1
Resolving dependencies...
Downloading packages...
cnativeapi 0.3.0 (0.4.0 available)
material_color_utilities 0.13.0 (0.13.1 available)
nativeapi 0.3.0 (0.4.0 available)
shell_executor 0.1.6 (0.3.0 available)
test_api 0.7.12 (0.7.14 available)
win32 5.15.0 (6.4.0 available)
xml 7.0.1 (7.1.0 available)
Got dependencies!
7 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\cnativeapi\cxx_impl\src\capi\menu_c.cpp(563,30): warning C4267: return: преобразование из "size_t" в "unsigned long"; возможна потеря данных [C:\Projects\shots\build\windows\x64\plugins\cnativeapi\shared\nativeapi\nativeapi.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\cnativeapi\cxx_impl\src\capi\preferences_c.cpp(124,25): warning C4267: return: преобразование из "size_t" в "unsigned long"; возможна потеря данных [C:\Projects\shots\build\windows\x64\plugins\cnativeapi\shared\nativeapi\nativeapi.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\cnativeapi\cxx_impl\src\capi\secure_storage_c.cpp(124,25): warning C4267: return: преобразование из "size_t" в "unsigned long"; возможна потеря данных [C:\Projects\shots\build\windows\x64\plugins\cnativeapi\shared\nativeapi\nativeapi.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\cnativeapi\cxx_impl\src\capi\string_utils_c.cpp(11,10): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Projects\shots\build\windows\x64\plugins\cnativeapi\shared\nativeapi\nativeapi.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\cnativeapi\cxx_impl\src\capi\menu_c.cpp(563,30): warning C4267: return: преобразование из "size_t" в "unsigned long"; возможна потеря данных [C:\Projects\shots\build\windows\x64\plugins\cnativeapi\shared\cnativeapi.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\cnativeapi\cxx_impl\src\capi\preferences_c.cpp(124,25): warning C4267: return: преобразование из "size_t" в "unsigned long"; возможна потеря данных [C:\Projects\shots\build\windows\x64\plugins\cnativeapi\shared\cnativeapi.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\cnativeapi\cxx_impl\src\capi\secure_storage_c.cpp(124,25): warning C4267: return: преобразование из "size_t" в "unsigned long"; возможна потеря данных [C:\Projects\shots\build\windows\x64\plugins\cnativeapi\shared\cnativeapi.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\cnativeapi\cxx_impl\src\capi\string_utils_c.cpp(11,10): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Projects\shots\build\windows\x64\plugins\cnativeapi\shared\cnativeapi.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\screen_capturer_windows\windows\frozen_region_selector.cpp(31,16): error C2589: (: недопустимая лексема справа от "::" [C:\Projects\shots\build\windows\x64\plugins\screen_capturer_windows\screen_capturer_windows_plugin.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\screen_capturer_windows\windows\frozen_region_selector.cpp(31,36): error C2589: (: недопустимая лексема справа от "::" [C:\Projects\shots\build\windows\x64\plugins\screen_capturer_windows\screen_capturer_windows_plugin.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\screen_capturer_windows\windows\frozen_region_selector.cpp(31,56): error C2589: (: недопустимая лексема справа от "::" [C:\Projects\shots\build\windows\x64\plugins\screen_capturer_windows\screen_capturer_windows_plugin.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\screen_capturer_windows\windows\frozen_region_selector.cpp(32,16): error C2589: (: недопустимая лексема справа от "::" [C:\Projects\shots\build\windows\x64\plugins\screen_capturer_windows\screen_capturer_windows_plugin.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\screen_capturer_windows\windows\frozen_region_selector.cpp(65,15): error C2589: (: недопустимая лексема справа от "::" [C:\Projects\shots\build\windows\x64\plugins\screen_capturer_windows\screen_capturer_windows_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(68,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(68,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(79,16): error C2065: HDROP: необъявленный идентификатор [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(79,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(82,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(82,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(82,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(84,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(84,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(84,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(90,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(90,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(90,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(91,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(91,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(91,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(92,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(92,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(92,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(94,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(94,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(94,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(96,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(96,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(96,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(104,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(104,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(104,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(106,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(106,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(106,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(113,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(113,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(113,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(114,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(114,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(114,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(120,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(120,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(120,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(121,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(121,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(121,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(122,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(122,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(122,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(128,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(128,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(128,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(129,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(129,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(129,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(135,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(135,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(135,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(136,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(136,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(136,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1519,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1519,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1519,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1540,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1540,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1540,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1553,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1553,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1553,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1558,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1558,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1558,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1560,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1560,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1560,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1589,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1589,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1589,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1595,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1595,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1595,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1608,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1608,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1608,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1609,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1609,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1609,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1699,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1699,1): error C2086: int EXTERN_C: переопределение [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1699,1): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "DECLSPEC_IMPORT" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1715,12): error C3646: PortNumber: неизвестный спецификатор переопределения [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1715,4): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1716,12): error C3646: PrefixLength: неизвестный спецификатор переопределения [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1716,4): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1740,1): error C4430: отсутствует спецификатор типа - предполагается int. Примечание. C++ не поддерживает int по умолчанию [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\shellapi.h(1740,8): error C2146: синтаксическая ошибка: отсутствие ";" перед идентификатором "SHGetDriveMedia" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\window_manager\windows\window_manager.cpp(172,48): error C2061: синтаксическая ошибка: идентификатор "PAPPBARDATA" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\window_manager\windows\window_manager.cpp(421,15): error C2065: ABE_LEFT: необъявленный идентификатор [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\window_manager\windows\window_manager.cpp(423,12): error C2065: ABE_RIGHT: необъявленный идентификатор [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\window_manager\windows\window_manager.cpp(442,46): error C2061: синтаксическая ошибка: идентификатор "PAPPBARDATA" [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\window_manager\windows\window_manager.cpp(446,3): error C2065: pabd: необъявленный идентификатор [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\window_manager\windows\window_manager.cpp(447,3): error C2065: pabd: необъявленный идентификатор [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\window_manager\windows\window_manager.cpp(448,3): error C2065: pabd: необъявленный идентификатор [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\window_manager\windows\window_manager.cpp(452,17): error C2065: ABE_LEFT: необъявленный идентификатор [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\window_manager\windows\window_manager.cpp(452,40): error C2065: ABE_RIGHT: необъявленный идентификатор [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\window_manager\windows\window_manager.cpp(453,14): error C2065: pabd: необъявленный идентификатор [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\window_manager\windows\window_manager.cpp(453,31): error C2065: pabd: необъявленный идентификатор [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\window_manager\windows\window_manager.cpp(454,5): error C2065: pabd: необъявленный идентификатор [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\window_manager\windows\window_manager.cpp(454,5): error C1003: число ошибок превышает 100; остановка компиляции [C:\Projects\shots\build\windows\x64\plugins\window_manager\window_manager_plugin.vcxproj]
Building Windows application... 180,8s
Build process failed.
Exception: C:\Projects\shots\scripts\windows_release.ps1:7:28
Line |
7 | if ($LASTEXITCODE -ne 0) { throw "flutter build windows failed" }
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| flutter build windows failed
PS C:\Projects\shots\scripts>