fluttercommunity / fluttercommunity/plus_plugins

[Compile+SharePlus]: Illegal qualified name

Open
#3,956 0 comments 0 reactions 0 assignees View on GitHub
compile triage
Dominant language
Dart
Stars
1.9k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

### Operating System

Windows 10

### Plugin

share_plus

### Version

12.3.0

### Flutter SDK

3.47.0

### Compilation command

(Note: The reason seems to be the use of C++20 in my project)

Flutter: `flutter run -v`

The command that compiles share_plus: `D:\Microsoft Visual Studio\18\Community\VC\Tools\MSVC\14.51.36231\bin\HostX64\x64\CL.exe /c
/ID:\Projects\realnotes\windows\flutter\ephemeral
/ID:\Projects\realnotes\windows\flutter\ephemeral\cpp_client_wrapper\include /Zi /nologo /W4 /WX /diagnostics:column /Od
/Ob0 /D _WINDLL /D _UNICODE /D UNICODE /D WIN32 /D _WINDOWS /D _HAS_EXCEPTIONS=0 /D _DEBUG /D FLUTTER_PLUGIN_IMPL /D
UNICODE /D _UNICODE /D _SILENCE_EXPERIMENTAL_COROUTINE_DEPRECATION_WARNINGS /D "CMAKE_INTDIR=\"Debug\"" /D
share_plus_plugin_EXPORTS /EHsc /RTC1 /MDd /GR /std:c++20 /Fo"share_plus_plugin.dir\Debug\\"
/Fd"share_plus_plugin.dir\Debug\vc145.pdb" /external:W4 /TP /wd4100 /errorReport:queue`

### Dart Dependencies

```yaml

```

### Native dependencies

```text

```

### Compilation Error

