How to build a WebView2 application with MinGW toolset?


It isn't much information on this topic on the Internet. Guess most people use Visual Studio to build WebView2 applications. So far, I've found these 2 projects jchv/webview2-in-mingw and webview/webview. The second one I cannot even build. The first one seems more promising. It can be built with MinGW toolset and also Visual Studio. However, when running the built demo, function CreateCoreWebView2EnvironmentWithOptions always returns error code 0x80070002, no matter which toolset was used to build the demo. The error code 0x80070002 means "The system cannot find the file specified." What file am I missing? Help~ Any suggestion? Thanks.

asked on Stack Overflow Dec 28, 2020 by Cody

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0