AGL provides a pre-built ready-made Software Development Kit (SDK) to help quickstart the service and application development process.
-
Download the prebuilt SDK :
-
x86 : qemux86-64
-
ARM 32 bit : qemuarm
-
AARCH64 - ARM 64bit : qemuarm64
Henceforth, qemux86-64 is used in these guides, unless specified otherwise.
-
-
Create application developmment directory and copy SDK into them :
$ mkdir ~/agl-app $ cp ~/Downloads/poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-corei7-64-qemux86-64-toolchain-10.90.0+snapshot.sh ~/agl-app/ $ cd ~/agl-app
-
Install the downloaded SDK :
Select target directory for SDK :$ chmod 777 poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-corei7-64-qemux86-64-toolchain-10.90.0+snapshot.sh $ mkdir agl-sdk/ $ ./poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-corei7-64-qemux86-64-toolchain-10.90.0+snapshot.sh
~/agl-app/agl-sdk
Automotive Grade Linux SDK installer version 10.90.0+snapshot ============================================================= 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
-
Source the SDK environment setup, each time you wish to use the SDK in a new shell session :
$ source ~/agl-app/agl-sdk/environment-setup-corei7-64-agl-linux