Trying to build MediaCapture (Universal Windows) MIDL4304

asked 2020-05-22 09:34:17 -0500

yurky gravatar image

updated 2020-05-22 09:52:29 -0500

Get the following error:

1>MIDLRT Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\winrt\Windows.Web.UI.idl 1>Windows.Web.UI.idl 1>midlrt : error MIDL4034: [msg]Could not load required metadata file. Check the /metadata_dir command line switch to ensure it points to the public metadata. [context]Windows.Winmd (HRESULT:0x80070002 - The system cannot find the file specified. )

Any ideas to fix this problem?

edit retag flag offensive close merge delete

Comments

can you explain, how you arrived at this error ?

berak gravatar imageberak ( 2020-05-22 10:08:57 -0500 )edit

Connected through VS 2017 git add-in to the git repository opencv/opencv...had to retarget to the latest Windows SDK v10.0.17763.0. Then CMake runs and does its thing. When I try to build the solution I get a lot of output but I can't paste it all in this comment.

yurky gravatar imageyurky ( 2020-05-22 13:40:59 -0500 )edit