Skip to content

Compile problems #1159

Answered by sdottaka
lampvideo asked this question in Q&A
Discussion options

You must be logged in to vote

Recently, WinMerge has been using C++/WinRT to reference Clipboard history.
In the latest C++/WinRT, functions such as WINRT_RoGetActivationFactory are loaded dynamically at runtime, but in older versions, you need to link windowsapps.lib at build time.

You are probably using a slightly older Windows SDK.

In order to avoid linking errors in Visual Studio 2019, a fix was made in commit 1efd5ec to not use C++/WinRT if the version of Visual Studio used for the build is less than 2022.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lampvideo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants