error C2057 using visual studio 2015

Having problems with building or using the JCEF Java binding? Ask your questions here.

error C2057 using visual studio 2015

Postby Adriaanse » Thu Oct 07, 2021 2:00 pm

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 ?
Adriaanse
Techie
 
Posts: 31
Joined: Fri Nov 16, 2018 9:21 am

Re: error C2057 using visual studio 2015

Postby amaitland » Thu Oct 07, 2021 2:14 pm

See https://groups.google.com/g/cef-announc ... 6nGWgWBgAJ

The CEF headers now require VS2019 or greater.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am

Re: error C2057 using visual studio 2015

Postby Adriaanse » Thu Oct 07, 2021 2:20 pm

OK that makes sense, thanks a lot for the quick response !
Adriaanse
Techie
 
Posts: 31
Joined: Fri Nov 16, 2018 9:21 am


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 20 guests