Reputation: 4058
I built CEF 4147 Release x64 binaries to use with CefSharp/84. I used the steps outlined in the CEF MasterBuildQuickStart Wiki. I noticed it generates DLLs, etc that are the same versions as those that come with CefSharp/84. There are some differences, however. The two DLLs in the swiftshshader folder are much smaller and come with LIB files in my build. When I use CefSharp with my CEF build it doesn't work. CefSharp.core.dll cannot load some dependency.
Does CefSharp require any defines that are not used in MasterBuildQuickStart?
Upvotes: 0
Views: 1067
Reputation: 4058
I was able to re-create the the CEF binaries that come with CefSharp/84 (CEF build 4147) using the instructions in MasterBuildQuickStart after making the following changes (in bold).
In Step 6:
set GN_DEFINES=is_component_build=false is_official_build=true
# Use vs2017 or vs2019 as appropriate.
set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/*
python ..\automate\automate-git.py --download-dir=c:\code\chromium_git --depot-tools-dir=c:\code\depot_tools --no-distrib --no-build --branch=4147
In Step 7:
set GN_DEFINES=is_component_build=false is_official_build=true
# Use vs2017 or vs2019 as appropriate.
set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/* call cef_create_projects.bat
In Step 8:
ninja -C out\Release_GN_x64 cef
Upvotes: 1