Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
How to build the CEF binaries
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to build the CEF binaries
I'm sorry but I had to edit your post.
Please, don't add links to files that could put this forum at risk.
Please, don't add links to files that could put this forum at risk.
Re: How to build the CEF binaries
ok , understand
Re: How to build the CEF binaries
Belated response, but this seems to be able to get me by for now so thanks for that suggestionsalvadordf wrote: Tue Jan 30, 2024 10:11 am Hi,
Please read this post :
https://www.briskbard.com/forum/viewtopic.php?p=9304#p9304
There were some reports of build issues of the 6099 branch but most of the times the Internet connection or the servers fail and the missing source files causes build errors. We can only retry in this case.
Chromium is a gigantic project that requires a very powerful computer to build. Consider using WebView4Delphi, which already has all the codecs, if this process takes too much time.

- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to build the CEF binaries
The depot_tools.zip package has been updated recently.
Make sure you download it again before trying to build the binaries.
Make sure you download it again before trying to build the binaries.
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to build the CEF binaries
Updated Windows 10 SDK version required for CEF 128.
Re: How to build the CEF binaries
Hello, after almost a year I still can’t build a CEF. This week I started everything from the beginning, reinstalled Windows, configured everything according to these instructions, after 12 hours of compiling version 6723 I get the following error:
And is it possible to somehow continue compilation from the point of error or, for example, at least not download all the files again? Otherwise, downloading is also a lengthy process, 2 hours could have been saved.
I can’t understand what the problem is, maybe someone found a solution during this time?[1/2] ACTION //cef:args_gn_source(//build/toolchain/win:win_clang_x86)
[14553/51513] ACTION //components/optimization_guide/proto...ation_guide_proto_gen(//build/toolchain/win:win_clang_x86)
components/optimization_guide/proto/features/prompt_api.proto:9:1: warning: Import components/optimization_guide/proto/features/common_quality_data.proto is unused.
[28562/51513] ACTION //components/optimization_guide/proto..._proto_descriptor_gen(//build/toolchain/win:win_clang_x86)
components/optimization_guide/proto/features/prompt_api.proto:9:1: warning: Import components/optimization_guide/proto/features/common_quality_data.proto is unused.
components/optimization_guide/proto/features/prompt_api.proto:9:1: warning: Import components/optimization_guide/proto/features/common_quality_data.proto is unused.
[47988/51513] ACTION //chrome/updater/app/server/win:updater_legacy_idl_idl_action(//build/toolchain/win:win_clang_x86)
FAILED: gen/chrome/updater/app/server/win/updater_legacy_idl.h gen/chrome/updater/app/server/win/updater_legacy_idl_i.c gen/chrome/updater/app/server/win/updater_legacy_idl.tlb gen/chrome/updater/app/server/win/updater_legacy_idl.dlldata.c gen/chrome/updater/app/server/win/updater_legacy_idl_p.c
e:/code/chromium_git/depot_tools/bootstrap-2@3_11_8_chromium_35_bin/python3/bin/python3.exe ../../build/toolchain/win/midl.py environment.x86 ../../third_party/win_build_output/midl/chrome/updater/app/server/win gen/chrome/updater/app/server/win ignore_proxy_stub,PLACEHOLDER-GUID-7A1FDE1F-AAA9-441B-B9AA-95B31D78592B=4C61BB05-94D1-4BAB-B69C-C34195AF92CA,PLACEHOLDER-GUID-A0FEB7CB-E0D8-4035-A4C9-5620A8C725AD=75828ED1-7BE8-45D0-8950-AA85CBF74510,PLACEHOLDER-GUID-FAC5C548-84EC-474C-A4B3-CD414E09B14C=283209B7-C761-41CA-BE8D-B5321CD78FD6,PLACEHOLDER-GUID-687DCE9A-57BE-4026-BEC4-C0A9ACBBCAF2=B52C8B56-9541-4B78-9B2F-665366B78A9C,PLACEHOLDER-GUID-E432DCFE-6A32-4C07-B038-9D74AC80D6AB=4DAC24AB-B340-4B7E-AD01-1504A7F59EEA,PLACEHOLDER-GUID-F675D224-BD54-40E9-AECB-AA3B64EB9863=83FE19AC-72A6-4A72-B136-724444121586,PLACEHOLDER-GUID-CEC2877D-4856-460E-BE73-11DD7CC7C821=811A664F-703E-407C-A323-E6E31D1EFFA0,PLACEHOLDER-GUID-AA10D17D-7A09-48AC-B1E4-F124937E3D26=3057E1F8-2498-4C19-99B5-F7F207DA4DC7,PLACEHOLDER-GUID-AC817E10-993C-470F-8DCA-25F53D70EA8D=F4874A57-8C88-4B1D-AAB8-4B06CF98FB29,PLACEHOLDER-GUID-9367601E-C100-4702-8755-808D6BB385D8=4AF986BF-DD14-45C2-8228-2541622699CD,PLACEHOLDER-GUID-A643508B-B1E3-4457-9769-32C953BD1D57=BE5D3E90-A66C-4A0A-9B7B-1A6B9BF3971E,PLACEHOLDER-GUID-31479718-D170-467B-9274-27FC3E88CB76=AE097E2A-7F4B-4248-8698-D6E515E9C638,PLACEHOLDER-GUID-71CBC6BB-CA4B-4B5A-83C0-FC95F9CA6A30=E0425C1F-4263-4BA5-9328-423470344FC0,PLACEHOLDER-GUID-A35E1C5E-0A18-4FF1-8C4D-DD8ED07B0BD0=027234BD-61BB-4F5C-9386-7FE804171C8C,PLACEHOLDER-GUID-EE8EE731-C592-4A4F-9774-BB04337B8F46=E2C00808-83C7-4CE4-8075-7E185A90AE04,PLACEHOLDER-GUID-AE5F8C9D-B94D-4367-A422-D1DC4E913A52=B7DA4837-09FF-4355-BFE1-30598E40F41A,PLACEHOLDER-GUID-0569DBB9-BAA0-48D5-8543-0F3BE30A1648=D734C877-21F4-496E-B857-3E5B2E72E4CC,PLACEHOLDER-GUID-CE7A37FD-A255-460C-BAF1-708765EB76EC=EA08425E-054B-4564-B0A0-8BAAB76F38E9,PLACEHOLDER-GUID-BFFD766D-A2DD-436E-89FA-BF05BC5B5958=D45CFCE3-5297-4D0B-925E-1924A32A7452,PLACEHOLDER-GUID-63D941DE-F67B-4E15-8A90-27881DA9EF4A=2C6218B9-088D-4D25-A4F8-570558124142,PLACEHOLDER-GUID-47B9D508-CB72-4F8B-AF00-7D0143603B25=2C320333-21CF-4FC8-BF8F-4287DB3795B7,PLACEHOLDER-GUID-540B227A-F442-45D5-BA52-298A05BAF1A8=8CA0CD21-6864-4BD8-BF0F-2D69AF3A0FE8,PLACEHOLDER-GUID-10A2D03F-8BC7-49DB-A21E-A7D4429D2759=87DBF75E-F590-4802-93FD-F8D07800E2E9,PLACEHOLDER-GUID-5515E66F-FA6F-4D74-B5EA-4FCFDA16FE12=F8D4B43D-7D22-47FE-B6AD-BAC5ED8A1659,PLACEHOLDER-GUID-C6E2C5D5-86FA-4A64-9D08-8C9B644F0E49=DF735BF0-0265-4D65-BABA-E244D428EFC5,PLACEHOLDER-GUID-6A54FE75-EDC8-404E-A41B-4278C0557151=7D908375-C9D0-44C5-BB98-206F3C24A74C,PLACEHOLDER-GUID-EF739C0C-40B0-478D-B76B-3659B8F2B0EB=19309C09-C93C-45DA-8C02-9A8B8198A5E0,PLACEHOLDER-GUID-F3964464-A939-44D3-9244-36BD2E3630B8=F8197F77-DE9C-4BB0-9F63-459A001154C6,PLACEHOLDER-GUID-06A6AA1E-2680-4076-A7CD-6053722CF454=9D31EA63-2E06-4D41-98C7-CB1F307DB597,PLACEHOLDER-GUID-AD91C851-86AC-499F-9BA9-9A561744AA4D=1163C9E6-6391-46E2-96AB-2BCB8907D669,PLACEHOLDER-GUID-F4A0362A-3702-48B8-9896-7D8013D03AB2=78A85A33-F541-4A52-A1F2-0BCBA1F1A4F0,PLACEHOLDER-GUID-029BD175-5035-4E2A-8724-C9D47F4FAEA3=5C674FC1-80E3-48D2-987B-79D9D286065B,PLACEHOLDER-GUID-BC39E1E1-E8FA-4E72-903F-3BF346E7E165=847BB70C-47D0-46C2-8C97-9000A1F9AD99,PLACEHOLDER-GUID-7B26CC23-B2B8-441B-AA9C-8B551ABB611B=6F7996CA-5531-4299-BD7F-3C7090520090,PLACEHOLDER-GUID-C07BC046-32E0-4184-BC9F-13C4533C24AC=4F08E832-C4AF-4D77-840F-8884083E8324,PLACEHOLDER-GUID-0F6696F3-7F48-446B-97FA-6B34EC2ADB32=3C0435E1-B19F-4B7A-8481-D7EBAEBFAF47,PLACEHOLDER-GUID-423FDEC3-0DBC-441E-B51D-FD8B82B9DCF2=DD9F76CA-FCFB-4F8E-B65E-F7C0703AAFBD,PLACEHOLDER-GUID-2A7D2AE7-8EEE-45B4-B17F-31DAAC82CCBB=47C8886A-A4B5-4F6C-865A-41A207074DFA,PLACEHOLDER-GUID-7E0A6B39-7CEB-4944-ABFA-F419D201D6A0=13D172EB-2BFB-4D72-AF10-7D33337B7FC6,PLACEHOLDER-GUID-CC2CCD05-119C-44E1-852D-6DCC2DFB72EC=CFF9AE0F-C5C5-4D53-8394-7602758A52BA,PLACEHOLDER-GUID-4779D540-F6A3-455F-A929-7ADFE85B6F09=EED70106-3604-4385-866E-6D540E99CA1A,PLACEHOLDER-GUID-FFBAEC45-C5EC-4287-85CD-A831796BE952=437174A3-B9A5-4835-B896-7DE8C1FE2638,PLACEHOLDER-GUID-74F243B8-75D1-4E2D-BC89-5689798EEF3E=BAEE6326-C925-4FA4-AFE9-5FA69902B021,PLACEHOLDER-GUID-5F41DC50-029C-4F5A-9860-EF352A0B66D2=E1C53EEF-2BAB-4420-BDD7-256B91C49D0C updater_legacy_idl.tlb updater_legacy_idl.h updater_legacy_idl.dlldata.c updater_legacy_idl_i.c updater_legacy_idl_p.c ../../third_party/llvm-build/Release+Asserts/bin/clang-cl.exe gen/chrome/updater/app/server/win/updater_legacy_idl.template /char signed /env win32 /Oicf
midl.exe output different from files in gen/chrome/updater/app/server/win, see C:\Temp\tmp8t6vps_0
To rebaseline:
copy /y C:\Temp\tmpefe9xfgn\* ..\..\third_party\win_build_output\midl\chrome\updater\app\server\win\x86
[47997/51513] CXX obj/components/autofill/content/renderer/renderer/form_autofill_util.obj
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "E:\code\automate\automate-git.py", line 1376, in <module>
run(command + build_path + target, chromium_src_dir, depot_tools_dir,
File "E:\code\automate\automate-git.py", line 66, in run
return subprocess.check_call(
^^^^^^^^^^^^^^^^^^^^^^
File "e:\code\depot_tools\bootstrap-2@3_11_8_chromium_35_bin\python3\bin\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['autoninja', '-C', 'out\\Debug_GN_x86', 'cefclient']' returned non-zero exit status 1.
And is it possible to somehow continue compilation from the point of error or, for example, at least not download all the files again? Otherwise, downloading is also a lengthy process, 2 hours could have been saved.
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to build the CEF binaries
I just updated the instructions with the right branch number in case that was the issue.
Re: How to build the CEF binaries
I see only “branch” has changed in the instructions, that’s what I installed. But really, I just noticed that I had 2 Windows SDKs, one is correct, the second is a little larger with the last four characters. I deleted it, maybe it was the problem, I’ll try to build CEF again.
Re: How to build the CEF binaries
Unfortunately, the problem was not in the SDK, the same error on the same line
. Nobody has any ideas? The last version that I was able to compile was 109. I couldn’t build any version higher.

- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to build the CEF binaries
See if the information in these links can be helpful. They have a similar build error :
https://www.magpcss.org/ceforum/viewtopic.php?f=6&t=19577
https://www.magpcss.org/ceforum/viewtopic.php?f=6&t=19790
https://www.magpcss.org/ceforum/viewtopic.php?f=6&t=19841
https://www.magpcss.org/ceforum/viewtopic.php?f=6&t=19577
https://www.magpcss.org/ceforum/viewtopic.php?f=6&t=19790
https://www.magpcss.org/ceforum/viewtopic.php?f=6&t=19841