MicrosoftEdge / MicrosoftEdge/WebView2Samples

Compilation error - tried with SDK verions -

Open
#82 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1k
Forks
521
Avg merge
13m
Merged PRs (30d)
1

Description

1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\wtypesbase.idl(466): error MIDL2003: [msg]redefinition [context]: _FLAGGED_WORD_BLOB
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\unknwnbase.idl(42): error MIDL2003: [msg]redefinition [context]: IUnknown
1>MIDLRT Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\ocidl.idl
1>ocidl.idl
1>MIDLRT Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\oleidl.idl
1>oleidl.idl
1>MIDLRT Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\servprov.idl
1>servprov.idl
1>MIDLRT Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\urlmon.idl
1>urlmon.idl
1>MIDLRT Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\msxml.idl
1>msxml.idl
1>D:\MyDevProjects\MyProjectsThirdPartySamples\Microsoft\WebView2Samples\SampleApps\WebView2APISample\HostObjectSample.idl(34): warning MIDL2214: [msg]semantic check incomplete due to previous errors
1>Done building project "WebView2APISample.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

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 WebView2Samples build configuration for SampleApps/WebView2APISample and the HostObjectSample.idl file named in the error. Reproduce the rebuild using the Windows SDK version shown in the log, then inspect the MIDL errors for the duplicate _FLAGGED_WORD_BLOB and IUnknown definitions. Done means the project rebuilds without these errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.