Skip to content

Running on Windows 11 error #720

@aminrz3

Description

@aminrz3

When I attempt to run the program, I encounter several errors that prevent it from executing successfully.

Launching lib\main.dart on Windows in debug mode... Building Windows application... C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\compat\win32\pthread-win32\_ptw32.h(125,15): warning C4005: 'HAVE_STRUCT_TIMESPEC': macro redefinition [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\function.h(87,5): warning C4047: 'return': 'uintptr_t' differs in levels of indirection from 'void *' [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\string.h(48,23): warning C4244: 'return': conversion from 'uintptr_t' to 'uint32_t', possible loss of data [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\string.h(172,13): warning C4244: '=': conversion from 'uint64_t' to 'uint32_t', possible loss of data [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\object.h(102,19): warning C4244: '=': conversion from 'intptr_t' to 'uint32_t', possible loss of data [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(79,32): warning C4146: unary minus operator applied to unsigned type, result still unsigned [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(93,18): warning C4244: 'return': conversion from '__int64' to 'int', possible loss of data [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(108,24): warning C4146: unary minus operator applied to unsigned type, result still unsigned [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(149,18): warning C4018: '<': signed/unsigned mismatch [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(194,18): warning C4018: '<': signed/unsigned mismatch [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(231,20): warning C4018: '<': signed/unsigned mismatch [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(243,16): warning C4018: '<': signed/unsigned mismatch [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(246,16): warning C4018: '>=': signed/unsigned mismatch [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(282,9): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(561,60): warning C4244: 'function': conversion from 'int64_t' to 'uint32_t', possible loss of data [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(782,22): warning C4018: '<': signed/unsigned mismatch [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(799,13): warning C4018: '<=': signed/unsigned mismatch [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(1180,72): warning C4244: 'function': conversion from '__int64' to 'uint32_t', possible loss of data [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(1181,76): warning C4244: 'function': conversion from '__int64' to 'uint32_t', possible loss of data [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(1284,24): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(1709,3): warning C4018: '<': signed/unsigned mismatch [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(1715,3): warning C4018: '<': signed/unsigned mismatch [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(1801,9): warning C4018: '>=': signed/unsigned mismatch [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(1803,13): warning C4018: '>=': signed/unsigned mismatch [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(1822,17): warning C4018: '<': signed/unsigned mismatch [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(1925,17): warning C4018: '<': signed/unsigned mismatch [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(1935,15): warning C4018: '>=': signed/unsigned mismatch [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(2188,35): error C2099: initializer is not a constant [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] C:\Users\AMIN\StudioProjects\testwebview\windows\flutter\ephemeral\.plugin_symlinks\webf\src\third_party\quickjs\src\core\runtime.c(2214,35): error C2099: initializer is not a constant [C:\Users\AMIN\StudioProjects\testwebview\build\windows\x64\plugins\webf\shared\quickjs.vcxproj] Error: Build process failed.

webf: ^0.16.3+1
flutter version : 3.27.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions