Skip to content

Windows build process failed due to record_windows #611

Description

@EMUNES

Package version

7.1.1

Environment

  • OS: Windows 11

Describe the bug

Build windows app failed with error message related to record_windows package:

D:\Code\Project\posnote-dev\windows\flutter\ephemeral\.plugin_symlinks\record_windows\windows\encoder\codec_caps.h(1,1): error C2220: the following warning is treated as an error [D:\Code\Project\posnote-dev\build\windows\x64\plugins\record_windows\record_windows_plugin.vcxproj]
D:\Code\Project\posnote-dev\windows\flutter\ephemeral\.plugin_symlinks\record_windows\windows\encoder\codec_caps.h(1,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\Code\Project\posnote-dev\build\windows\x64\plugins\record_windows\record_windows_plugin.vcxproj]
Error: Build process failed.

To Reproduce

Steps to reproduce the behavior:

Upgraded record version from 6.x to 7.1.1, and failed to build on Win11.

Expected behavior

Should work as before.

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions