Cross compiling CEF for arm

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.

Cross compiling CEF for arm

Postby andreavaresio » Mon Jun 15, 2015 9:07 am

Can you share a complete list of steps to be performed in order to cross compile CEF for ARM?

I am working on host = ubuntu 14.04 and I would like to cross compile for odroid board.

This is the list of steps I performed:

>git clone https://chromium.googlesource.com/chrom ... _tools.git
>export PATH=`pwd`/depot_tools:"$PATH"
>mkdir CEF3_odroid
>cd CEF3_odroid
>mkdir chromium
>cd chromium
>fetch --nohooks chromium --nosvn=True
>#I found the following revision reading CHROMIUM_BUILD_COMPATIBILITY.txt from https://bitbucket.org/chromiumembedded/cef/src
>gclient sync --revision 14bd12d63019fbdd6f9d6c16b986a5f64a21264b --jobs 16
>cd src
>git clone https://bitbucket.org/chromiumembedded/cef.git
>sudo apt-get install gcc-arm-linux-gnueabihf
>sudo apt-get install g++-4.8-multilib-arm-linux-gnueabihf
>./build/install-build-deps.sh --arm
>cd cef
>export GYP_GENERATORS='ninja'
>export GYP_CROSSCOMPILE=1
>export GYP_DEFINES='target_arch=arm arm_float_abi=hard component=shared_library linux_use_gold_flags=1'
>./cef_create_projects.sh
And I got the following error: gyp: Call to 'python cups_config_helper.py --libs /media/varesio/disco2/GEF/CEF3_odroid/chromium/src/chrome/installer/linux/debian_wheezy_arm-sysroot' returned exit status 1. Traceback (most recent call last): File "tools/gclient_hook.py", line 106, in RunAction(cef_dir, gyper) File "/media/varesio/disco2/GEF/CEF3_odroid/chromium/src/cef/tools/gclient_util.py", line 39, in RunAction command, cwd=dir, always=True) File "/media/varesio/disco2/GEF/CEF3_Linux/depot_tools/gclient_utils.py", line 293, in CheckCallAndFilterAndHeader return CheckCallAndFilter(args, **kwargs) File "/media/varesio/disco2/GEF/CEF3_Linux/depot_tools/gclient_utils.py", line 538, in CheckCallAndFilter rv, args, kwargs.get('cwd', None), None, None) subprocess2.CalledProcessError: Command '/usr/bin/python ../build/gyp_chromium cef.gyp -I cef.gypi' returned non-zero exit status 1 in /media/varesio/disco2/GEF/CEF3_odroid/chromium/src/cef

Thanks Andrea
andreavaresio
Newbie
 
Posts: 1
Joined: Mon Jun 15, 2015 8:57 am

Re: Cross compiling CEF for arm

Postby AlexCW » Tue Aug 30, 2016 3:11 am

andreavaresio wrote:Can you share a complete list of steps to be performed in order to cross compile CEF for ARM?

I am working on host = ubuntu 14.04 and I would like to cross compile for odroid board.



Dear Andrea,
Did you succeed to build CEF for ARM? I need to do it for Raspberry Pi. I would appreciate a lot if you can share your experience.
AlexCW
Newbie
 
Posts: 3
Joined: Mon Jul 25, 2016 4:14 am

Re: Cross compiling CEF for arm

Postby MaitreDede » Thu Sep 08, 2016 3:36 am

Hi,

Any news from ARM cross-compiling ? I am trying to find a working "howto" to have CEF3 from sources via cross-compiling to binary to deploy on an Raspberry Pi...
Coding bugs...
User avatar
MaitreDede
Newbie
 
Posts: 6
Joined: Mon Jul 04, 2016 3:59 pm
Location: New Caledonia

Re: Cross compiling CEF for arm

Postby magreenblatt » Fri Sep 09, 2016 2:15 pm

magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Cross compiling CEF for arm

Postby MaitreDede » Fri Sep 09, 2016 5:05 pm

Yeah, thanks :)
Coding bugs...
User avatar
MaitreDede
Newbie
 
Posts: 6
Joined: Mon Jul 04, 2016 3:59 pm
Location: New Caledonia


Return to Support Forum

Who is online

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