wxWebViewChromium
wxWebViewChromium copied to clipboard
Build failed with newest version of CEF
Build wxWebViewChromium with upstream CEF3 version r1623, there are several errors as below:
Error 1 error C2061: syntax error : identifier 'TerminationStatus' c:\users\hokein\github\wxwebviewchromium\webview_chromium3.h 104
Error 2 error C2061: syntax error : identifier 'TerminationStatus' c:\users\hokein\github\wxwebviewchromium\webview_chromium3.h 104
Error 3 error C2660: 'CefBrowserHost::CreateBrowser' : function does not take 4 arguments C:\Users\hokein\GitHub\wxWebViewChromium\webview_chromium3.cpp 94
Error 4 error C2039: 'ParentWindowWillClose' : is not a member of 'CefBrowserHost' C:\Users\hokein\GitHub\wxWebViewChromium\webview_chromium3.cpp 106
Error 5 error C2660: 'CefExecuteProcess' : function does not take 2 arguments C:\Users\hokein\GitHub\wxWebViewChromium\webview_chromium3.cpp 408
Error 6 error C2660: 'CefInitialize' : function does not take 3 arguments C:\Users\hokein\GitHub\wxWebViewChromium\webview_chromium3.cpp 419
Error 7 error C2660: 'CefExecuteProcess' : function does not take 2 arguments C:\Users\hokein\GitHub\wxWebViewChromium\webview_chromium3.cpp 426
Error 8 error C2061: syntax error : identifier 'TerminationStatus' C:\Users\hokein\GitHub\wxWebViewChromium\webview_chromium3.cpp 669
Error 9 error C2061: syntax error : identifier 'TerminationStatus' c:\users\hokein\github\wxwebviewchromium\webview_chromium3.h 104
Error 10 error C2061: syntax error : identifier 'TerminationStatus' c:\users\hokein\github\wxwebviewchromium\webview_chromium3.h 104
11 IntelliSense: identifier "TerminationStatus" is undefined c:\users\hokein\github\wxwebviewchromium\webview_chromium3.h 104
12 IntelliSense: too few arguments in function call c:\users\hokein\github\wxwebviewchromium\webview_chromium3.cpp 94
13 IntelliSense: class "CefBrowserHost" has no member "browser" c:\users\hokein\github\wxwebviewchromium\webview_chromium3.cpp 107
14 IntelliSense: too few arguments in function call c:\users\hokein\github\wxwebviewchromium\webview_chromium3.cpp 409
15 IntelliSense: too few arguments in function call c:\users\hokein\github\wxwebviewchromium\webview_chromium3.cpp 420
16 IntelliSense: too few arguments in function call c:\users\hokein\github\wxwebviewchromium\webview_chromium3.cpp 427
17 IntelliSense: identifier "TerminationStatus" is undefined c:\users\hokein\github\wxwebviewchromium\webview_chromium3.cpp 670
The errors are caused by some API are changed due to the new version of CEF.
@steve-lamerton should we update wxWebViewChromium to the upstream CEF or keep it?