Support to build against ubuntu environment.
[platform/core/uifw/dali-adaptor.git] / README
1 T.O.C.
2 ======
3
4  1.   GBS Builds
5  1.1. COMMON Profile
6  1.2. MOBILE Profile
7  1.3. WEARABLE Profile
8  2.   Building for Ubuntu desktop
9  2.1. Minimum Requirements
10  2.2. Building the Repository
11  3.   Troubleshooting
12  3.1. JPEG Library Linking Errors
13
14
15
16 1. GBS Builds
17 =============
18
19 1.1. COMMON Profile
20 -------------------
21
22  gbs build -A [TARGET_ARCH]
23
24 1.2. MOBILE Profile
25 -------------------
26
27  gbs build -A [TARGET_ARCH] --spec dali-adaptor-mobile.spec
28
29 1.3. WEARABLE Profile
30 ---------------------
31
32  gbs build -A [TARGET_ARCH] --spec dali-adaptor-wearable.spec
33
34
35
36 2. Building for Ubuntu desktop
37 ==============================
38
39 2.1. Minimum Requirements
40 ------------------------
41
42  - Ubuntu 14.04
43  - Environment created using dali_env script in dali-core repository
44
45 2.2. Building the Repository
46 ----------------------------
47
48 To build the repository enter the 'build/tizen' folder:
49
50  cd dali-adaptor/build/tizen
51
52 Then run the following commands:
53
54  autoreconf --install
55  ./configure --prefix=$DESKTOP_PREFIX --enable-profile=UBUNTU --enable-gles=20
56  make install -j8
57
58
59
60 3. Troubleshooting
61 ==================
62
63 3.1. JPEG Library Linking Errors
64 --------------------------------
65
66 If you have linking problems with libjpeg, then you may have to create a symbolic link to the library:
67
68  - Navigate to where the library is (for example /usr/lib/x86_64-linux-gnu).
69  - Create a symbolic link:
70     sudo ln -s libjpeg.so.8 libjpeg.so
71     sudo chmod 777 libjpeg.so
72    (Change the version number of your libjpeg library accordingly)
73