Page 1 of 1

error C2057 using visual studio 2015

PostPosted: Thu Oct 07, 2021 2:00 pm
by Adriaanse
I have been using VS2015 (update 3) many times to successfully build JCEF for windows, but with the current release the C++ compiler is throwing this error "error C2057: expected constant expression" 7 times and the build fails.

Can anyone comment on the Visual studio version they are using ? Am i the only one getting these errors ?

Re: error C2057 using visual studio 2015

PostPosted: Thu Oct 07, 2021 2:14 pm
by amaitland
See https://groups.google.com/g/cef-announc ... 6nGWgWBgAJ

The CEF headers now require VS2019 or greater.

Re: error C2057 using visual studio 2015

PostPosted: Thu Oct 07, 2021 2:20 pm
by Adriaanse
OK that makes sense, thanks a lot for the quick response !