```shell
MSVC log:

D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\share_plus_windows_plugin.h(61,47): error C4596: 'Utf16FromUtf8': illegal qualified name in member declaration [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\share_plus_windows_plugin.h(61,47): error C4596: 'Utf16FromUtf8': illegal qualified name in member declaration [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(234,23): error C2065: 'ElementType': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(234,16): error C2923: 'std::vector': 'ElementType' is not a valid template type argument for parameter '_Ty' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(234,16): error C2976: 'std::vector': too few template arguments [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(234,36): error C2955: 'std::vector': use of class template requires template argument list [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(236,53): error C2955: 'std::vector': use of class template requires template argument list [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(240,47): error C2955: 'std::vector': use of class template requires template argument list [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(241,21): error C2061: syntax error: identifier 'ElementType' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(249,41): error C2955: 'std::vector': use of class template requires template argument list [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(256,44): error C2955: 'std::vector': use of class template requires template argument list [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(264,44): error C2955: 'std::vector': use of class template requires template argument list [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(271,42): error C2955: 'std::vector': use of class template requires template argument list [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(275,41): error C2955: 'std::vector': use of class template requires template argument list [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(245,42): error C3861: 'element': identifier not found [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(245,42): error C2065: 'element': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(290,16): error C2065: 'RuntimeClass': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(290,16): error C2653: 'RuntimeClass': is not a class or namespace name [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(290,39): error C2146: syntax error: missing '>' before identifier 'T_complex' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(289,20): error C2062: type '' unexpected [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(290,51): error C2039: 'type': is not a member of '`global namespace'' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(290,61): error C2238: unexpected token(s) preceding ';' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(293,18): error C2065: 'T_abi': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(293,11): error C2923: 'Traits': 'T_abi' is not a valid template type argument for parameter 'T_abi' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(335,49): error C2061: syntax error: identifier 'T_abi' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(346,54): error C2061: syntax error: identifier 'T_abi' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(372,52): error C2061: syntax error: identifier 'T_abi' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(380,55): error C2061: syntax error: identifier 'T_abi' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(400,53): error C2061: syntax error: identifier 'T_abi' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(431,66): error C2061: syntax error: identifier 'T_abi' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(284,3): error C2065: 'RuntimeClassT': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(284,3): error C2760: syntax error: 'RuntimeClassT' was unexpected here; expected 'expression' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(284,3): error C3878: syntax error: unexpected token ')' following 'static-assert-declaration' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(284,3): error C2760: syntax error: ')' was unexpected here; expected ';' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(284,3): error C3878: syntax error: unexpected token ')' following 'expression-statement' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(284,3): error C3861: 'RuntimeClassT': identifier not found [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(337,22): error C2065: 'item': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(338,7): error C2065: 'item': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(340,27): error C3878: syntax error: unexpected token 'element' following 'expression' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(340,7): error C7510: 'ElementType': use of dependent type name must be prefixed with 'typename' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(342,31): error C2065: 'item': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(343,6): error C2760: syntax error: ')' was unexpected here; expected ';' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(343,6): error C3878: syntax error: unexpected token ')' following 'jump-statement' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(350,22): error C2065: 'index': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(351,22): error C2065: 'found': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(353,8): error C2065: 'index': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(354,8): error C2065: 'found': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(359,29): error C3878: syntax error: unexpected token 'element' following 'expression' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(359,9): error C7510: 'ElementType': use of dependent type name must be prefixed with 'typename' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(362,37): error C2065: 'value': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(363,12): error C2065: 'index': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(364,12): error C2065: 'found': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(368,6): error C2760: syntax error: ')' was unexpected here; expected ';' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(368,6): error C3878: syntax error: unexpected token ')' following 'jump-statement' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(374,37): error C3861: 'item': identifier not found [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(374,37): error C2065: 'item': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(385,40): error C3861: 'item': identifier not found [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(385,40): error C2065: 'item': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(405,31): error C3861: 'item': identifier not found [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(405,31): error C2065: 'item': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(433,22): error C3861: 'value': identifier not found [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(437,37): error C3861: 'value': identifier not found [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(446,35): error C3861: 'value': identifier not found [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(433,22): error C2065: 'value': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(437,37): error C2065: 'value': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(446,35): error C2065: 'value': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(460,46): error C3861: 'VectorView': identifier not found [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(473,44): error C3861: 'VectorIterator': identifier not found [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(486,3): error C2065: 'RuntimeClassT': undeclared identifier [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(486,3): error C2760: syntax error: 'RuntimeClassT' was unexpected here; expected 'expression' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(486,3): error C3878: syntax error: unexpected token ')' following 'static-assert-declaration' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(486,3): error C2760: syntax error: ')' was unexpected here; expected ';' [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]
D:\Projects\realnotes\windows\flutter\ephemeral\.plugin_symlinks\share_plus\windows\vector.h(486,3): error C1003: error count exceeds 100; stopping compilation [D:\Projects\realnotes\build\windows\x64\plugins\share_plus\share_plus_plugin.vcxproj]

TLDR:

Illegal qualified name:

https://github.com/fluttercommunity/plus_plugins/blob/13e170479b3c66c890fa401f5fdb3af141faf67a/packages/share_plus/share_plus/windows/share_plus_windows_plugin.h#L61

Followed by a lot of template errors in windows/vector.h
```

### Flutter Doctor

```shell
D:\Projects\realnotes>flutter doctor -v
[✓] Flutter (Channel stable, 3.47.0, on Microsoft Windows [Version 10.0.19044.7663], locale en-US) [566ms]
• Flutter version 3.47.0 on channel stable at C:\Users\lebao3105\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 4cf2416426 (4 days ago), 2026-08-11 11:53:49 -0700
• Engine revision 5f77625673
• Dart version 3.13.0
• DevTools version 2.60.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android,
enable-ios, cli-animations, enable-native-assets, enable-record-use, enable-swift-package-manager,
omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration

[✓] Windows Version (10 IoT Enterprise LTSC 64-bit, 21H2, 2009) [3.9s]

[✓] Android toolchain - develop for Android devices (Android SDK version 37.0.0) [5.7s]
• Android SDK at C:\Users\lebao3105\AppData\Local\Android\sdk
• Emulator version unknown
• Platform android-37.0, build-tools 37.0.0
• Java binary at: C:\Program Files\Java\jdk-17.0.20\bin\java
This JDK is specified by the JAVA_HOME environment variable.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version Java(TM) SE Runtime Environment (build 17.0.20+7-LTS-191)
• All Android licenses accepted.

[✓] Chrome - develop for the web [496ms]
• CHROME_EXECUTABLE = C:\Users\lebao3105\AppData\Local\imput\Helium\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Community 2026 18.9.0) [495ms]
• Visual Studio at D:\Microsoft Visual Studio\18\Community
• Visual Studio Community 2026 version 18.9.12105.275
• Windows 10 SDK version 10.0.28000.0

[✓] Connected device (2 available) [720ms]
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19044.7663]
• Chrome (web) • chrome • web-javascript • unknown

[✓] Network resources [1,387ms]
• All expected network resources are available.

• No issues found!
```

### Checklist before submitting a bug

- [x] I searched issues in this repository and couldn't find such bug/problem
- [x] I Google'd a solution and I couldn't find it
- [x] I searched on StackOverflow for a solution and I couldn't find it
- [x] I read the README.md file of the plugin
- [x] I'm using the latest version of the plugin
- [x] All dependencies are up to date with `flutter pub upgrade`
- [x] I did a `flutter clean`
- [x] I tried running the example project

Contributor guide

Open the contributing guide

Research direction

Start with windows/share_plus_windows_plugin.h at line 61 and windows/vector.h, where the MSVC C++20 build reports the first qualified-name and template errors. Reproduce with Windows 10, Flutter 3.47.0, share_plus 12.3.0, and the shown flutter run -v compilation; done means the share_plus Windows plugin builds successfully with the reported configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, dart
Domain
build-system, desktop-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.