Code Monkey home page Code Monkey logo

dali-demo's Introduction

Table of Contents

Build Instructions

1. Building for Ubuntu desktop

Requirements

  • Ubuntu 14.04 or later
  • Environment created using dali_env script in dali-core repository
  • GCC version 6

DALi requires a compiler supporting C++11 features. Ubuntu 16.04 is the first version to offer this by default (GCC v5.4.0).

GCC version 6 is recommended since it has fixes for issues in version 5 e.g. it avoids spurious 'defined but not used' warnings in header files.

Building the Repository

To build the repository enter the 'build/tizen' folder:

     $ cd dali-demo/build/tizen

Then run the following commands:

     $ cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX .
     $ make install -j8

DEBUG Builds

Specify a debug build when building for desktop by passing the following parameter to cmake:

     $ cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX -DCMAKE_BUILD_TYPE=Debug .

Before running make install as normal:

     $ make install -j8

2. GBS Builds

NON-SMACK Targets

     $ gbs build -A [TARGET_ARCH]

SMACK enabled Targets

     $ gbs build -A [TARGET_ARCH] --define "%enable_dali_smack_rules 1"

DEBUG Builds

     $ gbs build -A [TARGET_ARCH] --define "%enable_debug 1"

Creating an example

  • Make a directory in the "examples" directory. Only one example will be created per directory.
  • The executable installed will have a ".example" appended to it, e.g. a "blocks" directory produces "blocks.example".
  • Add all source files for the required example in this directory.
  • Modify "com.samsung.dali-demo.xml" to include your example so that it can be launched on target.
  • No changes are required to the make system as long as the above is followed, your example will be automatically built & installed.

dali-demo's People

Contributors

adeelkazmi avatar davidiansteele avatar pwisbey avatar agnelovaz avatar hrdisaac avatar xiangyinma avatar vcebollada avatar tom-robinson-samsung avatar nick-holland-samsung avatar fsole avatar greynaga3d avatar mumars avatar taeyoon0lee avatar heeyongsong avatar seoyeon2kim avatar dalidevman avatar hyunjushin avatar jeanolee avatar bshsqa avatar junqingma avatar suhyungeom avatar rabbitfor avatar myungjoo avatar sehongna avatar wangyan42164 avatar dongsug-song avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.