Building from the tarballs

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.

Building from the tarballs

Postby Sesse » Fri Mar 09, 2018 2:19 pm

Hi,

I'm trying to make a CEF distribution package, which means it needs to be based on the tarball, without downloading anything on-the-fly (for build reproducibility and availability of source, among others). I've downloaded the tarball called “CEF Sources” from the Spotify build page (https://bitbucket.org/chromiumembedded/ ... 82.tar.bz2), unpacked it, and tried to build against my Chromium sources.

However, it pretty quickly hit some snags. When trying to run ./cef_create_projects.sh, it complains that it doesn't have depot_tools in PATH. So I clone that from https://chromium.googlesource.com/chrom ... _tools.git and put it in PATH (I hope to get rid of that later, but OK). But even then, I get

Code: Select all
pannekake:..membedded-cef-96f907e55a7e> /usr/bin/python tools/make_version_header.py --header include/cef_version.h --cef_version VERSION --chrome_version ./chromium/chrome/VERSION --cpp_header_dir include                                                             
Traceback (most recent call last):                                               
  File "tools/make_version_header.py", line 188, in <module>
    options.cef_version, options.cpp_header_dir)
  File "tools/make_version_header.py", line 80, in write_version_header
    raise Exception('Not a valid checkout')
Exception: Not a valid checkout


Seemingly I must be in a git checkout to build cef_version.h, and there's no cef_version.h in the tarballs that I can see. Is this meant to work at all?
Sesse
Newbie
 
Posts: 1
Joined: Fri Mar 09, 2018 2:06 pm

Re: Building from the tarballs

Postby magreenblatt » Fri Mar 09, 2018 5:35 pm

The supported build process is described at https://bitbucket.org/chromiumembedded/ ... uilding.md. No other build process is supported.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Building from the tarballs

Postby magreenblatt » Fri Mar 09, 2018 5:35 pm

The supported build process is described at https://bitbucket.org/chromiumembedded/ ... uilding.md. No other build process is supported.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

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