Facing issues when trying to test app on windows device.

Integrations

Recently, while working with the firebase_auth plugin in Flutter for a desktop application on Windows, I encountered a compilation error related to the use of std::variant in the C++ library generated by the plugin. The specific issue is a C++ compiler error (C2665), indicating that the provided arguments to std::variant do not match any available overloads. Additionally, there is a deprecation warning in the CMakeLists.txt file, suggesting a potential incompatibility with newer versions of CMake.

Upon reviewing the development environment, I confirmed that all major tools are up to date:

  • Flutter 3.24.2 on the stable channel.

  • Dart 3.5.2.

  • Visual Studio 2022 with the Windows 10 SDK (10.0.22621.0).

  • CMake is present but outdated in the plugin's generated project.

What options can I explore to get around this error?

What have you tried so far?

I tried to fix it setting everything up again, unstalled flutter, android studio and Visual Studio 2022 then installed it again.

Did you check FlutterFlow's Documentation for this topic?
Yes
1