Unable to build application with Chromium 57 onwards
Posted: Mon Mar 19, 2018 5:09 am
My MFC application is using Chromium 56, with all my CEF classes embedded in their own DLL (CefEmbed.dll) and a browser subprocess project (CefHelper.exe). I've been able to successfully build up to Chromium 56, but can't build with anything later. I had thought it was down to using VS 2005, but I've tried building with VS 2017 and got all the same errors (plus the ones down to my project not being updated for VS 2017).
These are the CEF errors I'm getting:
The problems started after the following commits. Up until these I was able to build with CEF.:
https://bitbucket.org/chromiumembedded/cef/commits/371eca001c178f0339cf1d427d6b081d25650b48?at=2987
https://bitbucket.org/chromiumembedded/cef/commits/17827d67ad3c02085c3665ef5aeb1ea1240209d8?at=2987
https://bitbucket.org/chromiumembedded/cef/commits/21680d7a3aa907a50f4052ecbbf8c52f82a5b426?at=2987
Is there something I need to change to work with these commits onwards?
These are the CEF errors I'm getting:
- Code: Select all
Error 1 error C2143: syntax error : missing ',' before 'constant' c:\development\cef\include\base\cef_template_util.h 79
Error 2 error C2645: no qualified name for pointer to member (found ':: *') c:\development\cef\include\base\cef_template_util.h 80
Error 3 error C2143: syntax error : missing ')' before '`global namespace'' c:\development\cef\include\base\cef_template_util.h 80
Error 4 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 80
Error 5 error C2645: no qualified name for pointer to member (found ':: *') c:\development\cef\include\base\cef_template_util.h 82
Error 6 error C2143: syntax error : missing ')' before '`global namespace'' c:\development\cef\include\base\cef_template_util.h 82
Error 7 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 82
Error 8 error C2645: no qualified name for pointer to member (found ':: *') c:\development\cef\include\base\cef_template_util.h 85
Error 9 error C2143: syntax error : missing ')' before '`global namespace'' c:\development\cef\include\base\cef_template_util.h 85
Error 10 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 85
Error 11 error C2645: no qualified name for pointer to member (found ':: *') c:\development\cef\include\base\cef_template_util.h 87
Error 12 error C2143: syntax error : missing ')' before '`global namespace'' c:\development\cef\include\base\cef_template_util.h 87
Error 13 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 87
Error 14 error C2645: no qualified name for pointer to member (found ':: *') c:\development\cef\include\base\cef_template_util.h 90
Error 15 error C2143: syntax error : missing ')' before '`global namespace'' c:\development\cef\include\base\cef_template_util.h 90
Error 16 error C2065: 'B' : undeclared identifier c:\development\cef\include\base\cef_template_util.h 90
Error 17 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 90
Error 18 error C2645: no qualified name for pointer to member (found ':: *') c:\development\cef\include\base\cef_template_util.h 92
Error 19 error C2143: syntax error : missing ')' before '`global namespace'' c:\development\cef\include\base\cef_template_util.h 92
Error 20 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 92
Error 21 error C2645: no qualified name for pointer to member (found ':: *') c:\development\cef\include\base\cef_template_util.h 95
Error 22 error C2143: syntax error : missing ')' before '`global namespace'' c:\development\cef\include\base\cef_template_util.h 95
Error 23 error C2065: 'C' : undeclared identifier c:\development\cef\include\base\cef_template_util.h 95
Error 24 error C2143: syntax error : missing ',' before ')' c:\development\cef\include\base\cef_template_util.h 95
Error 25 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 95
Error 26 error C2645: no qualified name for pointer to member (found ':: *') c:\development\cef\include\base\cef_template_util.h 97
Error 27 error C2143: syntax error : missing ')' before '`global namespace'' c:\development\cef\include\base\cef_template_util.h 97
Error 28 error C2143: syntax error : missing ',' before ')' c:\development\cef\include\base\cef_template_util.h 97
Error 29 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 97
Error 30 error C2645: no qualified name for pointer to member (found ':: *') c:\development\cef\include\base\cef_template_util.h 105
Error 31 error C2143: syntax error : missing ')' before '`global namespace'' c:\development\cef\include\base\cef_template_util.h 105
Error 32 error C2065: 'D' : undeclared identifier c:\development\cef\include\base\cef_template_util.h 105
Error 33 error C2143: syntax error : missing ',' before ')' c:\development\cef\include\base\cef_template_util.h 105
Error 34 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 105
Error 35 error C2645: no qualified name for pointer to member (found ':: *') c:\development\cef\include\base\cef_template_util.h 112
Error 36 error C2143: syntax error : missing ')' before '`global namespace'' c:\development\cef\include\base\cef_template_util.h 112
Error 37 error C2143: syntax error : missing ',' before ')' c:\development\cef\include\base\cef_template_util.h 112
Error 38 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 112
Error 39 error C2947: expecting '>' to terminate template-argument-list, found '>' c:\development\cef\include\base\cef_template_util.h 114
Error 40 error C2236: unexpected 'struct' 'is_same'. Did you forget a ';'? c:\development\cef\include\base\cef_template_util.h 115
Error 41 error C3381: 'is_same' : assembly access specifiers are only available in code compiled with a /clr option c:\development\cef\include\base\cef_template_util.h 115
Error 42 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 115
Error 43 error C2065: 'T' : undeclared identifier c:\development\cef\include\base\cef_template_util.h 117
Error 44 error C2059: syntax error : ':' c:\development\cef\include\base\cef_template_util.h 117
Error 45 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 117
Error 46 error C2332: 'class' : missing tag name c:\development\cef\include\base\cef_template_util.h 119
Error 47 error C2011: '<unnamed-tag>' : 'enum' type redefinition c:\development\cef\include\base\cef_template_util.h 119
Error 48 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 120
Error 49 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 122
Error 50 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 124
Error 51 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 127
Error 52 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 129
Error 53 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 131
Error 54 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 134
Error 55 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 136
Error 56 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 139
Error 57 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 141
Error 58 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 143
Error 59 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 149
Error 60 error C2143: syntax error : missing ';' before '}' c:\development\cef\include\base\cef_template_util.h 151
Error 61 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 162
Error 62 error C2143: syntax error : missing ';' before '}' c:\development\cef\include\base\cef_template_util.h 171
Error 63 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 175
Error 64 error C2143: syntax error : missing ';' before '}' c:\development\cef\include\base\cef_template_util.h 181
Error 65 error C2143: syntax error : missing ';' before '}' c:\development\cef\include\base\cef_template_util.h 183
Error 66 error C2653: 'cef_internal' : is not a class or namespace name c:\development\cef\include\base\cef_template_util.h 192
Error 67 error C2065: 'Test' : undeclared identifier c:\development\cef\include\base\cef_template_util.h 192
Error 68 error C2065: 'To' : undeclared identifier c:\development\cef\include\base\cef_template_util.h 192
Error 69 error C2653: 'cef_internal' : is not a class or namespace name c:\development\cef\include\base\cef_template_util.h 193
Error 70 error C2065: 'Create' : undeclared identifier c:\development\cef\include\base\cef_template_util.h 193
Error 71 error C2065: 'From' : undeclared identifier c:\development\cef\include\base\cef_template_util.h 193
Error 72 error C2059: syntax error : ')' c:\development\cef\include\base\cef_template_util.h 193
Error 73 error C2653: 'cef_internal' : is not a class or namespace name c:\development\cef\include\base\cef_template_util.h 194
Error 74 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 194
Error 75 error C2653: 'cef_internal' : is not a class or namespace name c:\development\cef\include\base\cef_template_util.h 199
Error 76 error C2653: 'cef_internal' : is not a class or namespace name c:\development\cef\include\base\cef_template_util.h 200
Error 77 error C2065: 'YesType' : undeclared identifier c:\development\cef\include\base\cef_template_util.h 200
Error 78 error C2070: ''unknown-type'': illegal sizeof operand c:\development\cef\include\base\cef_template_util.h 200
Error 79 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 200
Error 80 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 203
Error 81 error C2059: syntax error : '{' c:\development\cef\include\base\cef_template_util.h 206
Error 82 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_template_util.h 206
Error 83 error C2143: syntax error : missing ';' before '}' c:\development\cef\include\base\cef_template_util.h 208
Error 84 error C2143: syntax error : missing ';' before '}' c:\development\cef\include\base\cef_template_util.h 210
Error 85 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_scoped_ptr.h 144
Error 86 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_scoped_ptr.h 146
Error 87 error C2143: syntax error : missing ';' before '}' c:\development\cef\include\base\cef_scoped_ptr.h 149
Error 88 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_scoped_ptr.h 155
Error 89 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_scoped_ptr.h 156
Error 90 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_scoped_ptr.h 158
Error 91 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_scoped_ptr.h 171
Error 92 error C2143: syntax error : missing ';' before '{' c:\development\cef\include\base\cef_scoped_ptr.h 172
Error 93 error C2039: 'is_convertible' : is not a member of 'base' c:\development\cef\include\base\cef_scoped_ptr.h 174
Error 94 error C2039: 'is_convertible' : is not a member of 'base' c:\development\cef\include\base\cef_scoped_ptr.h 174
Error 95 error C2065: 'is_convertible' : undeclared identifier c:\development\cef\include\base\cef_scoped_ptr.h 174
Error 96 error C2059: syntax error : ',' c:\development\cef\include\base\cef_scoped_ptr.h 174
Error 97 error C2059: syntax error : '>' c:\development\cef\include\base\cef_scoped_ptr.h 174
Error 98 error C2039: 'value' : is not a member of '`global namespace'' c:\development\cef\include\base\cef_scoped_ptr.h 174
Error 99 error C2039: 'is_convertible' : is not a member of 'base' c:\development\cef\include\base\cef_scoped_ptr.h 174
Error 100 error C2059: syntax error : '>' c:\development\cef\include\base\cef_scoped_ptr.h 174
Error 101 error C2039: 'value' : is not a member of '`global namespace'' c:\development\cef\include\base\cef_scoped_ptr.h 174
Error 102 fatal error C1003: error count exceeds 100; stopping compilation c:\development\cef\include\base\cef_scoped_ptr.h 174
The problems started after the following commits. Up until these I was able to build with CEF.:
https://bitbucket.org/chromiumembedded/cef/commits/371eca001c178f0339cf1d427d6b081d25650b48?at=2987
https://bitbucket.org/chromiumembedded/cef/commits/17827d67ad3c02085c3665ef5aeb1ea1240209d8?at=2987
https://bitbucket.org/chromiumembedded/cef/commits/21680d7a3aa907a50f4052ecbbf8c52f82a5b426?at=2987
Is there something I need to change to work with these commits onwards?