Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build Windows version: CMake Error at flutter/ephemeral/.plugin_symlinks/record_windows/windows/CMakeLists.txt:5 (cmake_minimum_required): CMake 3.23 or higher is required. You are running version 3.22.22022201-MSVC_2 #328

Closed
davebound opened this issue May 29, 2024 · 1 comment

Comments

@davebound
Copy link

Package version
record: ^5.1.0

Environment

  • OS: Windows 10

[√] Flutter (Channel stable, 3.22.1, on Microsoft Windows [Version 10.0.19045.4291], locale en-GB)
• Flutter version 3.22.1 on channel stable at C:\src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision a14f74ff3a (7 days ago), 2024-05-22 11:08:21 -0500
• Engine revision 55eae6864b
• Dart version 3.4.1
• DevTools version 2.34.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at C:\Users\Dave\AppData\Local\Android\sdk
• Platform android-34-ext8, build-tools 34.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)
• All Android licenses accepted.

[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.1.5)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.1.32414.318
• Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2023.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)

[√] VS Code (version 1.89.1)
• VS Code at C:\Users\Dave\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.90.0

[√] Connected device (4 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.4291]
• Chrome (web) • chrome • web-javascript • Google Chrome 125.0.6422.78
• Edge (web) • edge • web-javascript • Microsoft Edge 125.0.2535.67

[√] Network resources
• All expected network resources are available.

• No issues found!

Describe the bug

Windows build fails:

CMake Error at flutter/ephemeral/.plugin_symlinks/record_windows/windows/CMakeLists.txt:5 (cmake_minimum_required):
CMake 3.23 or higher is required. You are running version
3.22.22022201-MSVC_2

I've upgraded to latest flutter, done flutter clean etc

@davebound
Copy link
Author

Fixed by running Visual Studio Community Edition installer to update win SDK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant