Skip to content

fix(win_toast): build fail on latest visual studio #422

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 18, 2025

Conversation

letrungdo
Copy link
Contributor

Error logs:

win_toast_plugin.obj : error LNK2019: unresolved external symbol WINRT_IMPL_RoGetActivationFactory referenced in function "struct winrt::hresult __cdecl winrt::impl::get_runtime_activation_factory_impl<1>(struct winrt::param::hstring const &,struct winrt::guid const &,void * *)" (??$get_runtime_activation_factory_impl@$00@impl@winrt@@YA?AUhresult@1@AEBUhstring@param@1@AEBUguid@1@PEAPEAX@Z) [D:\a\1\s\build\windows\x64\plugins\win_toast\win_toast_plugin.vcxproj] DesktopNotificationManagerCompat.obj : error LNK2001: unresolved external symbol WINRT_IMPL_RoGetActivationFactory [D:\a\1\s\build\windows\x64\plugins\win_toast\win_toast_plugin.vcxproj] win_toast_plugin.obj : error LNK2019: unresolved external symbol WINRT_IMPL_RoOriginateLanguageException referenced in function "private: void __cdecl winrt::hresult_error::originate(struct winrt::hresult,void *,struct winrt::impl::slim_source_location const &)" (?originate@hresult_error@winrt@@AEAAXUhresult@2@PEAXAEBUslim_source_location@impl@2@@Z) [D:\a\1\s\build\windows\x64\plugins\win_toast\win_toast_plugin.vcxproj] DesktopNotificationManagerCompat.obj : error LNK2001: unresolved external symbol WINRT_IMPL_RoOriginateLanguageException [D:\a\1\s\build\windows\x64\plugins\win_toast\win_toast_plugin.vcxproj] D:\a\1\s\build\windows\x64\plugins\win_toast\Release\win_toast_plugin.dll : fatal error LNK1120: 2 unresolved externals [D:\a\1\s\build\windows\x64\plugins\win_toast\win_toast_plugin.vcxproj]

@boyan01 boyan01 merged commit d2257d2 into MixinNetwork:main Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants