Skip to content

error while running flutter project on windows device  #134131

@muhammadmnyer

Description

@muhammadmnyer

i'm using flutter version 3.13.2 and dart version 3.1.0 with android studio giraffe , when i tried to run my flutter project on windows i got the folowing error :

Launching lib\main.dart on Windows in debug mode... Building Windows application... CMake Error at flutter/ephemeral/.plugin_symlinks/printing/windows/CMakeLists.txt:15 (cmake_minimum_required): CMake 3.15 or higher is required. You are running version 3.14.19050301-MSVC_2 Exception: Unable to generate build files

what i tried is to check the Cmake box in the sdk tools and to download the Cmake and adding it to the system enviroment path and the both ways did not work, then i tried to create a new flutter project to determine if the problem is specific to my existing project or a general issue with flutter and what i got is :

C:\Users\hazem\StudioProjects\windows_testing\windows\runner\utils.cpp(54,43): error C2220: warning treated as error - no 'object' file generated [C:\Users\hazem\StudioProjects\windows_testing\build\windows\runner\windows_testing.vcxproj] C:\Users\hazem\StudioProjects\windows_testing\windows\runner\utils.cpp(54,43): warning C4018: '>': signed/unsigned mismatch [C:\Users\hazem\StudioProjects\windows_testing\build\windows\runner\windows_testing.vcxproj] Exception: Build process failed.

any ideas how can i solve this problem ?
thanks for helping ..

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: invalidIssue is closed as not valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions