Hello,
I'm trying to do a build of CEF/Chromium 65.0.3325.181 on Windows 8.1 64 bit.
I have installed the Window 10 SDK version 10.0.15063.674 and Visual Studio 2017 community.
I'm fetching the code using this script (in d:\code\chromium_git\) :
set CEF_USE_GN=1
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
set GN_DEFINES=is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome enable_precompiled_headers = false
set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*
python d:\code\automate\automate-git.py --download-dir=D:\code\chromium_git\ --depot-tools-dir=D:\code\depot_tools --no-build --branch=3325
I'm creating the project files using this script using this script (in d:\code\chromium_git\chromium\src\cef\):
set CEF_USE_GN=1
set GN_DEFINES=is_win_fastlink=true proprietary_codecs=true ffmpeg_branding=Chrome
set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*
call cef_create_projects.bat
For 32 bit I'm building cef using:
cd d:\code\chromium_git\chromium\src
ninja -C out\Release_GN_x86 cef
For 64 bit I'm building cef using:
cd d:\code\chromium_git\chromium\src
ninja -C out\Release_GN_x64 cef
32bit builds go fine , both Debug and Release versions and I can create the binary distrib at the end running
make_distrib.bat --ninja-build
However, the 64 bit builds are failing, both Release and Debug, regardless of whether I run the automated-git.py script with the --x64-build parameter or if I just build it later using ninja -C out\Release_GN_x64 cef
The error I'm getting when building Release x64 is this:
D:\code\chromium_git\chromium\src>ninja -C out\Release_GN_x64 cef
ninja: Entering directory `out\Release_GN_x64'
[1/1] Regenerating ninja files
[9341/30229] ACTION //third_party/dom_distiller_...r_proto_gen(//build/toolchain/win:win_clang_x64)
FAILED: gen/third_party/dom_distiller_js/dom_distiller.pb.h gen/third_party/dom_distiller_js/dom_dis
tiller.pb.cc pyproto/third_party/dom_distiller_js/dom_distiller_pb2.py gen/third_party/dom_distiller
_js/dom_distiller_json_converter.h
D:/code/depot_tools/win_tools-2_7_6_bin/python/bin/python.exe ../../tools/protoc_wrapper/protoc_wrap
per.py dom_distiller.proto --protoc ./protoc.exe --proto-in-dir ../../third_party/dom_distiller_js/d
ist/proto --cc-out-dir gen/third_party/dom_distiller_js --py-out-dir pyproto/third_party/dom_distill
er_js --plugin ../../third_party/dom_distiller_js/protoc_plugins/json_values_converter.bat --plugin-
out-dir gen/third_party/dom_distiller_js --plugin-options output_dir=:
The system cannot find the path specified.
--plugin_out: protoc-gen-plugin: Plugin failed with status code 1.
Protoc has returned non-zero status: 1 .
[9350/30229] CXX obj/third_party/cld_3/src/src/protos/task_spec.pb.obj
ninja: build stopped: subcommand failed.
What is it that I am doing wrong?
Please help!
Thank you,
Ionut