Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8a61ffe

Browse filesBrowse files
committed
Update build instructions - quick steps how to build CEF Python 51 BETA
1 parent 810ed33 commit 8a61ffe
Copy full SHA for 8a61ffe

File tree

Expand file treeCollapse file tree

1 file changed

+37
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+37
-1
lines changed
Open diff view settings
Collapse file

‎docs/Build-instructions.md‎

Copy file name to clipboardExpand all lines: docs/Build-instructions.md
+37-1Lines changed: 37 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,42 @@ Table of contents:
2626
* [How to patch](#how-to-patch)
2727

2828

29+
## Build CEF Python 51 BETA
30+
31+
1. Works fine on Ubuntu 14.04 64-bit (cmake 2.8.12 and g++ 4.8.4)
32+
2. Download 64-bit Linux standard distribution from Spotify builds:
33+
http://opensource.spotify.com/cefbuilds/index.html
34+
* As of writing the proper file is:
35+
"cef_binary_3.2704.1432.g60b3718_linux64.tar.bz2"
36+
* Check CEF version in "cefpython/src/version/cef_version_linux.h"
37+
to make sure you're downloading the right file
38+
3. Download [ninja](http://martine.github.io/ninja/) 1.7.1 or later
39+
and copy it to /usr/bin and chmod 755.
40+
4. Install packages: `sudo apt-get install python-dev cmake g++`
41+
5. Create projects to build:
42+
```
43+
cd cef_binary/
44+
mkdir build
45+
cd build/
46+
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release ..
47+
```
48+
6. To build type: `ninja libcef_dll_wrapper`. You may also build cefclient
49+
by typing `nincja cefclient`, but this will require installing
50+
additional packages, read Requirements further on this page.
51+
7. Copy "cef_binary/Resources/*" to "cefpython/src/linux/binaries_64bit/"
52+
8. Copy "cef_binary/Release/*" to "cefpython/src/linux/binaries_64bit/"
53+
9. Copy "cef_binary/build/libcef_dll_wrapper/*"
54+
to "cefpython/src/linux/setup/lib_64bit/" (create dir)
55+
10. Temporary fix for Isue #231 - copy icudtl.dat and natives_blob.bin
56+
to /usr/bin (where the python executable resides)
57+
11. Build cefpython:
58+
```
59+
cd cefpython/src/linux/
60+
python compile.py 51.0
61+
```
62+
12. As of writing only "pygtk_.py" and "kivy_.py" examples work.
63+
64+
2965
## Requirements
3066

3167
Below are platform specific requirements. Do these first before
@@ -57,7 +93,7 @@ __Windows__
5793

5894
__Linux__
5995

60-
* Install packages: `sudo apt-get install python-dev cmake g++`
96+
* Install packages: `sudo apt-get install python-dev cmake g++`
6197
* To build upstream cefclient/cefsimple you need to install these packages:
6298
`sudo apt-get install libgtk2.0-dev libgtkglext1-dev`
6399
* If building CEF from sources:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.