1 <img src="https://dalihub.github.io/images/DaliLogo320x200.png">
5 * [Build Instructions](#build-instructions)
6 * [1. Building for Ubuntu desktop](#1-building-for-ubuntu-desktop)
7 * [Minimum Requirements](#minimum-requirements)
8 * [Building the Repository](#building-the-repository)
9 * [Build target options](#build-target-options)
10 * [Building and executing test cases](#building-and-executing-test-cases)
11 * [2. GBS Builds](#2-gbs-builds)
12 * [DEBUG Builds](#debug-builds)
16 ## 1. Building for Ubuntu desktop
20 - Ubuntu 14.04 or later
21 - Environment created using dali_env script in dali-core repository
24 DALi requires a compiler supporting C++11 features.
25 Ubuntu 16.04 is the first version to offer this by default (GCC v5.4.0).
27 GCC version 6 is recommended since it has fixes for issues in version 5
28 e.g. it avoids spurious 'defined but not used' warnings in header files.
30 ### Building the Repository
32 To build the repository enter the 'build/tizen' folder:
34 $ cd dali-adaptor/build/tizen
36 Then run the following commands:
38 $ autoreconf --install
39 $ ./configure --prefix=$DESKTOP_PREFIX
42 ### Build target options
46 When building, the OpenGL ES version of the target should be specified.
48 Valid version options are 20, 30, 31 for OpenGL ES versions 2.0, 3.0 and 3.1 respectively.
51 Add: *--enable-gles=X*
54 Add to the gbs build line: *--define "%target_gles_version X"*
56 ### Building and executing test cases
58 See the README.md in dali-adaptor/automated-tests.
62 $ gbs build -A [TARGET_ARCH]
66 $ gbs build -A [TARGET_ARCH] --define "%enable_debug 1"