MixinNetwork / MixinNetwork/flutter-plugins

I get this error when running on Windows

Open
#203 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
512
Forks
292
Avg merge
15h 8m
Merged PRs (30d)
7

Description

win_toast_plugin.obj : error LNK2019: unresolved external symbol WINRT_GetRestrictedErrorInfo referenced in function "public: __cdecl winrt::hresult_error::hresult_error(struct winrt::hresult,struct winrt::take_ownership_from_abi_t)" (??0hresult_error@winrt@@QEAA@Uhresult@1@Utake_ownership_from_abi_t@1@@Z) [D:\new\toast_example\build\windows\plugins\win_toast\win_toast_plugin.vcxproj]
DesktopNotificationManagerCompat.obj : error LNK2001: unresolved external symbol WINRT_GetRestrictedErrorInfo [D:\new\toast_example\build\windows\plugins\win_toast\win_toast_plugin.vcxproj]
win_toast_plugin.obj : error LNK2019: unresolved external symbol WINRT_RoGetActivationFactory referenced in function "struct winrt::Windows::Foundation::IActivationFactory __cdecl winrt::get_activation_factory(struct winrt::param::hstring const &)" (??$get_activation_factory@UIActivationFactory@Foundation@Windows@winrt@@@winrt@@YA?AUIActivationFactory@Foundation@Windows@0@AEBUhstring@param@0@@Z) [D:\new\toast_example\build\windows\plugins\win_toast\win_toast_plugin.vcxproj]
DesktopNotificationManagerCompat.obj : error LNK2001: unresolved external symbol WINRT_RoGetActivationFactory [D:\new\toast_example\build\windows\plugins\win_toast\win_toast_plugin.vcxproj]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Windows plugin build configuration referenced by win_toast_plugin.vcxproj and the linker errors from win_toast_plugin.obj and DesktopNotificationManagerCompat.obj. Check how the Windows build handles the missing WINRT_GetRestrictedErrorInfo and WINRT_RoGetActivationFactory symbols. Done means the toast example builds successfully on Windows without these unresolved external symbol errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
flutter
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.