Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

[Bug Report][Windows] No CMAKE_C_COMPILER could be found. #277

Open
LiuFeiPublic opened this issue Aug 25, 2023 · 2 comments
Open

[Bug Report][Windows] No CMAKE_C_COMPILER could be found. #277

LiuFeiPublic opened this issue Aug 25, 2023 · 2 comments

Comments

@LiuFeiPublic
Copy link

Error occurs when i run the project

image

CMake Error at flutter/ephemeral/.plugin_symlinks/lychee_player/ffplayer/CMakeLists.txt:10 (project):
No CMAKE_C_COMPILER could be found.

@LiuFeiPublic
Copy link
Author

flutter doctor -v
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[√] Flutter (Channel stable, 3.13.1, on Microsoft Windows [版本 10.0.19045.3324], locale zh-CN)
• Flutter version 3.13.1 on channel stable at E:\flutter\flutter_3_13_1
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision e1e47221e8 (2 days ago), 2023-08-22 21:43:18 -0700
• Engine revision b20183e040
• Dart version 3.1.0
• DevTools version 2.25.0
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn

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

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at E:\AndroidSdk
• Platform android-33, build-tools 30.0.3
• ANDROID_SDK_ROOT = E:\AndroidSdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.

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

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.0)
• Visual Studio at E:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.7.34003.232
• Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2022.2)
• Android Studio at C:\Program Files\Android\Android Studio2022
• 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.6+0-b2043.56-9586694)

[√] Android Studio (version 2020.3)
• 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
• android-studio-dir = C:\Program Files\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] VS Code, 64-bit edition (version 1.67.2)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 3.44.0

[√] Connected device (4 available)
• RMX2117 (mobile) • QOZH5PO7SKHYDIZT • android-arm64 • Android 12 (API 31)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [版本 10.0.19045.3324]
• Chrome (web) • chrome • web-javascript • Google Chrome 116.0.5845.111
• Edge (web) • edge • web-javascript • Microsoft Edge 116.0.1938.54

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

• No issues found!

@memoryLossSpray
Copy link

I have the same problem, my c compiler and cmake work fine

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

No branches or pull requests

2 participants