https://bitbucket.org/chromiumembedded/ ... n-building
Then run into issues during linking, it couldn't find many .so libraries. I had to install these:
- Code: Select all
apt-get install libnss3 libnspr4 libxss1 libgconf-2-4
It built fine now. However when running cefclient or cefsimple I get error:
- Code: Select all
./cefclient
Illegal instruction (core dumped)
Debugged it using gdb and see:
- Code: Select all
Program received signal SIGILL, Illegal instruction.
InitializeResourceBundle () at ../../cef/libcef/common/main_delegate.cc:647
It is this line:
- Code: Select all
CHECK(resources_dir.IsAbsolute());
Source ref: https://bitbucket.org/chromiumembedded/ ... ate.cc-647
Files in the tests/cefclient/Release/ directory:
- Code: Select all
drwxr-xr-x 4 root root 4096 Mar 16 11:26 .
drwxr-xr-x 4 root root 4096 Mar 16 11:21 ..
-rw-rw-r-- 1 root root 324107 Mar 16 11:22 cef_100_percent.pak
-rw-rw-r-- 1 root root 435922 Mar 16 11:22 cef_200_percent.pak
-rwxr-xr-x 1 root root 1434917 Mar 16 11:22 cefclient
drwxr-xr-x 2 root root 4096 Mar 16 11:22 cefclient_files
-rw-rw-r-- 1 root root 3581680 Mar 16 11:22 cef_extensions.pak
-rw-rw-r-- 1 root root 6519856 Mar 16 11:22 cef.pak
-rwxrwxr-x 1 root root 20008 Mar 16 11:22 chrome-sandbox
-rw-r--r-- 1 root root 0 Mar 16 11:26 debug.log
-rw-rw-r-- 1 root root 4816809 Mar 16 11:22 devtools_resources.pak
-rw-rw-r-- 1 root root 10130464 Mar 16 11:22 icudtl.dat
-rwxrwxr-x 1 root root 541813212 Mar 16 11:22 libcef.so
drwxr-xr-x 2 root root 4096 Mar 16 11:22 locales
-rw-rw-r-- 1 root root 342741 Mar 16 11:22 natives_blob.bin
-rw-rw-r-- 1 root root 813944 Mar 16 11:22 snapshot_blob.bin
Using 32-bit chroot on ubuntu 14.04 64-bit.
CEF branch 2924.