These instructions were put together in June of 2015.
We are using cef 3.2924.1575.g97389a9
Download the compiled CEF binary for Linux 64bit or build CEF version 3.2924.1575.g97389a9 from source
The pre-compiled binary distribution of CEF is not compatible with libstdc++ available on Ubuntu Precise so you will either want to build CEF from source or manually upgrade libstdc++.
sudo apt-get install libgtk2.0-dev libgtkglext1-dev ninja-build
wget https://bitbucket.org/chromiumembedded/cef/raw/master/tools/automate/automate-git.py
python automate-git.py --download-dir=<some_temp_location> --branch=2357 --no-debug-build
cp -r <some_temp_location>/chromium/src/cef/binary_distrib/cef_binary_3.2357.1280.<some_hash>.linux64/ <somewhere>
Once downloaded, unpack it:
cd <somewhere>
tar xvf /path/to/cef_binary_3.2924.1575.g97389a9_linux64.tar.bz2
Building the CEF binaries requires cmake >= 2.8.12.2 which is not available as a debian package on Ubuntu Precise.
cd <somewhere>
wget http://www.cmake.org/files/v3.2/cmake-3.2.3.tar.gz
tar -xf cmake-3.2.3.tar.gz
cd cmake-3.2.3/
./bootstrap
make
sudo make install
The libcef.so file is pre-built and included in the pre-built CEF binary package. However, the libcef_dll_wrapper library is not pre-built. It needs to be built manually along with the two sample CEF applications.
cd /path/to/cef_binary_3.2924.1575.g97389a9_linux64/
The cmake configuration includes a compiler flag that is incompatible with the version of gcc that is available as a debian package on Ubuntu Precise. Either upgrade your gcc compiler to 4.7 or else manually edit the CMakeLists.txt file in the root of the pre-built CEF binary folder and change all instances of "-std=gnu++11" to "-std=c++0x".
mkdir build
cd build
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release ..
ninja libcef_dll_wrapper
This can be done either by installing the scons debian package or by downloading and installing the source.
sudo apt-get install scons
wget http://prdownloads.sourceforge.net/scons/scons-src-2.3.4.tar.gz
tar -xf scons-src-2.3.4.tar.gz
cd scons-src-2.3.4/
python bootstrap.py build/scons
cd build/scons
sudo python setup.py install
cd <somewhere>
git clone [email protected]:imvu/leprechaun.git
cd leprechaun
scons CEFDIR=/path/to/extracted/cef
The leprechaun binaries will be under leprechaun-binaries/linux/
Go to http://unarchiver.c3.cx/unarchiver or http://wakaba.c3.cx/s/apps/unarchiver.html and download
Mac 64bit CEF 3.2924.1575.g97389a9
Extract the downloaded archive file by navigating to it using Finder and double clicking on it.
cd <somewhere>
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=$PATH:`pwd`/depot_tools
/path/to/cef_binary_3.2924.1575.g97389a9_macosx64/include/base/cef_build.h:141
-#define OVERRIDE override
+#define OVERRIDE
/path/to/cef_binary_3.2924.1571.gcdcdfa9_macosx64/include/internal/cef_types_wrappers.h:985
-s->range = { 0, 0 };
+s->range.from = 0;
+s->range.to = 0;
The libcef.so file is pre-built and included in the pre-built CEF binary package. However, the libcef_dll_wrapper library is not pre-built. It needs to be built manually along with the two sample CEF applications.
cd /path/to/cef_binary_3.2924.1575.g97389a9_macosx64
mkdir build
cd build
/Applications/CMake.app/Contents/bin/cmake -G "Ninja" -DPROJECT_ARCH="x86_64" -DCMAKE_BUILD_TYPE=Release ..
ninja cefclient cefsimple
wget http://prdownloads.sourceforge.net/scons/scons-src-2.3.4.tar.gz
tar -xf scons-src-2.3.4.tar.gz
cd scons-src-2.3.4/
python bootstrap.py build/scons
cd build/scons
sudo python setup.py install
cd <somewhere>
git clone [email protected]:imvu/leprechaun.git
cd leprechaun
scons CEFDIR=/path/to/cef_binary_3.2924.1575.g97389a9_macosx64
Install cmake
Install Python
Do not use Cygwin Python
Install SCons
Download the Windows compiled CEF binary
Choose Windows 32bit CEF 3.2924.1575.g97389a9
Browse to the downloaded cef_binary_3.2924.1575.g97389a9_windows32.7z file in explorer, right click, select 7zip, select Extract... and browse to a location on your hard drive.
The libcef.dll file is pre-built and included in the pre-built CEF binary package. However, the libcef_dll_wrapper library is not pre-built. It needs to be built manually along with the two sample CEF applications.
cd /D C:\path\to\cef_binary_3.2924.1575.g97389a9_windows32
md build
cd build
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release ..
ninja cefclient cefsimple
cd <somewhere>
git clone [email protected]:imvu/leprechaun.git
cd leprechaun
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\Bin\vcvars32.bat"
scons CEFDIR=C:\path\to\cef_binary_3.2924.1575.g97389a9_windows32