Closed
Description
Steps to Reproduce
- I build the dart_vlc example project (https://pub.dev/packages/dart_vlc) in linux desktop enviroment. But the result is fail with this message:
💪 Building with sound null safety 💪 CMake Error at flutter/ephemeral/.plugin_symlinks/dart_vlc/linux/CMakeLists.txt:9 (cmake_minimum_required): CMake 3.13 or higher is required. You are running version 3.10.2 Building Linux application... Unable to generate build files
- I check Cmake version in my Ubuntu by
cmake --version
command. The result is version 3.22.2cmake version 3.22.2 CMake suite maintained and supported by Kitware (kitware.com/cmake).
- I already remove and reinstall cmake, flutter many time, but the cmake version in Linux Toolchain still is 3.10.2.
- This is the result for
flutter doctor -v
command:
flutter doctor result
[✓] Flutter (Channel stable, 2.10.3, on Ubuntu 18.04.6 LTS 5.4.0-91-generic, locale en_US.UTF-8)
• Flutter version 2.10.3 at /home/coffee/snap/flutter/common/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 7e9793dee1 (13 days ago), 2022-03-02 11:23:12 -0600
• Engine revision bd539267b4
• Dart version 2.16.1
• DevTools version 2.9.2
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /home/coffee/Android/Sdk/
• Platform android-31, build-tools 30.0.3
• Java binary at: /usr/local/android-studio-ide-202.7351085-linux/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 google-chrome
[✓] Linux toolchain - develop for Linux desktop
• clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
• cmake version 3.10.2
• ninja version 1.8.2
• pkg-config version 0.29.1
[✓] Android Studio (version 2020.3)
• Android Studio at /usr/local/android-studio-ide-202.7351085-linux/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 11.0.10+0-b96-7249189)
[✓] VS Code (version 1.64.2)
• VS Code at /usr/share/code
• Flutter extension version 3.36.0
[✓] Connected device (2 available)
• Linux (desktop) • linux • linux-x64 • Ubuntu 18.04.6 LTS 5.4.0-91-generic
• Chrome (web) • chrome • web-javascript • Google Chrome 98.0.4758.102
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
Thank you for this awesome platform.
Metadata
Metadata
Assignees
Labels
No labels