Skip to main content
This section explains how to compile QIM SDK plugins for Yocto platform.
This section explains how to compile QIM SDK plugins directly on a x86 and Arm host machine running Ubuntu.

Prerequisites

Before you begin, ensure the following:
  • Internet connectivity for downloading packages and source code.
  • Sufficient space on the host to download the SDK. Upto ~5GB.

Download and install the sdk.

1

Download SDK

2

Extract and Install the SDK

3

Source the cross-compilation toolchain environment

Each time you wish to use the SDK in a new shell session, you need to source the environment setup script in Step 3

Steps to Compile

To download the source code and compile the sample applications, run the following commands.
1

Clone the sources from github

2

Compile base libraries

3

Install base libraries to SDK sysroot path

4

Compile plugins and app builders sample apps with updated base libraries

After modifying any part of the source code, re-run step 4 to rebuild your changes. The corresponding libs from build directory can then be copied on to device.

Steps to build custom application

Go through the prerequisites and Steps to Compile section before starting this.
1

Create a subdirectory in gst-sample-apps

2

Build the application

3

Copy the binary to target device