I'm trying to recreate the current CefSharp 3.2171.2069 release (
https://github.com/cefsharp/CefSharp) from source, including building CEF. I have vs2013(update 4) and vs2012(update 4) installed.
I've followed the directions at
https://github.com/cefsharp/CefSharp/wiki/Building-CefSharp (to build cefsharp) which references
https://github.com/cefsharp/cef-binary/wiki/Building-Cef-from-source.
Based on those instructions I've downloaded the the
automate.git.py script and installed the chromium depot tools (included python 2.7.6).
I run the
automate.git.py script: python automate-git.py --download-dir=<my-download-dir> --branch=2171
This downloaded commit 9be541e from 2015-04-13)
This runs to completion and creates the expected binary_distrib folder with
cef_binary_3.2171.51.g9be541e_windows32
cef_binary_3.2171.51.g9be541e_windows32.zip
cef_binary_3.2171.51.g9be541e_windows32_debug_symbols
cef_binary_3.2171.51.g9be541e_windows32_debug_symbols.zip
cef_binary_3.2171.51.g9be541e_windows32_release_symbols
cef_binary_3.2171.51.g9be541e_windows32_release_symbols.zip
(I also did a 64-bit build creating _windows64 versions)
I downloaded cef-binary from
https://github.com/cefsharp/cef-binary (master branch) and installed the cef binaries (above) in the cef_binary_3.y.x_windowsXX folders, modified (version 3.2171.51) and ran the build.ps1 script. This ran to completion and generated the cef_redist.x{86|64} nuget packages and cef.sdk.
I downloaded CefSharp v39.0.0 from
https://github.com/cefsharp/CefSharp/releases/tag/v39.0.0, installed the generated nuget packages and tried to build all.
I get an error building CefSharp.core that CefAllowCertificateErrorCallback is undefined (Error 1 error C2065: 'CefAllowCertificateErrorCallback' : undeclared identifier e:\cefsource\cefsharp-39.0.0\cefsharp.core\Internals\ClientAdapter.h 97 1 CefSharp.Core).
In the cef.sdk package from nuget, the symbol is defined in packages\cef.sdk.3.2171.2069\CEF\include\cef_request_handler.h
In my build packages the file (cef_request_handler.h) exists but does not define the symbol. Nor is it in the cef_request_handler.h that came with the cef branch 2171 build.
I'm assuming I have the wrong versions of things but I can make heads or tales of the various repositories and references.
In the cef build (chromium\src\cef) there is a file CHROMIUM_BUILD_COMPATABILITY.txt that references 'chromium_checkout': 'refs/tags/39.0.2171.95'. I don't know where the .51 came from in my cef build and I don't know where 2069 came from in the current CefSharp build.
So... How do I build the equivalent of 39.0.0/3.2171.2069 from source? Or what am I doing wrong?