Cross Compile Player with Gearbox

From The Player Project

Revision as of 06:21, 12 April 2010 by Rmattes (Talk | contribs)
Jump to: navigation, search


This guide is a follow up of the Cross Compile Player with Openembedded and bitBake guide. The recipe for builing Gearbox is provided.

To get gearbox working with player you must install gearbox first. So if you already have player installed, delete all player files in your /usr/local directory.

Gearbox Recipe

DESCRIPTION = "A collection of usable peer-reviewed robotics-related libraries"
LICENSE = "LGPLv3 and LGPLv2+ and GPLv2+"
PN = "gearbox"
PV = 9.11
PR = "r0"
SRC_URI = "file://gearbox-9.11.tar.gz" 

inherit autotools pkgconfig 

do_configure () {

do_compile() {

do_install() {
	oe_runmake install DESTDIR=${D}


FILES_${PN} = "/usr/lib/* \
		/usr/include/* \
		/usr/share/* \

I am using local source in this recipe instead of svn, you must download the gearbox source and place it in your directory so that bitBake can find it. Otherwise you can edit the recipe to use svn. OE svn

autotools is now on. autotools is very important as it installs the pkgconfig files to the staging directory so that when you install player afterwords, player can find the drivers.

Once again I have customised the cMake variables, right now everything is off so change them to what you want.

For further explanation on the recipe refer to the player recipe

Once you have installed and packaged gearbox, run the player recipe with the relevant drivers turned on.

On your embedded machine install the gearbox package then the player package and your set.

Personal tools