Building with Visual Studio 2013

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Building with Visual Studio 2013

Postby simonpearce » Thu Apr 16, 2020 1:51 pm

I am building my code with Visual Studio 2013 but I know CEF is built with Visual Studio 2017 in the Spotify Automated Builds.
Is it possible for me to use their build of CEF with Visual Studio 2013?
For example, I see their builds have libcef.lib - I will not be able to link with that if mine is 2013 and theirs is 2017 will I?
simonpearce
Techie
 
Posts: 36
Joined: Tue Oct 27, 2015 2:32 pm

Re: Building with Visual Studio 2013

Postby magreenblatt » Thu Apr 16, 2020 10:12 pm

CEF is only tested with VS2017 and newer. The libs are compatible with older versions but you may need to fix syntax in the sample apps to compile with older MSVC compilers.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Building with Visual Studio 2013

Postby simonpearce » Thu Apr 16, 2020 11:03 pm

I see - I wanted to understand the mechanism how it is possible for libcef.lib in the CEF package that is made with 2017 or 2019 to link with my 2013 application. It seems to work but I would like to know why.
simonpearce
Techie
 
Posts: 36
Joined: Tue Oct 27, 2015 2:32 pm

Re: Building with Visual Studio 2013

Postby magreenblatt » Fri Apr 17, 2020 10:54 am

libcef uses a C API, so there are no exported/imported standard library symbols that would cause versioning issues between VS versions. See here for more details.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 112 guests