fail to build branch 3239 on windows 10

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.

fail to build branch 3239 on windows 10

Postby ebahar » Sat Dec 16, 2017 1:25 pm

hi,

/Im trying to build CEF with the following proprietress (this configuration working well at branch 3163) :

set CEF_USE_GN=1
set GN_DEFINES=is_win_fastlink=false is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome
set GYP_DEFINES=buildtype=Official
set GN_ARGUMENTS=--ide=vs2015 --sln=cef --filters=//cef/*
set GYP_MSVS_VERSION=2015
set CEF_ARCHIVE_FORMAT=tar.bz2
automate-git.py --download-dir=f:\Src\cef\chromium_git\3239 --depot-tools-dir=f:\SRC\CEF\depot_tools\ --branch=3239 --no-debug --force-build --minimal-distrib

but i'm getting this compilation error:

[141/31606] CXX obj/chrome_elf/constants/chrome_elf_constants.obj
FAILED: obj/chrome_elf/constants/chrome_elf_constants.obj
ninja -t msvc -e environment.x86 -- "c:\program files (x86)\microsoft visual studio 14.0\vc\bin\amd64_x86/cl.exe" /nologo /showIncludes @obj/chrome_elf/constants/chrome_elf_constants.obj.rsp /c ../../chrome_elf/chrome_elf_constants.cc /Foobj/chrome_elf/constants/chrome_elf_constants.obj /Fd"obj/chrome_elf/constants_cc.pdb"
f:\Src\cef\chromium_git\3239\chromium\src\chrome_elf/chrome_elf_constants.h(10): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
[150/31606] ACTION //chrome/browser/resources/md_bookmarks:build(//build/toolchain/win:x86)
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "F:\src\cef\automate_63\automate-git.py", line 1107, in <module>
if options.buildlogfile else None)
File "F:\src\cef\automate_63\automate-git.py", line 55, in run
args, cwd=working_dir, env=env, shell=(sys.platform == 'win32'))
File "C:\Python27\lib\subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', 'out\\Release_GN_x86', 'cefclient']' returned non-zero exit status 1


any ideas?

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

Re: fail to build branch 3239 on windows 10

Postby magreenblatt » Sat Dec 16, 2017 8:00 pm

3239 branch has different build requirements. See https://bitbucket.org/chromiumembedded/ ... uilding.md
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 20 guests