build cef

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

build cef

Postby alien0101 » Tue Jul 29, 2014 8:17 pm

HI

I have downloaded cef code and I am trying to execute cefclient sample . But I am not able to find VS projects form cefclient.
Since there is not much detail of how to build cefclient , I tried to run cef_create_projects.bat but getting following error

C:\chromiumembedded-read-only\cef3>cef_create_projects.bat

Checking CEF and Chromium revisions...

________ running 'C:\Users\depot_tools\python276_bin\python.exe tools/check_revision.py' in 'C
embedded-read-only\cef3'
Using CEF revision 1781 @ http://chromiumembedded.googlecode.com/svn/trunk/cef3
Using Chromium revision 1781 @ http://chromiumembedded.googlecode.com/svn/trunk

WARNING: Incorrect Chromium URL; found http://chromiumembedded.googlecode.com/svn/trunk, expected http://src.chromium.org/svn/tru

WARNING: Incorrect Chromium revision; found 1781, expected 280796

Please see CHROMIUM_BUILD_COMPATIBILITY.txt for instructions.

Generating CEF version header file...

________ running 'C:\depot_tools\python276_bin\python.exe tools/make_version_header.py -
n.h --cef_version VERSION --chrome_version ../chrome/VERSION --cpp_header_dir include' in 'C:\chromiumembedded-re
Traceback (most recent call last):
File "tools/make_version_header.py", line 171, in <module>
written = write_svn_header(options.header, options.chrome_version, options.cef_version, options.cpp_header_dir)
File "tools/make_version_header.py", line 48, in write_svn_header
raise Exception('Chrome version file '+chrome_version+' does not exist.')
Exception: Chrome version file ../chrome/VERSION does not exist.
Traceback (most recent call last):
File "tools\gclient_hook.py", line 22, in <module>
RunAction(cef_dir, gyper)
File "C:\chromiumembedded-read-only\cef3\tools\gclient_util.py", line 39, in RunAction
command, cwd=dir, always=True)
File "C:\depot_tools\gclient_utils.py", line 281, in CheckCallAndFilterAndHeader
return CheckCallAndFilter(args, **kwargs)
File "C:\depot_tools\gclient_utils.py", line 526, in CheckCallAndFilter
rv, args, kwargs.get('cwd', None), None, None)
subprocess2.CalledProcessError: Command C:\depot_tools\python276_bin\python.exe tools/make_version_header.py --hea
der include/cef_version.h --cef_version VERSION --chrome_version ../chrome/VERSION --cpp_header_dir include returned non-zero exit status 1 in C:\chromiumembedded-read-only\cef3


Please suggest how to fix this issue.
alien0101
Techie
 
Posts: 11
Joined: Tue Jul 29, 2014 5:09 am

Re: build cef

Postby magreenblatt » Tue Aug 05, 2014 4:39 am

Download a binary distribution as described at https://code.google.com/p/chromiumembed ... loads?tm=2.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: build cef

Postby tyzhang » Thu Nov 13, 2014 3:42 am

Did you solved the problem? I have the same problem too. I want to know how did you solved that.
tyzhang
Newbie
 
Posts: 1
Joined: Thu Nov 13, 2014 3:34 am

Re: build cef

Postby magreenblatt » Fri Nov 14, 2014 10:30 am

tyzhang wrote:Did you solved the problem? I have the same problem too. I want to know how did you solved that.

The directory structure in the original post is not correct. There is an automate-git.py tool that should be used. See https://code.google.com/p/chromiumembed ... ndBuilding.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 72 guests