Using Visual Studio 2017 15.9.16, with SDK 10.1.17763.132 installed (as well as other versions), i7-8700K, 32 GB RAM, 580 GB free disk space.
I was able to build the component version by mistake using the flags in MasterBuildQuickStart, but this is for use in an application not for CEF + Chromium development.
Error
- Code: Select all
[38605/38609] LINK(DLL) libcef.dll libcef.dll.lib libcef.dll.pdb
FAILED: libcef.dll libcef.dll.lib libcef.dll.pdb
ninja -t msvc -e environment.x86 -- ../../third_party/llvm-build/Release+Asserts/bin/lld-link.exe /nologo /IMPLIB:./libcef.dll.lib /DLL /OUT:./libcef.dll /PDB:./libcef.dll.pdb @./libcef.dll.rsp
LLVM ERROR: out of memory
Stack dump:
0. Program arguments: ../../third_party/llvm-build/Release+Asserts/bin/lld-link.exe /nologo /IMPLIB:./libcef.dll.lib /DLL /OUT:./libcef.dll /PDB:./libcef.dll.pdb @./libcef.dll.rsp
0x00007FF746714F76 (0x000000AC5898BB08 0x00007FF7480F9947 0x0000000000000016 0x00007FF746714F70) <unknown module>
0x00007FF7480F97FD (0x00007FF7480F9947 0x0000000000000016 0x00007FF746714F70 0x00007FF746714F70) <unknown module>
0x000000AC5898BB08 (0x0000000000000016 0x00007FF746714F70 0x00007FF746714F70 0x000000AC5898BB50) <unknown module>
0x00007FF7480F9947 (0x00007FF746714F70 0x00007FF746714F70 0x000000AC5898BB50 0x0000000000000000) <unknown module>
0x0000000000000016 (0x00007FF746714F70 0x000000AC5898BB50 0x0000000000000000 0x00007FF7480F93F1) <unknown module>
0x00007FF746714F70 (0x000000AC5898BB50 0x0000000000000000 0x00007FF7480F93F1 0x0000000000000001) <unknown module>
0x00007FF746714F70 (0x0000000000000000 0x00007FF7480F93F1 0x0000000000000001 0x00000213A2B714D0) <unknown module>
0x000000AC5898BB50 (0x00007FF7480F93F1 0x0000000000000001 0x00000213A2B714D0 0x0000000000001000) <unknown module>
ninja: build stopped: subcommand failed.
Defines and flags, for 32-bit debug
(I separate the debug and release builds since last time I checked using official_build=true in the debug build messes up debugging)
Attempt 1:
- Code: Select all
SET PATH=e:\depot_tools;%PATH%;
python e:/cef77118/automate-git.py --download-dir=e:/cef77118 --branch=3865 --no-distrib --no-build --force-clean
set GN_DEFINES=proprietary_codecs=true ffmpeg_branding=Chrome
set GYP_MSVS_VERSION=2017
set CEF_ARCHIVE_FORMAT=tar.bz2
cd E:\cef77118\chromium\src\cef
cef_create_projects.bat
cd E:\cef77118\chromium\src
ninja -j 2 -C out\Debug_GN_x86 cef
Attempt 2, using settings from a successful build of branch=3683:
- Code: Select all
set CEF_USE_GN=1
set GN_DEFINES=use_jumbo_build=true enable_precompiled_headers=false proprietary_codecs=true ffmpeg_branding=Chrome
set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*
SET PATH=e:\depot_tools;%PATH%;
cd E:\cef77118\chromium\src\cef
cef_create_projects.bat
cd E:\cef77118\chromium\src
ninja -j 2 -C out\Debug_GN_x86 cef
I'm guessing I'm misreading something in the current build instructions.