aboutsummaryrefslogtreecommitdiffstats
path: root/docs/04_Developer_Guides/01_Setting_Up_AGL_SDK.md
blob: dd888c76767e8a2607f1cc947565d3cd9a2931dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
title: Setting Up AGL SDK
---


You will have to build the agl-ivi-demo-qt-crosssdk image to retrieve the sdk files !

1. Build the SDK :

Follow the build setup as before but do build 'agl-ivi-demo-qt-crosssdk' as image.

        *Henceforth,* **qemux86-64** *is used in these guides, unless specified
        otherwise. We also use the 'agl-ivi-demo-qt-crosssdk' as example.*

2. Create application development directory and copy SDK into them :

    **Note:** In the copy command below change the file name with name of your downloaded .sh file. In the example below file name is based on x86

    ```sh
    $ mkdir ~/agl-app
    $ cp ~/Downloads/poky-agl-glibc-x86_64-agl-ivi-demo-qt-crosssdk-*.sh ~/agl-app/
    $ cd ~/agl-app
    ```

3. Install the downloaded SDK :

    **Note:** In commands below again change the file name based on your downloaded .sh file


    ```sh
    $ chmod 777 poky-agl-glibc-x86_64-agl-ivi-demo-qt-crosssdk-*.sh
    $ mkdir agl-sdk/
    $ ./poky-agl-glibc-x86_64-agl-ivi-demo-qt-crosssdk-*.sh
    ```
    Select target directory for SDK : `~/agl-app/agl-sdk`

    ```sh
    Automotive Grade Linux SDK installer version 14.0.0
    =============================================================
    Enter target directory for SDK (default: /opt/agl-sdk/10.90.0+snapshot-corei7-64): ~/agl-app/agl-sdk
    You are about to install the SDK to "/home/boron/agl-app/agl-sdk". Proceed [Y/n]? Y
    Extracting SDK..........................................................................................................................................done
    Setting it up...done
    SDK has been successfully set up and is ready to be used.
    Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
    $ . /home/boron/agl-app/agl-sdk/environment-setup-corei7-64-agl-linux
    ```

4. Source the SDK environment setup, each time you wish to use the SDK in a new shell session :

    ```sh
    $ source ~/agl-app/agl-sdk/environment-setup-corei7-64-agl-linux
    ```