Hi, im trying to compile the new 3.1.5 version with webview2, I got the nuget package, extracted to 3rdparty\webview2\ and enabled wxUSE_WEBVIEW_EDGE in setup.h , but when trying to compile with clang it doesnt find the webview2.h.
Do I need any specific flags to compile it? I can see that the correct path (/DWXMAKINGDLL_WEBVIEW /I..\..\3rdparty\webview2\build\native\include) is on the makefile.vc but it doesnt work..
Cant compile 3.1.5 with webview2
-
- Super wx Problem Solver
- Posts: 465
- Joined: Tue Jun 20, 2006 6:47 pm
- Contact:
Re: Cant compile 3.1.5 with webview2
I think the new webview backend only builds with visual c.
Re: Cant compile 3.1.5 with webview2
I think the issue is the mono lib, I tried to compile with MONOLITHIC=0 now and it worked.
Re: Cant compile 3.1.5 with webview2
its very likely to be a makefile issue not adding the correct flags for webview when compiling mono lib
Re: Cant compile 3.1.5 with webview2
I have reported the issue with monolithic build some time ago, it is broken for both GCC and MSVC makefiles:
https://trac.wxwidgets.org/ticket/19104
If you really need monolithic build, I would recommend using CMake to build wxWidgets, it is easy to do.
https://trac.wxwidgets.org/ticket/19104
If you really need monolithic build, I would recommend using CMake to build wxWidgets, it is easy to do.
Re: Cant compile 3.1.5 with webview2
Hi,
I would not recommend MONOLITHIC builds unless you plan to work on Code::Blocks IDE itself.
Thank you.
I would not recommend MONOLITHIC builds unless you plan to work on Code::Blocks IDE itself.
Thank you.
Re: Cant compile 3.1.5 with webview2
I was just using to have less files on my repo, already changed..