build branch 2840 with automate-git.py Error

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

build branch 2840 with automate-git.py Error

Postby ebahar » Tue Nov 22, 2016 7:48 am

Hi,
I'm trying to build branch 2840 automate-git.py :

set CEF_USE_GN=1
set GN_DEFINES=is_win_fastlink=true proprietary_codecs=true ffmpeg_branding=Chrome
set GN_ARGUMENTS=--ide=vs2015 --sln=cef --filters=//cef/*
..\automate\automate-git.py --download-dir=c:\src\cef\chromium_git\2840 --depot-tools-dir=c:\src\cef\depot_tools --branch=2840 --force-build

but i'm keep getting this error (bellow)
Any Ideas?
Thanks,

*******************************************************************************************************************************************
Generating CEF project files...
RunAction
c:\src\cef\chromium_git\2840\chromium\src
['gn', 'gen', 'out\\Debug_GN_x86', '--ide=vs2015', '--sln=cef', '--filters=//cef/*']

________ running 'gn gen out\Debug_GN_x86 --ide=vs2015 --sln=cef --filters=//cef/*' in 'c:\src\cef\chromium_git\2840\chromium\src'
Traceback (most recent call last):
File "c:/src/cef/chromium_git/2840/chromium/src/build/toolchain/win/setup_toolchain.py", line 236, in <module>
main()
File "c:/src/cef/chromium_git/2840/chromium/src/build/toolchain/win/setup_toolchain.py", line 214, in main
include = [include_prefix + p for p in env['INCLUDE'].split(';') if p]
KeyError: 'INCLUDE'
ERROR at //build/toolchain/win/BUILD.gn:313:24: Script returned non-zero exit code.
x86_toolchain_data = exec_script("setup_toolchain.py",
^----------
Current dir: c:/src/cef/chromium_git/2840/chromium/src/out/Debug_GN_x86/
Command: c:/Src/cef/depot_tools/python276_bin/python.exe -- c:/src/cef/chromium_git/2840/chromium/src/build/toolchain/win/setup_toolchain.py "C:\Program Files (x86)\Microsoft Visual Studio 14.0" ../../tools/gyp/pylib/gyp/win_tool.py "C:\Program Files (x86)\Windows Kits\10" "C:\Windows\Sysnative;C:\Windows\SysWOW64" x86 /I
Returned 1.
See //BUILD.gn:65:1: which caused the file to be included.
group("gn_all") {
^-----------------
Traceback (most recent call last):
File "tools\gclient_hook.py", line 138, in <module>
RunAction(src_dir, cmd)
File "c:\src\cef\chromium_git\2840\chromium\src\cef\tools\gclient_util.py", line 39, in RunAction
command, cwd=dir, always=True)
File "c:\src\cef\depot_tools\gclient_utils.py", line 292, in CheckCallAndFilterAndHeader
return CheckCallAndFilter(args, **kwargs)
File "c:\src\cef\depot_tools\gclient_utils.py", line 538, in CheckCallAndFilter
rv, args, kwargs.get('cwd', None), None, None)
subprocess2.CalledProcessError: Command 'gn gen out\\Debug_GN_x86 --ide=vs2015 --sln=cef --filters=//cef/*' returned non-zero exit status 1 in c:\src\cef\chromium_git\2840\chromium\src
Traceback (most recent call last):
File "C:\Src\cef\automate\automate-git.py", line 942, in <module>
run(path, cef_src_dir, depot_tools_dir)
File "C:\Src\cef\automate\automate-git.py", line 55, in run
shell=(sys.platform == 'win32'))
File "C:\Python27\lib\subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['c:\\src\\cef\\chromium_git\\2840\\chromium\\src\\cef\\cef_create_projects.bat']' returned non-zero exit status 1

***********************************************************************************
ebahar
Techie
 
Posts: 46
Joined: Tue Nov 22, 2016 3:52 am

Re: build branch 2840 with automate-git.py Error

Postby magreenblatt » Tue Nov 22, 2016 12:01 pm

Were there any errors during the patching step earlier in the output? What versions of Windows and Visual Studio do you have installed?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: build branch 2840 with automate-git.py Error

Postby ebahar » Wed Nov 23, 2016 2:48 am

i found the issue,

it seems like visual studio 2015 installation doesn't install C++ Common Tools by default...

thanks!
ebahar
Techie
 
Posts: 46
Joined: Tue Nov 22, 2016 3:52 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 48 guests