From c96df58a88b60c7501b3c8a758c0277c17088371 Mon Sep 17 00:00:00 2001 From: Corentin Le Gall Date: Thu, 19 Jul 2018 15:57:30 +0200 Subject: Changed doc to GitBook format + added doc -Changed README.md to a complet GitBook doc. -Added explanations about EvtGrpReceived functions. -Corrected mistakes + reduced lines length. Change-Id: I1a077ddf6acb520a9158de658d3c09b12a2029d4 Signed-off-by: Corentin Le Gall --- docs/0_Installation.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 docs/0_Installation.md (limited to 'docs/0_Installation.md') diff --git a/docs/0_Installation.md b/docs/0_Installation.md new file mode 100644 index 0000000..e81c718 --- /dev/null +++ b/docs/0_Installation.md @@ -0,0 +1,37 @@ +# Installation + +## Pre-requisites + +[Setup the pre-requisite](http://docs.automotivelinux.org/docs/devguides/en/dev/reference/host-configuration/docs/1_Prerequisites.html) then [install the Application Framework](http://docs.automotivelinux.org/docs/devguides/en/dev/reference/host-configuration/docs/2_AGL_Application_Framework.html) on your host. + +You will also need to install lua-devel >= 5.3 to be able to build the project. + +Fedora: + +```bash +dnf install lua-devel +``` + +OpenSuse: + +```bash +zypper install lua53-devel +``` + +Ubuntu (>= Xenial), Debian stable: + +```bash +apt-get install liblua5.3-dev +``` + +## Grab source and build + +Download the **afb-test** binding source code using git: + +```shell +git clone --recurse-submodules https://gerrit.automotivelinux.org/gerrit/apps/app-afb-test +cd afb-test +mkdir build +cd build +cmake .. && make +``` \ No newline at end of file -- cgit 1.2.3-korg